Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Hue service check in command line


Hue service check in command line

Rising Star

I am looking for command line tools that able to run service checks on hue to ensure all the access to hive. Hdfs, impala etc is working fine. I saw some tool available under hue's parcel directory. Will that be useful for that?. Thanks. Sathish

Sathish (Satz)

Re: Hue service check in command line

Expert Contributor

CUrrently there is not a way to do a CLI check of the services that Hue accesses.  The closest option would be to do something like:




curl -i -c /tmp/${USER}_cookie.txt -d "username=${USER}&password=${PASSWORD}" "http://<hue_server>:<hue_port>/accounts/login/"

curl -i -b /tmp/${USER}_cookie.txt "http://<hue_server>:<hue_port>/about/


Do the above as super user and you get the config page results.

Re: Hue service check in command line

Also checking the page:


is a quick way to check if Hue itself is good

Don't have an account?
Coming from Hortonworks? Activate your account here