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

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

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


> 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, HIVE-8342_002.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)

Reply via email to