hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stack <st...@duboce.net>
Subject Re: Region server throwing NPE.
Date Tue, 24 Nov 2009 17:40:56 GMT
If you let it run, it eventually resolves itself?
St.Ack

On Tue, Nov 24, 2009 at 9:38 AM, prasenjit mukherjee <
pmukherjee@quattrowireless.com> wrote:

> Thanks that was one of the problems. Now I am getting this :
>
> 09/11/24 23:02:50 INFO zookeeper.ZooKeeper: Initiating client
> connection, connectString=localhost:2181 sessionTimeout=60000
>
> watcher=org.apache.hadoop.hbase.client.HConnectionManager$ClientZKWatcher@1238bd2
> 09/11/24 23:02:50 INFO zookeeper.ClientCnxn:
> zookeeper.disableAutoWatchReset is false
> 09/11/24 23:02:50 INFO zookeeper.ClientCnxn: Attempting connection to
> server localhost/0:0:0:0:0:0:0:1:2181
> 09/11/24 23:02:50 INFO zookeeper.ClientCnxn: Priming connection to
> java.nio.channels.SocketChannel[connected local=/0:0:0:0:0:0:0:1:49754
> remote=localhost/0:0:0:0:0:0:0:1:2181]
> 09/11/24 23:02:50 INFO zookeeper.ClientCnxn: Server connection successful
> 09/11/24 23:02:50 INFO client.HConnectionManager$TableServers:
> getMaster attempt 0 of 10 failed; retrying after sleep of 2000
> java.io.IOException:
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode
> = NoNode for /hbase/master
>        at
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:331)
>        at
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddressOrThrow(ZooKeeperWrapper.java:240)
>        at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster(HConnectionManager.java:318)
>        at
> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72)
>        at
> org.apache.hama.matrix.AbstractMatrix.setConfiguration(AbstractMatrix.java:91)
>        at org.apache.hama.matrix.SparseMatrix.<init>(SparseMatrix.java:62)
>         at
> org.apache.hama.matrix.SparseMatrix.random_mapred(SparseMatrix.java:122)
>        at org.apache.hama.examples.RandomMatrix.main(RandomMatrix.java:49)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at
> org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
>        at
> org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
>        at
> org.apache.hama.examples.ExampleDriver.main(ExampleDriver.java:34)
> Caused by: org.apache.zookeeper.KeeperException$NoNodeException:
> KeeperErrorCode = NoNode for /hbase/master
>        at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:102)
>        at
> org.apache.zookeeper.KeeperException.create(KeeperException.java:42)
>        at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:892)
>        at
> org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(ZooKeeperWrapper.java:327)
>        ... 14 more
>
>
> On Tue, Nov 24, 2009 at 10:55 PM, stack <stack@duboce.net> wrote:
> > It just seems like a different version of hbase is somewhere on server
> > CLASSPATH.  Can you check?
> > Thanks,
> > St.Ack
> >
> > On Tue, Nov 24, 2009 at 9:23 AM, prasenjit mukherjee <
> > pmukherjee@quattrowireless.com> wrote:
> >
> >> Possibly yes. I did run 2 versions of hbase on these machines. So how
> >> do I clean everything up ? I already cleaned hadoop's temp directory.
> >> What should I do for cleaning hbase ?
> >>
> >> On Tue, Nov 24, 2009 at 9:39 PM, stack <stack@duboce.net> wrote:
> >> > For sure you have same version of hbase everywhere?  Did you ever run
> >> > earlier versions of hbase on these machines?
> >> >
> >> > Server handler 3 on 60020, call null([B@178655) from 127.0.1.1:55630:
> >> > error: java.io.IOException: java.lang.NullPointerException
> >> > java.io.IOException: java.lang.NullPointerException
> >> >       at java.lang.Class.searchMethods(
> >> > Class.java:2646)
> >> >       at java.lang.Class.getMethod0(Class.java:2670)
> >> >       at java.lang.Class.getMethod(Class.java:1603)
> >> >       at
> >> > org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:643)
> >> >       at
> >> >
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> >> >
> >> > It seems to be looking for a method that doesn't exist in the deployed
> >> > hbase.
> >> >
> >> > St.Ack
> >> >
> >> >
> >> > On Tue, Nov 24, 2009 at 4:34 AM, prasenjit mukherjee
> >> > <prasen.bea@gmail.com>wrote:
> >> >
> >> >> I am using hadoop-20.1 with hbase-20.1. I am able to create,list,scan
> >> >> rows/tables via hbase shell.
> >> >>
> >> >> This is the stacktrace from client side :
> >> >>
> >> >> 09/11/24 17:13:45 WARN client.HConnectionManager$TableServers:
> Testing
> >> >> for table existence threw exception
> >> >> org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to
> >> >> contact region server null for region , row '', but failed after 10
> >> >> attempts.
> >> >> Exceptions:
> >> >> java.io.IOException: java.io.IOException:
> java.lang.NullPointerException
> >> >>        at java.lang.Class.searchMethods(Class.java:2646)
> >> >>        at java.lang.Class.getMethod0(Class.java:2670)
> >> >>        at java.lang.Class.getMethod(Class.java:1603)
> >> >>        at
> >> >> org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:643)
> >> >>        at
> >> >>
> >>
> org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)
> >> >>
> >> >> ......10 times.
> >> >>
> >>
> >
>

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