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

Alexander Pivovarov commented on HIVE-7598:
-------------------------------------------

isCompressed and tableInfo can not be null because they are used in the code 
later

> Potential null pointer dereference in MergeTask#closeJob()
> ----------------------------------------------------------
>
>                 Key: HIVE-7598
>                 URL: https://issues.apache.org/jira/browse/HIVE-7598
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: SUYEON LEE
>            Priority: Minor
>         Attachments: HIVE-7598.patch
>
>
> Call to Utilities.mvFileToFinalPath() passes null as second last parameter, 
> conf.
> null gets passed to createEmptyBuckets() which dereferences conf directly:
> {code}
>     boolean isCompressed = conf.getCompressed();
>     TableDesc tableInfo = conf.getTableInfo();
> {code}



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

Reply via email to