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

Allow use scratchdir for staging final job

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      The query results are staged in stagingdir that is relative to the destination path <destination_dir>/<staging_dir>/

      during blobstorage optimzation HIVE-17620 final job is set to use stagingdir.

      HIVE-15215 mentioned the possibility of using scratch for staging when write to S3 but it was long time ago and no activity.

       

      This is to allow final job to use hive.exec.scratchdir as the interim jobs, with a configuration 

      hive.use.scratchdir.for.staging

      This is useful for cross Filesystem, user can use local source filesystem instead of remote filesystem for the staging.

      Attachments

        Activity

          People

            yigress Yi Zhang
            yigress Yi Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h 10m
                4h 10m