[
https://issues.apache.org/jira/browse/HDDS-13250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18005320#comment-18005320
]
Sreeja edited comment on HDDS-13250 at 7/15/25 6:08 AM:
--------------------------------------------------------
In HDDS-12206 the {{read-replicas}} tool was replaced with {{{*}ozone debug
replicas verify{*}.}}
{{So with these changes we are able to run the command ozone debug replicas
verify on all OM,SCM hosts.}}
{{and the --output-dir is not relevant anymore (HDDS-13248), as ozone debug
replicas verify}} will write json to stdout by default.
was (Author: JIRAUSER308351):
In HDDS-12206 the {{read-replicas}} tool was replaced with {{{*}ozone debug
replicas verify{*}.}}
{{So with these changes we are able to run the command ozone debug replicas
verify on all OM,SCM hosts.}}
{{and the --output-dir is not relevant anymore (HDDS-13248), as }}{{ozone debug
replicas verify}}{{ will write json to stdout by default. }}
> Ozone Tools - debug read-replicas issue
> ---------------------------------------
>
> Key: HDDS-13250
> URL: https://issues.apache.org/jira/browse/HDDS-13250
> Project: Apache Ozone
> Issue Type: Improvement
> Components: Ozone CLI
> Affects Versions: 2.0.0
> Reporter: Soumitra Sulav
> Assignee: Sreeja
> Priority: Major
>
> Issue with ozone debug read-replicas command.
> Runs only from the OM leader host. It should run from any gateway.
> {code:java}
> # ozone debug read-replicas /vol/buck/test-demo
> 25/06/06 11:50:10 INFO retry.RetryInvocationHandler:
> com.google.protobuf.ServiceException: java.net.ConnectException: Your
> endpoint configuration is wrong; For more details see:
> http://wiki.apache.org/hadoop/UnsetHostnameOrPort, while invoking
> $Proxy19.submitRequest over nodeId=null,nodeAddress=0.0.0.0:9862 after 1
> failover attempts. Trying to failover after sleeping for 4000ms.
> {code}
> When the directory is not created, it fails as it tries to write to
> /opt/hadoop. It should write to /tmp
> {code:java}
> # ozone debug read-replicas /vol/buck/test-demo
> Creating directory : vol_buck_test-demo_20250606115150
> Failed to create directory /opt/hadoop/vol_buck_test-demo_20250606115150.
> {code}
> If you do not create a folder before running the command, it fails. It should
> be able to create the output-dir passed in the cli.
> {code:java}
> # ozone debug read-replicas /vol/buck/test-demo -o test_demo_replicas
> Creating directory : vol_buck_test-demo_20250606115229
> Failed to create directory
> test_demo_replicas/vol_buck_test-demo_20250606115229.
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]