HBase
  1. HBase
  2. HBASE-6069

TableInputFormatBase#createRecordReader() doesn't initialize TableRecordReader which causes NPE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 0.94.0
    • Fix Version/s: 0.94.1, 0.95.0
    • Component/s: mapreduce
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      While running Hive(0.9.0) query over HBase(0.94.0) with hive-hbase-handler, there always throws a Null Pointer Exception on Scanner object. Since the TableInputFormatBase#createRecordReader() missed the initialization of TableRecordReader object. The scanner will be null in that case. This issue causes Hive query fails.

      1. HBASE-6069.patch
        0.6 kB
        Jie Huang
      2. 6069-v2.txt
        1 kB
        Ted Yu

        Activity

        Jie Huang created issue -
        Jie Huang made changes -
        Field Original Value New Value
        Attachment HBASE-6069.patch [ 12528728 ]
        Ted Yu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Ted Yu made changes -
        Assignee Jie Huang [ grace.huang ]
        Ted Yu made changes -
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.1 [ 12320257 ]
        Ted Yu made changes -
        Attachment 6069-v2.txt [ 12528745 ]
        Ted Yu made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        stack made changes -
        Fix Version/s 0.95.0 [ 12324094 ]
        Fix Version/s 0.96.0 [ 12320040 ]
        Fix Version/s 0.94.1 [ 12320257 ]
        Lars Hofhansl made changes -
        Fix Version/s 0.94.1 [ 12320257 ]
        Lars Hofhansl made changes -
        Comment [ I am taking sick leave from Oct. 10 to Oct. 23. Any urgency, please call 18964958151. Sorry for any action delay during these days. Thanks.
        ]

          People

          • Assignee:
            Jie Huang
            Reporter:
            Jie Huang
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development