[ https://issues.apache.org/jira/browse/HIVE-17620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198174#comment-16198174 ]
Rajesh Balamohan commented on HIVE-17620: ----------------------------------------- LGTM. +1 > 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)