[
https://issues.apache.org/jira/browse/HDDS-7910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hemant Kumar updated HDDS-7910:
-------------------------------
Description:
When OFS CLI is used to copy a key from a bucket to another bucket and either
destination bucket doesn't exist or direct write is disabled, it creates a
temporary dir/file with ._ copying _ extension and rename the file name later.
[[code]|https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java#L425].
Instead of creating a temporary dir/file in the actual path, we should copy it
to /tmp dir and move it to actual path once data is copied.
Prerequisite Jira: HDDS-7885
was:
When OFS CLI is used to copy a key from a bucket to another bucket and either
destination bucket doesn't exist or direct write is disabled, it creates a
temporary dir/file with ._copying_ extension and rename the file name later.
[[code]|https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java#L425].
Instead of creating a temporary dir/file in the actual path, we should copy it
to /tmp dir and move it to actual path once data is copied.
Prerequisite Jira: HDDS-7885
> OFS CLI should copy the file to /tmp dir while copying to bucket and
> destination bucket doesn't exist or direct write is disbled.
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: HDDS-7910
> URL: https://issues.apache.org/jira/browse/HDDS-7910
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Filesystem
> Reporter: Hemant Kumar
> Priority: Major
>
> When OFS CLI is used to copy a key from a bucket to another bucket and either
> destination bucket doesn't exist or direct write is disabled, it creates a
> temporary dir/file with ._ copying _ extension and rename the file name
> later.
> [[code]|https://github.com/apache/hadoop/blob/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/CommandWithDestination.java#L425].
> Instead of creating a temporary dir/file in the actual path, we should copy
> it to /tmp dir and move it to actual path once data is copied.
> Prerequisite Jira: HDDS-7885
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]