Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5906

java.lang.NullPointerException while quering Hive ORC tables on MapR cluster.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Component/s: None
    • Labels:

      Description

      Record reader throw an exception when trying to read an empty split.
      To reproduce the issue - put the bucketed table with ORC files (one or more are empty) onto the maprfs and
      run the following Hive DDL:

      CREATE TABLE `orc_bucketed`(
        `id` int,
        `name` string)
      CLUSTERED BY (
        id)
      INTO 2 BUCKETS
      ROW FORMAT SERDE
        'org.apache.hadoop.hive.ql.io.orc.OrcSerde'
      STORED AS INPUTFORMAT
        'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat'
      OUTPUTFORMAT
        'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'
      LOCATION
        'maprfs:/tmp/bucketed_table/';
      

      Possible fix: upgrade drill to 1.2.0-mapr-1707 hive.version, where this issue was fixed.

        Attachments

        1. bucketed_table.zip
          0.8 kB
          Vitalii Diravka

          Issue Links

            Activity

              People

              • Assignee:
                vitalii Vitalii Diravka
                Reporter:
                vitalii Vitalii Diravka
                Reviewer:
                Arina Ielchiieva
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: