You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2017/12/04 08:48:00 UTC

[jira] [Updated] (HIVE-17620) Use the default MR scratch directory (HDFS) in the only case when hive.blobstore.optimizations.enabled=true AND isFinalJob=true

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

Zoltan Haindrich updated HIVE-17620:
------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
           Status: Resolved  (was: Patch Available)

pushed to master. Thank you [~ghajos] for fixing this!

> Use the default MR scratch directory (HDFS) in the only case when hive.blobstore.optimizations.enabled=true AND isFinalJob=true
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-17620
>                 URL: https://issues.apache.org/jira/browse/HIVE-17620
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 2.2.0, 2.3.0, 3.0.0
>            Reporter: Gergely Hajós
>            Assignee: Gergely Hajós
>             Fix For: 3.0.0
>
>         Attachments: HIVE-17620.1.patch, HIVE-17620.2.patch, HIVE-17620.3.patch, HIVE-17620.4.patch
>
>
> Introduced in HIVE-15121. Context::getTempDirForPath tries to use temporary MR directory instead of blobstore directory in three cases:
> {code}
> if (!isFinalJob && BlobStorageUtils.areOptimizationsEnabled(conf)) {
> {code}
> while the only valid case for using a temporary MR dir is when optimization is enabled and the job is not final:
> {code}
> if (BlobStorageUtils.areOptimizationsEnabled(conf) && !isFinalJob) {
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)