hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7598) Potential null pointer dereference in MergeTask#closeJob()
Date Tue, 09 Jun 2015 16:36:00 GMT

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

Mime
View raw message