You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/09/05 10:01:00 UTC
[jira] [Updated] (HDDS-11405) Ambiguous behaviour of the ozone fs -setrep command
[ https://issues.apache.org/jira/browse/HDDS-11405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-11405:
----------------------------------
Labels: pull-request-available (was: )
> Ambiguous behaviour of the ozone fs -setrep command
> ---------------------------------------------------
>
> Key: HDDS-11405
> URL: https://issues.apache.org/jira/browse/HDDS-11405
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone CLI
> Reporter: Karn Kumar Singh
> Assignee: Sadanand Shenoy
> Priority: Major
> Labels: pull-request-available
>
> *Repro step:*
> # Create a key of any size(including 0 bytes).
> # Set the replication using the 'ozone fs -setrep' command with a replication factor other than the default.
> *Log:*
> {code:java}
> # ozone fs -setrep -w 5 ofs://ozone1/voltmp/buck
> Replication 5 set: ofs://ozone1/voltmp/buck/key
> Waiting for ofs://ozone1/voltmp/buck/key ... done
> # ozone fs -stat '%r' ofs://ozone1/voltmp/buck
> 1
> # ozone fs -stat '%r' ofs://ozone1/voltmp/buck/key
> 3{code}
> The command gets executed instantly for the 0-byte key, but the command is stuck forever for the non-0-byte key.
> *Log:*
> {code:java}
> # ozone fs -du ofs://ozone1/voltmp/buck
> 0 0 ofs://ozone1/voltmp/buck/key
> 7190 21570 ofs://ozone1/voltmp/buck/key1
> # ozone fs -setrep -w 5 ofs://ozone1/voltmp/buck
> Replication 5 set: ofs://ozone1/voltmp/buck/key
> Replication 5 set: ofs://ozone1/voltmp/buck/key1
> Waiting for ofs://ozone1/voltmp/buck/key ... done
> Waiting for ofs://ozone1/voltmp/buck/key1 .........................{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org