You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gergely Hajós (JIRA)" <ji...@apache.org> on 2017/10/06 09:52: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 ]
Gergely Hajós updated HIVE-17620:
---------------------------------
Status: Patch Available (was: Open)
> 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.3.0, 2.2.0, 3.0.0
> Reporter: Gergely Hajós
> Assignee: Gergely Hajós
> Attachments: HIVE-17620.1.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)