FAQ

[HBase-dev] [jira] Created: (HBASE-1093) NPE in HStore#compact

stack (JIRA)
Dec 28, 2008 at 11:09 pm
NPE in HStore#compact
---------------------

Key: HBASE-1093
URL: https://issues.apache.org/jira/browse/HBASE-1093
Project: Hadoop HBase
Issue Type: Bug
Environment: apurtell cluster
Reporter: stack
Fix For: 0.19.0


I think I've seen this one before (if line numbers agree):

{code}
2008-12-28 00:06:21,111 ERROR org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction failed for region content,10a1c144cf729885001e71a5ff5108dc,1230416158498
java.lang.NullPointerException
at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:870)
at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:709)
at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:666)
{code}

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

Search Discussions

3 responses

  • stack (JIRA) at Dec 28, 2008 at 11:11 pm
    [ https://issues.apache.org/jira/browse/HBASE-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659485#action_12659485 ]

    stack commented on HBASE-1093:
    ------------------------------

    I was going to add below as part of another patch more by way as trying to learn more about this NPE:

    {code}
    for (int i = 0; i < countOfFiles; i++) {
    HStoreFile file = filesToCompact.get(i);
    Path path = file.getMapFilePath();
    if (path == null) {
    LOG.warn("Path is null for " + file);
    return null;
    }
    ...
    {code}

    Shouldn't be a null path hereabouts.
    NPE in HStore#compact
    ---------------------

    Key: HBASE-1093
    URL: https://issues.apache.org/jira/browse/HBASE-1093
    Project: Hadoop HBase
    Issue Type: Bug
    Environment: apurtell cluster
    Reporter: stack
    Fix For: 0.19.0


    I think I've seen this one before (if line numbers agree):
    {code}
    2008-12-28 00:06:21,111 ERROR org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction failed for region content,10a1c144cf729885001e71a5ff5108dc,1230416158498
    java.lang.NullPointerException
    at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:870)
    at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:709)
    at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:666)
    {code}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • stack (JIRA) at Dec 30, 2008 at 8:01 am
    [ https://issues.apache.org/jira/browse/HBASE-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    stack reassigned HBASE-1093:
    ----------------------------

    Assignee: stack
    NPE in HStore#compact
    ---------------------

    Key: HBASE-1093
    URL: https://issues.apache.org/jira/browse/HBASE-1093
    Project: Hadoop HBase
    Issue Type: Bug
    Environment: apurtell cluster
    Reporter: stack
    Assignee: stack
    Fix For: 0.19.0


    I think I've seen this one before (if line numbers agree):
    {code}
    2008-12-28 00:06:21,111 ERROR org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction failed for region content,10a1c144cf729885001e71a5ff5108dc,1230416158498
    java.lang.NullPointerException
    at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:870)
    at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:709)
    at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:666)
    {code}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • stack (JIRA) at Dec 30, 2008 at 8:01 am
    [ https://issues.apache.org/jira/browse/HBASE-1093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    stack resolved HBASE-1093.
    --------------------------

    Resolution: Fixed

    I committed above. Will at least give us more info on the NPE so we can try figure more about the why. Closing . Can reopen or make new issue if further development.
    NPE in HStore#compact
    ---------------------

    Key: HBASE-1093
    URL: https://issues.apache.org/jira/browse/HBASE-1093
    Project: Hadoop HBase
    Issue Type: Bug
    Environment: apurtell cluster
    Reporter: stack
    Assignee: stack
    Fix For: 0.19.0


    I think I've seen this one before (if line numbers agree):
    {code}
    2008-12-28 00:06:21,111 ERROR org.apache.hadoop.hbase.regionserver.CompactSplitThread: Compaction failed for region content,10a1c144cf729885001e71a5ff5108dc,1230416158498
    java.lang.NullPointerException
    at org.apache.hadoop.hbase.regionserver.HStore.compact(HStore.java:870)
    at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:709)
    at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:666)
    {code}
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post

1 user in discussion

stack (JIRA): 4 posts