[ 
https://issues.apache.org/jira/browse/HIVE-17620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272733#comment-16272733
 ] 

Zoltan Haindrich commented on HIVE-17620:
-----------------------------------------

+1 think the new methods makes much more sense than the previous ones
the failure of 
itests/hive-blobstore/src/test/results/clientpositive/write_final_output_blobstore.q.out
 seems to be caused by the fix: the move operator's source is now a staging path

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

Reply via email to