Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-5424

HTable meet NPE when call getRegionInfo()

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.90.1, 0.90.5
    • None
    • None
    • None
    • NPE

    Description

      We meet NPE when call getRegionInfo() in testing environment.
      Exception in thread "main" java.lang.NullPointerException
      at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:75)
      at org.apache.hadoop.hbase.util.Writables.getHRegionInfo(Writables.java:119)
      at org.apache.hadoop.hbase.client.HTable$2.processRow(HTable.java:395)
      at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:190)
      at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:95)
      at org.apache.hadoop.hbase.client.MetaScanner.metaScan(MetaScanner.java:73)
      at org.apache.hadoop.hbase.client.HTable.getRegionsInfo(HTable.java:418)

      This NPE also make the table.jsp can't show the region information of this table.

      Attachments

        1. HBASE-5424.patch
          2 kB
          junhua yang
        2. HBase-5424_v2.patch
          0.9 kB
          zhiyuan.dai
        3. 5424-v3.patch
          2 kB
          Michael Stack
        4. 5424-v3.patch
          2 kB
          Michael Stack

        Activity

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

          People

            Unassigned Unassigned
            junhua.yang junhua yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment