hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1114) Weird NPEs compacting
Date Sun, 11 Jan 2009 05:07:59 GMT

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

stack commented on HBASE-1114:
------------------------------

So, my patch refactored the loop but didn't test for null -- the point of the refactoring?
 Does your patch fix things for you Andrew?

> Weird NPEs compacting
> ---------------------
>
>                 Key: HBASE-1114
>                 URL: https://issues.apache.org/jira/browse/HBASE-1114
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.19.0
>
>         Attachments: 1104-filestatus.patch
>
>
> Over on apurtell cluster, hbase TRUNK on hadoop 0.18.0 branch, see below.
> They are weird because first would seem to be an empty fileystem data member and the
second's line number is start of the method and even then, we check for null everywhere first
before doing stuff in here (because of Erik Holstad experience in past).
> {code}
> 2009-01-09 16:28:21,262 INFO org.apache.hadoop.hbase.regionserver.HRegion: starting 
compaction on region content,c84bbfc94b2143e41ba119d159be2958,1231518442461
> 2009-01-09 16:28:21,265 ERROR org.apache.hadoop.hbase.regionserver.CompactSplitThread:
Compaction failed for region content,c84bbfc94b2143e41ba119d159be2958,1231518442461
> java.lang.NullPointerException
>         at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:869)
>         at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:709)
>         at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:666)
>         at org.apache.hadoop.hbase.regionserver.CompactSplitThread.run(CompactSplitThread.java:105)
> 2009-01-09 16:28:45,896 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: java.lang.NullPointerException
> 2009-01-09 16:28:45,896 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 2
on 60020, call next(3999959915225939603, 30) from XX.XX.XX.33:36665: error: java.io.IOException:
java.lang.NullPointerException
> java.io.IOException: java.lang.NullPointerException
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.checkOOME(HRegionServer.java:696)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.cleanup(HRegionServer.java:664)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.cleanup(HRegionServer.java:648)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1579)
>         at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
>         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:632)
>         at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:894)
> 2009-01-09 16:28:47,947 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: java.lang.NullPointerException
> 2009-01-09 16:28:47,948 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 9
on 60020, call next(3999959915225939603, 30) from XX.XX.XX.33:36665: error: java.io.IOException:
java.lang.NullPointerException
> java.io.IOException: java.lang.NullPointerException
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.checkOOME(HRegionServer.java:696)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.cleanup(HRegionServer.java:664)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.cleanup(HRegionServer.java:648)
>         at org.apache.hadoop.hbase.regionserver.HRegionServer.next(HRegionServer.java:1579)
>         at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
>         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:632)
>         at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:894)
> {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