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.

Not start Hue service

Not start Hue service

New Contributor

Hi guys,
I have a cluster composed by four instance with Centos 6.4 S.O..
On instances there is CDH 4.6.0 and when I run all service by Cloudera Manager I have "Bad Health" into Hue service.
In Hue service there is Hue Server and Beeswax Server, both in "down" status.

The error in log file Hue server is:

webhdfs      ERROR    Failed to determine superuser of WebHdfs at http://localhost:50070/webhdfs/v1:
Traceback (most recent call last):
  File "/usr/share/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 108, in superuser
    sb = self.stats('/')
  File "/usr/share/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 188, in stats
    res = self._stats(path)
  File "/usr/share/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 182, in _stats
    raise ex
WebHdfsException:
[07/Feb/2014 01:40:12 +0000] access       INFO     91.218.224.5 hue - "GET /debug/check_config HTTP/1.0"
[07/Feb/2014 01:40:12 +0000] webhdfs      ERROR    Failed to determine superuser of WebHdfs at http://localhost:50070/webhdfs/v1:
Traceback (most recent call last):
  File "/usr/share/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 108, in superuser
    sb = self.stats('/')
  File "/usr/share/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 188, in stats
    res = self._stats(path)
  File "/usr/share/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 182, in _stats
    raise ex
WebHdfsException:     


And Beeswax server log file return this error:

Exception in thread "main" org.apache.thrift.transport.TTransportException: Could not create ServerSocket on address 0.0.0.0/0.0.0.0:8002.
    at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:93)
    at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:75)
    at org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:68)
    at com.cloudera.beeswax.Server.serveBeeswax(Server.java:250)
    at com.cloudera.beeswax.Server.main(Server.java:214)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:208
    
How can I return in "Good Health" status?     

Thank you in advance.

Claudio.   

2 REPLIES 2

Re: Not start Hue service

New Contributor

I resolved the issue.    
The problem was to enable communication between the Hue Server and CDH components.
For this I had to change some files in hadoop.
I followed this guide.
http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.2.0/CDH4-Installation-Guide/cd...
Bye.

Re: Not start Hue service

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