Gergely Hajós created HIVE-17620:
------------------------------------

             Summary: 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


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