Quick Task: Document Count Check

Published on 26 March 2019 in Version 4 - 1 minute read - Last modified on 06 March 2021

When Hue database has too many entries in certain tables, it will cause performance issue. Now Hue config check will help superuser to find this issue. Login as superuser and go to “Hue Administration”, this sample screenshot will be displayed in the quick start wizard when the tables have too many entries.


Warning: Hue database Document2 has too many entries which may cause performance issue, please run command line tool to clean up.

Clean up Hue database:

  • Stop the Hue service in Cloudera Manager: go to Cluster > Hue and select Actions > Stop.
  • Log on to the host of your Hue server.
  • Go to Hue directory and run following clean up command
  • cd /opt/cloudera/parcels/CDH/lib/hue # Hue home directory
    
    ./build/env/bin/hue desktop_document_cleanup
    
    

    Note: if using Cloudera Manager you probably need the instructions detailed in the Hue Shell post.


    comments powered by Disqus

    More recent stories

    03 May 2023
    Discover the power of Apache Ozone using the Hue File Browser
    Read More
    23 January 2023
    Hue 4.11 and its new dialects and features are out!
    Read More