Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-2756

NPE in DFSClient in hbase under load

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.16.0
    • 0.16.1
    • None
    • None

    Description

      Saw this in logs:

      2008-01-31 18:55:02,128 ERROR org.apache.hadoop.hbase.HRegionServer: Compaction failed for region TestTable,0009438931,1201805282651
      java.lang.NullPointerException
              at org.apache.hadoop.dfs.DFSClient$DFSOutputStream.close(DFSClient.java:2262)
              at org.apache.hadoop.fs.FSDataOutputStream$PositionCache.close(FSDataOutputStream.java:51)
              at org.apache.hadoop.fs.FSDataOutputStream.close(FSDataOutputStream.java:67)
              at org.apache.hadoop.hbase.HStoreFile.writeInfo(HStoreFile.java:365)
              at org.apache.hadoop.hbase.HStore.compact(HStore.java:1236) 
              at org.apache.hadoop.hbase.HRegion.compactStores(HRegion.java:775)
              at org.apache.hadoop.hbase.HRegion.compactIfNeeded(HRegion.java:707)
              at org.apache.hadoop.hbase.HRegionServer$CompactSplitThread.run(HRegionServer.java:253)
      

      Look to see if the response data method needs to be made volatile (There's a test for null just before we use it on line #2262).

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rangadi Raghu Angadi Assign to me
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment