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.

cdh5.14.4 hbase thrift sever Shutdown hook complete

cdh5.14.4 hbase thrift sever Shutdown hook complete

New Contributor

i use cdh5.14.4,    i can't use nodejs connect thrift , the thrift sever log below:

 

2019-03-23 22:02:35,874 INFO org.apache.hadoop.hbase.http.HttpRequestLog: Http request log for http.requests.thrift is not defined
2019-03-23 22:02:35,886 INFO org.apache.hadoop.hbase.http.HttpServer: Added global filter 'safety' (class=org.apache.hadoop.hbase.http.HttpServer$QuotingInputFilter)
2019-03-23 22:02:35,886 INFO org.apache.hadoop.hbase.http.HttpServer: Added global filter 'clickjackingprevention' (class=org.apache.hadoop.hbase.http.ClickjackingPreventionFilter)
2019-03-23 22:02:35,890 INFO org.apache.hadoop.hbase.http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context thrift
2019-03-23 22:02:35,890 INFO org.apache.hadoop.hbase.http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context static
2019-03-23 22:02:35,890 INFO org.apache.hadoop.hbase.http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.hbase.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs
2019-03-23 22:02:35,907 INFO org.apache.hadoop.hbase.http.HttpServer: Jetty bound to port 9095
2019-03-23 22:02:35,908 INFO org.mortbay.log: jetty-6.1.26.cloudera.4
2019-03-23 22:02:36,323 INFO org.mortbay.log: Started SelectChannelConnector@0.0.0.0:9095
2019-03-23 22:02:36,361 INFO org.apache.hadoop.hbase.thrift.ThriftServerRunner: Starting Thrift HTTP Server on 9090
2019-03-23 22:02:36,361 INFO org.mortbay.log: jetty-6.1.26.cloudera.4
2019-03-23 22:02:36,362 INFO org.mortbay.log: Started SelectChannelConnector@0.0.0.0:9090
2019-03-23 22:39:48,480 INFO org.mortbay.log: Shutdown hook executing
2019-03-23 22:39:48,481 INFO org.mortbay.log: Stopped SelectChannelConnector@0.0.0.0:9090
2019-03-23 22:39:48,582 INFO org.mortbay.log: Shutdown hook complete

 

 

help me ,thanks。

 

use nodejs ,Connected, closing events occur whenever data is retrieved

 

1 REPLY 1
Highlighted

Re: cdh5.14.4 hbase thrift sever Shutdown hook complete

New Contributor

the error is:

 

/login
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.readI32(TBinaryProtocol.java:318)
	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:219)
	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 org.apache.thrift.server.TServlet.doGet(TServlet.java:96)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
	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:767)
	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.headerComplete(HttpConnection.java:928)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	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)