hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sishen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1211) NPE in retries exhausted exception
Date Sat, 28 Feb 2009 21:04:12 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677725#action_12677725
] 

sishen commented on HBASE-1211:
-------------------------------

Any idea on this bug? 

When i start v0.2 with the the data dir created in earlier version, the error shows.

hbase(main):001:0> list
09/03/01 04:55:49 INFO zookeeper.ZooKeeperWrapper: Quorum servers: localhost:2181
NativeException: java.lang.NullPointerException: null
	from org/apache/hadoop/hbase/util/Bytes.java:147:in `toString'
	from org/apache/hadoop/hbase/client/RetriesExhaustedException.java:50:in `getMessage'
	from org/apache/hadoop/hbase/client/RetriesExhaustedException.java:40:in `<init>'
	from org/apache/hadoop/hbase/client/HConnectionManager.java:875:in `getRegionServerWithRetries'

hbase(main):002:0> scan 'users'
NativeException: org.apache.hadoop.hbase.TableNotFoundException: .META.
	from org/apache/hadoop/hbase/client/HConnectionManager.java:527:in `locateRegionInMeta'
	from org/apache/hadoop/hbase/client/HConnectionManager.java:477:in `locateRegion'
	from org/apache/hadoop/hbase/client/HConnectionManager.java:443:in `locateRegion'


However,  when i restart hbase with a new data dir, no problem there.


> NPE in retries exhausted exception
> ----------------------------------
>
>                 Key: HBASE-1211
>                 URL: https://issues.apache.org/jira/browse/HBASE-1211
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.19.1, 0.20.0
>
>
> {code}
> [stack@aa0-000-12 hadoop-0.19.1]$ ./bin/hadoop org.apache.hadoop.hbase.PerformanceEvaluation
sequentialWrite 8
> java.lang.NullPointerException
>         at org.apache.hadoop.hbase.util.Bytes.toString(Bytes.java:147)
>         at org.apache.hadoop.hbase.client.RetriesExhaustedException.getMessage(RetriesExhaustedException.java:50)
>         at org.apache.hadoop.hbase.client.RetriesExhaustedException.<init>(RetriesExhaustedException.java:40)
>         at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getRegionServerWithRetries(HConnectionManager.java:875)
>         at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:55)
>         at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:29)
>         at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.listTables(HConnectionManager.java:317)
>         at org.apache.hadoop.hbase.client.HConnectionManager$TableServers.tableExists(HConnectionManager.java:270)
>         at org.apache.hadoop.hbase.client.HBaseAdmin.tableExists(HBaseAdmin.java:106)
>         at org.apache.hadoop.hbase.PerformanceEvaluation.checkTable(PerformanceEvaluation.java:201)
>         at org.apache.hadoop.hbase.PerformanceEvaluation.runNIsMoreThanOne(PerformanceEvaluation.java:217)
>         at org.apache.hadoop.hbase.PerformanceEvaluation.runTest(PerformanceEvaluation.java:639)
>         at org.apache.hadoop.hbase.PerformanceEvaluation.doCommandLine(PerformanceEvaluation.java:748)
>         at org.apache.hadoop.hbase.PerformanceEvaluation.main(PerformanceEvaluation.java:768)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message