hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Pivovarov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7598) Potential null pointer dereference in MergeTask#closeJob()
Date Sat, 27 Jun 2015 04:09:04 GMT

    [ 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)

Mime
View raw message