hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koert Kuipers <ko...@tresata.com>
Subject is a hbase client HA?
Date Tue, 25 Feb 2014 23:32:04 GMT
we had a master go down on a hbase 0.96 cluster with HA. the second master
took over and the hbase cluster continued to function. great! however
hbase-rest got stuck in a loop spitting out error messages. see below.
is something like hbase-rest, which uses the hbase client api, supposed to
survive a master failure?
thanks! koert

2014-02-25 01:12:41,373 INFO org.apache.zookeeper.
ClientCnxn: Unable to read additional data from server sessionid
0x440dd5dbbe0028, likely server has closed socket, closing s\
ocket connection and attempting reconnect
2014-02-25 01:12:41,931 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server master01/10.111.111..41:2181. Will not attempt
to authenticat\
e using SASL (java.lang.SecurityException: Unable to locate a login
configuration)
2014-02-25 01:12:55,278 INFO org.apache.zookeeper.ClientCnxn: Client
session timed out, have not heard from server in 13804ms for sessionid
0x440dd5dbbe0028, closing socket co\
nnection and attempting reconnect
2014-02-25 01:12:55,776 INFO org.apache.zookeeper.ClientCnxn: Opening
socket connection to server master02/10.111.111..42:2181. Will not attempt
to authenticat\
e using SASL (java.lang.SecurityException: Unable to locate a login
configuration)
2014-02-25 01:12:55,776 INFO org.apache.zookeeper.ClientCnxn: Socket
connection established to master02/10.111.111..42:2181, initiating session
2014-02-25 01:12:55,778 INFO org.apache.zookeeper.ClientCnxn: Session
establishment complete on server master02/10.111.111..42:2181, sessionid =
0x440dd5dbbe00\
28, negotiated timeout = 40000
2014-02-25 01:17:54,246 ERROR org.mortbay.log: /
java.lang.reflect.UndeclaredThrowableException
    at com.sun.proxy.$Proxy7.getHTableDescriptors(Unknown Source)
        at
org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.listTables(HConnectionManager.java:1858)
        at
org.apache.hadoop.hbase.client.HBaseAdmin.listTables(HBaseAdmin.java:278)
        at
org.apache.hadoop.hbase.rest.RootResource.getTableList(RootResource.java:63)
        at
org.apache.hadoop.hbase.rest.RootResource.get(RootResource.java:79)
    at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
        at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205\
)
        at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
        at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
        at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
        at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
        at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
        at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
        at
org.apache.hadoop.hbase.rest.filter.GzipFilter.doFilter(GzipFilter.java:73)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
        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.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)
Caused by: java.net.NoRouteToHostException: No route to host
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:599)
        at
org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:207)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:528)
        at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:492)
        at
org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupConnection(HBaseClient.java:390)
        at
org.apache.hadoop.hbase.ipc.HBaseClient$Connection.setupIOstreams(HBaseClient.java:436)
        at
org.apache.hadoop.hbase.ipc.HBaseClient.getConnection(HBaseClient.java:1133)
        at
org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:980)
        at
org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEngine.java:86)
        ... 39 more

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message