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-8342) Potential null dereference in ColumnTruncateMapper#jobClose()
Date Mon, 10 Aug 2015 17:37:46 GMT

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

Mime
View raw message