Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17620

Use the default MR scratch directory (HDFS) in the only case when hive.blobstore.optimizations.enabled=true AND isFinalJob=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0, 2.3.0, 3.0.0
    • 3.0.0
    • Hive
    • None

    Description

      Introduced in HIVE-15121. Context::getTempDirForPath tries to use temporary MR directory instead of blobstore directory in three cases:

      if (!isFinalJob && BlobStorageUtils.areOptimizationsEnabled(conf)) {
      

      while the only valid case for using a temporary MR dir is when optimization is enabled and the job is not final:

      if (BlobStorageUtils.areOptimizationsEnabled(conf) && !isFinalJob) {
      

      Attachments

        1. HIVE-17620.4.patch
          8 kB
          Gergely Hajós
        2. HIVE-17620.3.patch
          6 kB
          Gergely Hajós
        3. HIVE-17620.2.patch
          3 kB
          Gergely Hajós
        4. HIVE-17620.1.patch
          2 kB
          Gergely Hajós

        Activity

          People

            ghajos Gergely Hajós
            ghajos Gergely Hajós
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: