HUE-8508 [core] Add command to cleanup old data in tables

Review Request #13277 - Created Aug. 17, 2018 and submitted

Chris Conner
hue
master
HUE-8508
hue
enricoberti, jgauthier, johan, ranade, romain, roohi, weixia, yingc
commit 0b4187c5d869f7b13250e867ae66a2baa416c260
Author: Chris Conner <cconner@cloudera.com>
Date:   Fri Aug 17 15:44:13 2018 -0400

    HUE-8508 [core] Add command to cleanup old data in tables

:000000 100644 0000000000... 0f3769d467... A	desktop/core/src/desktop/management/commands/desktop_document_cleanup.py

Tested it on a few large customer databases. Customers have been using forms of this command for years, just decided it was easier if it was a Hue command. Also would like to find a way to add this to Actions drop down in CM for Hue.

  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
  1. Nice!
    
    #1 https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/management/commands/clean_history_docs.py#L1 is not needed anymore?
    
    #2 For CM button, could see with Prakash who added one like the check LDAP command
  2. Add licence?

    https://github.com/cloudera/hue/blob/master/desktop/core/src/desktop/management/commands/clean_history_docs.py#L1

  3. 
      
Review request changed

Status: Closed (submitted)

Loading...