You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2014/10/11 10:28:34 UTC
[jira] [Commented] (HIVE-8342) Potential null dereference in
ColumnTruncateMapper#jobClose()
[ https://issues.apache.org/jira/browse/HIVE-8342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14168067#comment-14168067 ]
Lars Francke commented on HIVE-8342:
------------------------------------
Thanks for taking a stab. Unfortunately your code does not compile and {{NullPointerException}}s should usually not be thrown "manually".
I'm not sure what the correct behavior here would be.
> Potential null dereference in ColumnTruncateMapper#jobClose()
> -------------------------------------------------------------
>
> Key: HIVE-8342
> URL: https://issues.apache.org/jira/browse/HIVE-8342
> Project: Hive
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: skrho
> Priority: Minor
> Attachments: HIVE-8342_001.patch
>
>
> {code}
> Utilities.mvFileToFinalPath(outputPath, job, success, LOG, dynPartCtx, null,
> reporter);
> {code}
> Utilities.mvFileToFinalPath() calls createEmptyBuckets() where conf is dereferenced:
> {code}
> boolean isCompressed = conf.getCompressed();
> TableDesc tableInfo = conf.getTableInfo();
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)