HBase
  1. HBase
  2. HBASE-5424

HTable meet NPE when call getRegionInfo()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 0.90.1, 0.90.5
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Tags:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            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

                Development