cloudera / hue

Open source SQL Query Assistant service for Databases/Warehouses
https://cloudera.com
Apache License 2.0
1.13k stars 363 forks source link

Avoid initializing free disk space in redis for all hue shell commands #3747

Closed athithyaaselvam closed 1 month ago

athithyaaselvam commented 1 month ago

Avoid initializing free disk space in redis for all hue shell commands. The initialize_free_disk_space_in_redis() method was invoked for all hue shell commands and breaks the hue's service-discovery pod since there is no redis-server running in this pod. Moving it to rungunicornserver.py -> start_server() method, since initialize_free_disk_space_in_redis has to be invoked when hue server starts up.

How was this patch tested?

Please review Hue Contributing Guide before opening a pull request.