drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalii Diravka (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-5906) java.lang.NullPointerException while quering Hive ORC tables on MapR cluster.
Date Fri, 27 Oct 2017 13:12:00 GMT

     [ https://issues.apache.org/jira/browse/DRILL-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vitalii Diravka updated DRILL-5906:
-----------------------------------
    Attachment: bucketed_table.zip

> java.lang.NullPointerException while quering Hive ORC tables on MapR cluster. 
> ------------------------------------------------------------------------------
>
>                 Key: DRILL-5906
>                 URL: https://issues.apache.org/jira/browse/DRILL-5906
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.11.0
>            Reporter: Vitalii Diravka
>            Assignee: Vitalii Diravka
>              Labels: ready-to-commit
>             Fix For: 1.12.0
>
>         Attachments: bucketed_table.zip
>
>
> 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: 
> {code}
> 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/';
> {code}
> Possible fix: upgrade drill to [1.2.0-mapr-1707|https://maprdocs.mapr.com/52/EcosystemRN/HiveRN-1.2.1-1707.html]
hive.version, where this issue was fixed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message