Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-8950

Add -d and -f option to copyFromLocal and re-enable disabled S3 tests

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 3.4.0
    • None
    • None
    • ghx-label-7

    Description

      The -d option for hdfs dfs -copyFromLocal "Skip[s] creation of temporary file with the suffix .COPYING". The -f option "Overwrites the destination if it already exists".

      By using the -d option, copies to S3 avoid the additional overhead of copying data to a tmp file and then renaming the file. The -f option overwrites the file if it exists, which should be safe since tests should be writing to unique directories anyway. With HADOOP-16490, create(overwrite=true) avoids issuing a HEAD request on the path, which prevents any cached 404s on the S3 key.

      After these changes, the tests disabled by IMPALA-8189 can be re-enabled.

      Attachments

        Issue Links

          Activity

            People

              stakiar Sahil Takiar
              stakiar Sahil Takiar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: