[
https://issues.apache.org/jira/browse/HDDS-13250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Soumitra Sulav resolved HDDS-13250.
-----------------------------------
Fix Version/s: 2.0.1
Release Note: Fixed via https://issues.apache.org/jira/browse/HDDS-12206
Resolution: Fixed
> 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
> Fix For: 2.0.1
>
>
> 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]