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

Hue Server couldn't start

Hue Server couldn't start

New Contributor

Hi 

 

I am unable to start Hue Server. Below is the log error

 img.jpg

 

 

 

 

 

 

scm-agent/process/510-hue-HUE_SERVER/yarn-conf/topology.map /run/cloudera-scm-agent/process/510-hue-HUE_SERVER/yarn-conf/topology.py /run/cloudera-scm-agent/process/510-hue-HUE_SERVER/yarn-conf/yarn-site.xml
+ replace_conf_dir
+ echo CONF_DIR=/run/cloudera-scm-agent/process/510-hue-HUE_SERVER
+ echo CMF_CONF_DIR=/etc/cloudera-scm-agent
+ EXCLUDE_CMF_FILES=('cloudera-config.sh' 'httpfs.sh' 'hue.sh' 'impala.sh' 'sqoop.sh' 'supervisor.conf' '*.log' '*.keytab' '*jceks')
++ printf '! -name %s ' cloudera-config.sh httpfs.sh hue.sh impala.sh sqoop.sh supervisor.conf '*.log' hue.keytab creds.localjceks
+ find /run/cloudera-scm-agent/process/510-hue-HUE_SERVER -type f '!' -path '/run/cloudera-scm-agent/process/510-hue-HUE_SERVER/logs/*' '!' -name cloudera-config.sh '!' -name httpfs.sh '!' -name hue.sh '!' -name impala.sh '!' -name sqoop.sh '!' -name supervisor.conf '!' -name '*.log' '!' -name hue.keytab '!' -name creds.localjceks -exec perl -pi -e 's#{{CMF_CONF_DIR}}#/run/cloudera-scm-agent/process/510-hue-HUE_SERVER#g' '{}' ';'
Can't open /run/cloudera-scm-agent/process/510-hue-HUE_SERVER/config.zip: Permission denied.
Can't open /run/cloudera-scm-agent/process/510-hue-HUE_SERVER/proc.json: Permission denied.
+ replace_conf_dir_env_vars KRB5_KTNAME
/usr/lib64/cmf/service/hue/hue.sh: line 123: replace_conf_dir_env_vars: command not found
+ make_scripts_executable
+ find /run/cloudera-scm-agent/process/510-hue-HUE_SERVER -regex '.*\.\(py\|sh\)$' -exec chmod u+x '{}' ';'
+ '[' runcpserver == beeswax_server ']'
+ set_classpath_in_var HADOOP_EXTRA_CLASSPATH_STRING
+ '[' -z HADOOP_EXTRA_CLASSPATH_STRING ']'

 

Thanks,

SK

3 REPLIES 3

Re: Hue Server couldn't start

New Contributor

I got the same problem and still don't konw  how to fix it

Re: Hue Server couldn't start

Super Guru

Hi @mkquant,

 

Please explain exactly what happens in your case.  Please include steps you are taking and what you observe.

One we know what is happening from a high level we can assess where to go from there.

Re: Hue Server couldn't start

Super Guru

Hello @itadmins007,

 

Based on your screen shot, Hue Server started but is in bad health.  Please check the Hue Server role in Cloudera Manager to see why CM sees it is in bad health.

 

You mentioned errors, but I don't see any that should be concerning.

The following are slated for fixing in upcoming releases but they shouldn't cause a failure to start I think:

 

Can't open /run/cloudera-scm-agent/process/510-hue-HUE_SERVER/config.zip: Permission denied.
Can't open /run/cloudera-scm-agent/process/510-hue-HUE_SERVER/proc.json: Permission denied.
+ replace_conf_dir_env_vars KRB5_KTNAME
/usr/lib64/cmf/service/hue/hue.sh: line 123: replace_conf_dir_env_vars: command not found

 

 

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