You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2015/06/09 18:36:00 UTC

[jira] [Updated] (HIVE-7598) Potential null pointer dereference in MergeTask#closeJob()

     [ https://issues.apache.org/jira/browse/HIVE-7598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HIVE-7598:
-------------------------
    Description: 
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}

  was:
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}


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