Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Unable to connect from windows desktop to HBase


Copy link to this message
-
Re: Unable to connect from windows desktop to HBase
Azuryy Yu 2013-04-15, 09:51
you should put hbase-site.xml under your class path in your java client.

then, don't need to specify zookeeper quorum in your code.
On Mon, Apr 15, 2013 at 5:35 PM, Omkar Joshi <[EMAIL PROTECTED]>wrote:

> Attaching the dumps from the HBase UI :
>
> Debug dump :
>
> 55 active threads
> Thread 10536 (IPC Client (47) connection to cldx-1139-1033/
> 172.25.6.69:9000 from hduser):
>   State: TIMED_WAITING
>   Blocked count: 1
>   Waited count: 2
>   Stack:
>     java.lang.Object.wait(Native Method)
>     org.apache.hadoop.ipc.Client$Connection.waitForWork(Client.java:706)
>     org.apache.hadoop.ipc.Client$Connection.run(Client.java:748)
> Thread 10535 (IPC Client (47) connection to cldx-1139-1033/
> 172.25.6.69:60000 from hduser):
>   State: TIMED_WAITING
>   Blocked count: 3
>   Waited count: 4
>   Stack:
>     java.lang.Object.wait(Native Method)
>
> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.waitForWork(HBaseClient.java:534)
>
> org.apache.hadoop.hbase.ipc.HBaseClient$Connection.run(HBaseClient.java:579)
> Thread 10121 (1840929932@qtp-1863048490-7):
>   State: RUNNABLE
>   Blocked count: 77
>   Waited count: 415
>   Stack:
>     sun.management.ThreadImpl.getThreadInfo1(Native Method)
>     sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:174)
>     sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:139)
>
> org.apache.hadoop.util.ReflectionUtils.printThreadInfo(ReflectionUtils.java:149)
>
> org.apache.hadoop.util.ReflectionUtils.logThreadInfo(ReflectionUtils.java:203)
>
> org.apache.hadoop.http.HttpServer$StackServlet.doGet(HttpServer.java:721)
>     javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
>     javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>     org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
>
> org.apache.hadoop.http.HttpServer$QuotingInputFilter.doFilter(HttpServer.java:835)
>
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
>
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
>
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
>
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
>
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
>     org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
>
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
>
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
>     org.mortbay.jetty.Server.handle(Server.java:326)
> Thread 1689 (MASTER_OPEN_REGION-cldx-1139-1033,60000,1365517046931-3):
>   State: WAITING
>   Blocked count: 2
>   Waited count: 4
>   Waiting on
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@35d87abc
>   Stack:
>     sun.misc.Unsafe.park(Native Method)
>     java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
>
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)
>
> java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
>
> java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1043)
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1103)
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>     java.lang.Thread.run(Thread.java:722)
> Thread 260 (MASTER_OPEN_REGION-cldx-1139-1033,60000,1365517046931-2):
>   State: WAITING
>   Blocked count: 2
>   Waited count: 4
>   Waiting on
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@35d87abc
>   Stack:
>     sun.misc.Unsafe.park(Native Method)
>     java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)
>
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2043)