Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AECABD6FE for ; Fri, 7 Sep 2012 07:48:52 +0000 (UTC) Received: (qmail 77332 invoked by uid 500); 7 Sep 2012 07:48:51 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 76541 invoked by uid 500); 7 Sep 2012 07:48:43 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 76478 invoked by uid 99); 7 Sep 2012 07:48:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 07:48:40 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [77.238.189.221] (HELO nm20-vm0.bullet.mail.ird.yahoo.com) (77.238.189.221) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 07 Sep 2012 07:48:30 +0000 Received: from [77.238.189.55] by nm20.bullet.mail.ird.yahoo.com with NNFMP; 07 Sep 2012 07:48:09 -0000 Received: from [212.82.108.126] by tm8.bullet.mail.ird.yahoo.com with NNFMP; 07 Sep 2012 07:48:09 -0000 Received: from [127.0.0.1] by omp1035.mail.ird.yahoo.com with NNFMP; 07 Sep 2012 07:48:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 691872.62622.bm@omp1035.mail.ird.yahoo.com Received: (qmail 68512 invoked by uid 60001); 7 Sep 2012 07:48:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1347004089; bh=NDIuRsR30p2LVXh8Z5qFKlH9x+1VagWTvYvqZkaPMfk=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=thE90yO8Me8FW+Ir21HcK2tLZ3R/wpdWKGiNYn+VYCeMHgngvBlhgO3ZtS5aIjWIuR07yBsvj07yS7xOiSHFxqtA98N8tmc5bIQtu1ubC0IzAkUrFsmsiEmDs89avioS37mBktjKhMNApFcsokhgyJUZwWTTAQsoMQhMFYMa070= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.de; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=soLbt4Ko3gvqWn6lzP8ggz1wivGAR4da1ilC2GpJ9mbMIiMnC49Xmx0Apnvn/Rjmy66hSoNJDYFMkVjaaxqWwQeCodSlzpUUBBJAb+7WEgUT9TkxugLddk1VWEzZawM8COf1YKiIGxsd2OIgysldeolQCNcFl7YV15r4yRprdr0=; X-YMail-OSG: l_241EUVM1my32rTv7zn5OqigqipDzOZ.mMvKH.8MiVsxRy zHTFVEjNcJ3cYojzF05lwu4rtGWfPl0gt989ZimbSNF_Wu.KAOXA0IwU8xZU RBz7qbAdg.lC08HlfngZdTjNyGmjZ3AC6qQR0y_L5TQVfkjg3txLsh8TwuwD c5j_HczzuQFms9dnyyaoDKX_UKfdDelaVQw4g6Rr_uAniHh9bmlMOVfPE0_y AJT1ySuI6G_dBK2OCXyNLQCDzOJIXT6CmCQ6LqQaDCQCwVZ2LE69Zu1na3Gl zfUN9uTG._OpF_uk3SdlN2iKPl7LOxbEHHjNSmJUi_rPTdekoyh6kLAGhSFx GYstb7EkxVgynfBYy3jUnFa3xbQzeerBfhdV5LvKnu7sp_pRCu.ityiAs.pk sWgYK8TzdCJDrRMP9tosBee_4JbTCfKlzIh7ko44ABJ8d0pDk_.RiTtdyvGW ks0MaSjTmJPPnwqM72MNuWakwE0lEx7eRu8EboGs9J_Nx1MZ5jyLIHJjcAXw XsKuODYNvxd6UBWVTaq3NrGFOdOp.oZhobMf_z6Y- Received: from [80.187.96.39] by web171502.mail.ir2.yahoo.com via HTTP; Fri, 07 Sep 2012 08:48:09 BST X-Mailer: YahooMailWebService/0.8.121.416 Message-ID: <1347004089.64492.BPMail_high_carrier@web171502.mail.ir2.yahoo.com> Date: Fri, 7 Sep 2012 08:48:09 +0100 (BST) From: =?iso-8859-1?Q?Christian_Sch=E4fer?= Subject: AW: Unable to init HBaseAdmin To: user@hbase.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =0Ahi, if i remember correctly I had the same problem some while ago. in my case, port 60000 had to be unlocked in the firewall to be able to cre= ate tables etc. via java client ------------------------------ Ashish Nigam schrieb am Do., 6. Sep 2012 01:57 MESZ: >Hi, >I have three node HBase cluster that works with HBase CLI. I am able to >login, create, drop tables using HBase CLI. >Hadoop's version is hadoop-0.20.2-cdh3u4 and HBase is hbase-0.90.6-cdh3u4 >But when I try to connect via Java client, I am not able to instantiate >HBaseAdmin. Any idea why this would happen? > >Here's exception I see in HBase Master logs - > >WARN org.apache.hadoop.ipc.HBaseServer: IPC Server listener on 60000: >readAndProcess threw exception java.io.EOFException. Count of bytes read: = 0 >java.io.EOFException > at java.io.DataInputStream.readFully(DataInputStream.java:197) > at >org.apache.hadoop.io.DataOutputBuffer$Buffer.write(DataOutputBuffer.java:6= 3) > at >org.apache.hadoop.io.DataOutputBuffer.write(DataOutputBuffer.java:101) > at org.apache.hadoop.io.UTF8.readChars(UTF8.java:216) > at org.apache.hadoop.io.UTF8.readString(UTF8.java:208) > at >org.apache.hadoop.io.ObjectWritable.readObject(ObjectWritable.java:179) > at >org.apache.hadoop.io.ObjectWritable.readObject(ObjectWritable.java:171) > at >org.apache.hadoop.hbase.ipc.HBaseServer$Connection.processHeader(HBaseServ= er.java:966) > at >org.apache.hadoop.hbase.ipc.HBaseServer$Connection.readAndProcess(HBaseSer= ver.java:950) > at >org.apache.hadoop.hbase.ipc.HBaseServer$Listener.doRead(HBaseServer.java:5= 22) > at >org.apache.hadoop.hbase.ipc.HBaseServer$Listener$Reader.run(HBaseServer.ja= va:316) > at >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:= 1110) > at >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java= :603) > at java.lang.Thread.run(Thread.java:679) > > >And here's snippet of exception stack from Java client > >12/09/05 16:28:09 INFO zookeeper.ClientCnxn: Socket connection established >to shn-us-corp-us-centos4/10.1.10.63:2181, initiating session >12/09/05 16:28:09 WARN zookeeper.ClientCnxnSocket: Connected to an old >server; r-o mode will be unavailable >12/09/05 16:28:09 INFO zookeeper.ClientCnxn: Session establishment complet= e >on server shn-us-corp-us-centos4/10.1.10.63:2181, sessionid =3D >0x3998930fc6000a, negotiated timeout =3D 180000 >12/09/05 16:28:09 INFO client.HConnectionManager$HConnectionImplementation= : >getMaster attempt 0 of 10 failed; retrying after sleep of 1008 >java.io.IOException: Call to shn-us-corp-v-centos1/10.1.10.60:60000 failed >on local exception: java.io.EOFException > at >org.apache.hadoop.hbase.ipc.HBaseClient.wrapException(HBaseClient.java:954= ) > at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:923) > at >org.apache.hadoop.hbase.ipc.WritableRpcEngine$Invoker.invoke(WritableRpcEn= gine.java:150) > at $Proxy10.getProtocolVersion(Unknown Source) > at >org.apache.hadoop.hbase.ipc.WritableRpcEngine.getProxy(WritableRpcEngine.j= ava:183) > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:335) > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:312) > at org.apache.hadoop.hbase.ipc.HBaseRPC.getProxy(HBaseRPC.java:364) > at >org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementatio= n.getMaster(HConnectionManager.java:665) > at org.apache.hadoop.hbase.client.HBaseAdmin.(HBaseAdmin.java:10= 9) > at >com.shn.datastorage.dal.hbase.client.HBaseEventClient.createTable(HBaseEve= ntClient.java:38) > at >com.shn.datastorage.dal.hbase.HBaseEventClientTest.testCreateTable(HBaseEv= entClientTest.java:57) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:= 39) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm= pl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at >org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMetho= d.java:44) > at >org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable= .java:15) > at >org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.= java:41) > at >org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.j= ava:20) > at >org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:= 28) > at >org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31= ) > at >org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.j= ava:76) > at >org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.j= ava:50) > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) > at >org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:= 28) > at >org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31= ) > at org.junit.runners.ParentRunner.run(ParentRunner.java:236) > at >org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestR= eference.java:50) > at >org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java= :38) > at >org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTest= Runner.java:467) > at >org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTest= Runner.java:683) > at >org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunne= r.java:390) > at >org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunn= er.java:197) >Caused by: java.io.EOFException > at java.io.DataInputStream.readInt(DataInputStream.java:375) > at >org.apache.hadoop.hbase.ipc.HBaseClient$Connection.receiveResponse(HBaseCl= ient.java:571) > at >org.apache.hadoop.hbase.ipc.HBaseClient$Connection.run(HBaseClient.java:50= 5) > > > > >Thanks >Ashish