You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Alexander Pivovarov (JIRA)" <ji...@apache.org> on 2015/06/27 06:09:04 UTC
[jira] [Commented] (HIVE-7598) Potential null pointer dereference
in MergeTask#closeJob()
[ 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)