Welcome to the Cloudera Community

Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Who agreed with this topic

Hue Failing

avatar
New Contributor

Hello All,

 

I would request your help on this issue that I am facing. I did see some posts regarding this but none seems to work.

 

Issue

As we login to Hue, it check configuration and failing with following errors & messages on the screen:

 

  1. Potential misconfiguration detected. Fix and restart Hue.
  2. Hive Editor: The application won't work without a running HiveServer2.
  3. Impala Editor: No available Impalad to send queries to.

 

Following are some extracts from hue logs:

kerberos_ ERROR handle_mutual_auth(): Mutual authentication unavailable on 404 response

 

views ERROR Error in config validation by liboozie:....><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.UnsupportedOperationException

org.apache.oozie.util.MetricsInstrumentation.getVariables(MetricsInstrumentation.java:333)
org.apache.oozie.servlet.BaseAdminServlet.instrToJson(BaseAdminServlet.java:339)
org.apache.oozie.servlet.BaseAdminServlet.sendInstrumentationResponse(BaseAdminServlet.java:396)
org.apache.oozie.servlet.BaseAdminServlet.doGet(BaseAdminServlet.java:127)
javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
org.apache.oozie.servlet.JsonRestServlet.service(JsonRestServlet.java:289)
javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
org.apache.oozie.servlet.AuthFilter$2.doFilter(AuthFilter.java:171)
org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:589)
org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:552)
org.apache.oozie.servlet.AuthFilter.doFilter(AuthFilter.java:176)
org.apache.oozie.servlet.HostnameFilter.doFilter(HostnameFilter.java:86)

 

ERROR The application won't work without a running HiveServer2.

Traceback (most recent call last):
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/conf.py", line 185, in config_validator
server.get_databases()
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/dbms.py", line 151, in get_databases
handle = self.execute_and_wait(query, timeout_sec=timeout)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/dbms.py", line 548, in execute_and_wait
handle = self.client.query(query)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 923, in query
return self._client.execute_async_query(query, statement)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 703, in execute_async_query
return self.execute_async_statement(statement=query_statement, confOverlay=configuration)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 721, in execute_async_statement
res = self.call(self._client.ExecuteStatement, req)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 573, in call
session = self.open_session(self.user)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 545, in open_session
res = self._client.OpenSession(req)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/desktop/core/src/desktop/lib/thrift_util.py", line 378, in wrapper
raise StructuredThriftTransportException(e, error_code=502)
StructuredThriftTransportException: Bad status: 3 (Unsupported mechanism type GSSAPI) (code THRIFTTRANSPORT): TTransportException('Bad status: 3 (Unsupported mechanism type GSSAPI)',)

 

ERROR No available Impalad to send queries to.

Traceback (most recent call last):
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/impala/src/impala/conf.py", line 169, in config_validator
server.get_databases()
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/dbms.py", line 151, in get_databases
handle = self.execute_and_wait(query, timeout_sec=timeout)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/dbms.py", line 548, in execute_and_wait
handle = self.client.query(query)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 923, in query
return self._client.execute_async_query(query, statement)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 703, in execute_async_query
return self.execute_async_statement(statement=query_statement, confOverlay=configuration)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 721, in execute_async_statement
res = self.call(self._client.ExecuteStatement, req)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/apps/beeswax/src/beeswax/server/hive_server2_lib.py", line 578, in call
res = fn(req)
File "/opt/cloudera/parcels/CDH-5.5.1-1.cdh5.5.1.p0.11/lib/hue/desktop/core/src/desktop/lib/thrift_util.py", line 378, in wrapper
raise StructuredThriftTransportException(e, error_code=502)
StructuredThriftTransportException: TSocket read 0 bytes (code THRIFTTRANSPORT): TTransportException('TSocket read 0 bytes',)

 

Please let me know if there will be requirement of any further information. Thank you for your help in-advance.

Who agreed with this topic