You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Sahil Takiar (Jira)" <ji...@apache.org> on 2019/10/05 00:37:00 UTC
[jira] [Resolved] (IMPALA-8950) Add -d and -f option to
copyFromLocal and re-enable disabled S3 tests
[ https://issues.apache.org/jira/browse/IMPALA-8950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sahil Takiar resolved IMPALA-8950.
----------------------------------
Fix Version/s: Impala 3.4.0
Resolution: Fixed
> Add -d and -f option to copyFromLocal and re-enable disabled S3 tests
> ---------------------------------------------------------------------
>
> Key: IMPALA-8950
> URL: https://issues.apache.org/jira/browse/IMPALA-8950
> Project: IMPALA
> Issue Type: Test
> Reporter: Sahil Takiar
> Assignee: Sahil Takiar
> Priority: Major
> Fix For: Impala 3.4.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)