Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      apurtell cluster

      Description

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

      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)
      

        Activity

        Hide
        stack added a comment -

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

              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;
                }
        ...
        

        Shouldn't be a null path hereabouts.

        Show
        stack added a comment - I was going to add below as part of another patch more by way as trying to learn more about this NPE: 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 ; } ... Shouldn't be a null path hereabouts.
        Hide
        stack added a comment -

        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.

        Show
        stack added a comment - 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.

          People

          • Assignee:
            stack
            Reporter:
            stack
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development