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/09/29 14:26:01 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16185899#comment-16185899 ]
Gergely Hajós commented on HIVE-17620:
--------------------------------------
[~rajesh.balamohan] Could you please look at it?
[~zhihao] I saw your [comment|https://issues.apache.org/jira/browse/HIVE-15121?focusedCommentId=16180458&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16180458] on HIVE-15121. Do you think that this modification will solve the problem?
> 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
> 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)