[ 
https://issues.apache.org/jira/browse/HIVE-9023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317208#comment-14317208
 ] 

Naveen Gangam commented on HIVE-9023:
-------------------------------------

There are a lot of failures resulting from NPE.
{code}
Begin query: cte_2.q
java.lang.NullPointerException
        at 
org.apache.hadoop.hive.ql.exec.FileSinkOperator.initializeOp(FileSinkOperator.java:421)
        at org.apache.hadoop.hive.ql.exec.Operator.initialize(Operator.java:385)
{code}

Seems like getTableInfo().getTableName() could result in null and hence 
toLowerCase() causes the NPE. getTableInfo() cannot be null as it is used 
elsewhere in the class and we seem to get past that code.
I am uploading a new version of the patch that takes this null into account.

> HiveHistoryImpl relies on removed counters to print num rows
> ------------------------------------------------------------
>
>                 Key: HIVE-9023
>                 URL: https://issues.apache.org/jira/browse/HIVE-9023
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.13.0, 0.14.0, 0.13.1, 0.14.1
>            Reporter: Slava Markeyev
>            Assignee: Naveen Gangam
>            Priority: Minor
>              Labels: regression
>         Attachments: HIVE-9023.2.patch, HIVE-9023.patch
>
>
> HiveHistoryImpl still relies on the counters that were removed in HIVE-5982 
> to determine the number of rows loaded. This results in regression of 
> functionality. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to