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

Haijun Cao commented on HBASE-1634:
-----------------------------------

Stack,

I run the 1638 script to purge historian from info, and info from historian 
(yes, there is info in historian as well). This fix the NPE problem in this 
ticket(1634).

But I still can't count pass region 0001192603, so I try to run hbase> 
deleteall '.META.', "TestTable,0001192603" command, but it seem to cause a lot 
of errors in the regionserver logs. I try to restart the hbase cluster, but 
can't with following error:

Trying to contact region server 10.10.30.148:60020 for region .META.,,1, row 
'', but failed after 3 attempts.
Exceptions:
java.io.IOException: java.io.IOException: java.lang.IllegalArgumentException: 
No 44 in <$�����TestTable,0001192603info��"w?V?�"w?V?>, length=10, offset=20
        at 
org.apache.hadoop.hbase.regionserver.HRegionServer.convertThrowableToIOE(HRegionServer.java:829)
        at 
org.apache.hadoop.hbase.regionserver.HRegionServer.convertThrowableToIOE(HRegionServer.java:819)
        at 
org.apache.hadoop.hbase.regionserver.HRegionServer.openScanner(HRegionServer.java:1853)
        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.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:643)
        at 
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:913)
Caused by: java.lang.IllegalArgumentException: No 44 in 
<$�����TestTable,0001192603info��"w?V?�"w?V?>, length=10, offset=20
        at 
org.apache.hadoop.hbase.KeyValue.getRequiredDelimiterInReverse(KeyValue.java:1226)
        at 
org.apache.hadoop.hbase.KeyValue$MetaKeyComparator.compareRows(KeyValue.java:1665)
        at 
org.apache.hadoop.hbase.KeyValue$KeyComparator.compare(KeyValue.java:1702)
        at 
org.apache.hadoop.hbase.KeyValue$KVComparator.compare(KeyValue.java:1325)
        at 
org.apache.hadoop.hbase.regionserver.KeyValueHeap$KVScannerComparator.compare(KeyValueHeap.java:133)
        at 
org.apache.hadoop.hbase.regionserver.KeyValueHeap$KVScannerComparator.compare(KeyValueHeap.java:124)
        at 
org.apache.hadoop.hbase.regionserver.KeyValueHeap$KVScannerComparator.compare(KeyValueHeap.java:114)
        at java.util.PriorityQueue.siftUpUsingComparator(PriorityQueue.java:594)
        at java.util.PriorityQueue.siftUp(PriorityQueue.java:572)
        at java.util.PriorityQueue.offer(PriorityQueue.java:274)
        at java.util.PriorityQueue.add(PriorityQueue.java:251)
        at 
org.apache.hadoop.hbase.regionserver.KeyValueHeap.<init>(KeyValueHeap.java:59)
        at 
org.apache.hadoop.hbase.regionserver.StoreScanner.<init>(StoreScanner.java:67)
        at 
org.apache.hadoop.hbase.regionserver.Store.getScanner(Store.java:1390)
        at 
org.apache.hadoop.hbase.regionserver.HRegion$RegionScanner.<init>(HRegion.java:1687)
        at 
org.apache.hadoop.hbase.regionserver.HRegion.getScanner(HRegion.java:1077)
        at 
org.apache.hadoop.hbase.regionserver.HRegionServer.openScanner(HRegionServer.java:1849)



> UI and shell list throw NPE
> ---------------------------
>
>                 Key: HBASE-1634
>                 URL: https://issues.apache.org/jira/browse/HBASE-1634
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>             Fix For: 0.20.0
>
>
> I have a .META. from bryan duxbury that has a row with only historian data.  
> List does whole row, not just info, so if only historian entries, a row is 
> returned.  We then try and get a regioninfo from this row and NPE.
> As to why this happens, jd suggests that since we moved to async historian 
> updates, row may have been deleted already.  Confirm.

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

Reply via email to