Reply
New Contributor
Posts: 1
Registered: ‎07-25-2018

Cannot Access Hbase Browser on Hue - AWS EMR

Hello Experts, I am trying to access HBase Browser on Hue running on EMR 5.16.0, but encounter below error when I click on it.

 

Error : Api Error: 500 Server Error: Internal Server Error for url: http://ip:9090/

 

Hue Version - 4.2.0

Hbase Version - 1.4.4

 

 

Has anyone encountered this issue?   I really appreciate any  suggestions

 

Error from Hue logs:

 

[25/Jul/2018 22:11:38 -0700] Hbase        ERROR    Could not set doAs parameter: TFramedTransport instance has no attribute '_TBufferedTransport__trans'
[25/Jul/2018 22:11:38 -0700] thrift_util  ERROR    Thrift saw exception (this may be expected).
Traceback (most recent call last):
  File "/usr/lib/hue/desktop/core/src/desktop/lib/thrift_util.py", line 441, in wrapper
    ret = res(*args, **kwargs)
  File "/usr/lib/hue/apps/hbase/gen-py/hbased/Hbase.py", line 53, in decorate
    return func(*args, **kwargs)
  File "/usr/lib/hue/apps/hbase/gen-py/hbased/Hbase.py", line 832, in getTableNames
    self.send_getTableNames()
  File "/usr/lib/hue/apps/hbase/gen-py/hbased/Hbase.py", line 840, in send_getTableNames
    self._oprot.trans.flush()
  File "/usr/lib/hue/build/env/lib/python2.7/site-packages/thrift-0.9.1-py2.7-linux-x86_64.egg/thrift/transport/TTransport.py", line 293, in flush
    self.__trans.flush()
  File "/usr/lib/hue/desktop/core/src/desktop/lib/thrift_/http_client.py", line 84, in flush
    self._data = self._root.post('', data=data, headers=self._headers)
  File "/usr/lib/hue/desktop/core/src/desktop/lib/rest/resource.py", line 153, in post
    allow_redirects=allow_redirects, clear_cookies=clear_cookies, log_response=log_response)
  File "/usr/lib/hue/desktop/core/src/desktop/lib/rest/resource.py", line 78, in invoke
    log_response=log_response)
  File "/usr/lib/hue/desktop/core/src/desktop/lib/rest/resource.py", line 97, in _invoke
    clear_cookies=clear_cookies)
  File "/usr/lib/hue/desktop/core/src/desktop/lib/rest/http_client.py", line 211, in execute
    raise self._exc_class(ex)
RestException: 500 Server Error: Internal Server Error for url: http://ip:9090/
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 500 INTERNAL_SERVER_ERROR</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /. Reason:
<pre>    INTERNAL_SERVER_ERROR</pre></p><h3>Caused by:</h3><pre>org.apache.thrift.transport.TTransportException
	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:132)
	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
	at org.apache.thrift.protocol.TBinaryProtocol.readAll(TBinaryProtocol.java:429)
	at org.apache.thrift.protocol.TBinaryProtocol.readByte(TBinaryProtocol.java:285)
	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:230)
	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27)
	at org.apache.thrift.server.TServlet.doPost(TServlet.java:83)
	at org.apache.hadoop.hbase.thrift.ThriftHttpServlet.doPost(ThriftHttpServlet.java:122)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

 

Explorer
Posts: 7
Registered: ‎07-05-2018

Re: Cannot Access Hbase Browser on Hue - AWS EMR

Having the same issue under CDH 5.15.0.

Announcements