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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.94.0
    • 0.94.1, 0.95.0
    • mapreduce
    • None
    • 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.

      Attachments

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

        Activity

          People

            grace.huang Jie Huang
            grace.huang Jie Huang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: