[
https://issues.apache.org/jira/browse/HDDS-8749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17729421#comment-17729421
]
Attila Doroszlai commented on HDDS-8749:
----------------------------------------
Thanks [~dalamar33] for sharing the resolution. You are right,
{{ozone-site.xml}} needs to be copied to Hadoop's config directory for this use
case. I don't think it's specific to the HA case, but maybe the default
settings are fine for a more simple setup. Would you like to contribute by
improving the documentation? Its sources are in
https://github.com/apache/ozone/tree/master/hadoop-hdds/docs/content
> [Hadoop OFS] HDFS commands fail when not set as the leader of OMHA
> ------------------------------------------------------------------
>
> Key: HDDS-8749
> URL: https://issues.apache.org/jira/browse/HDDS-8749
> Project: Apache Ozone
> Issue Type: Bug
> Components: OFS, OM HA
> Affects Versions: 1.3.0
> Environment: OS: Red Hat 8
> Reporter: David Ayres
> Priority: Minor
>
> When setting the defaultFS in Hadoop's core-site.xml it seems you are only
> allowed to declare one OM node, but if the node declared is not the leader it
> fails with the following error:
> INFO retry.RetryInvocationHandler: com.google.protobuf.ServiceException:
> org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ozone.om.exceptions.OMNotLeaderException):
> OM:om1 is not the leader. Could not determine the leader node.
>
> , while invoking $Proxy13.submitRequest over
> nodeId=null,nodeAddress=ddl07oom01.vuhl.root.mrc.local:9862 after 1 failover
> attempts. Trying to failover after sleeping for 4000ms. Current retry count:
> 1.
>
> HDFS commands only work when declaring the leader, but that would defeat the
> purpose of HA. As if the OM node were to fail over HDFS commands would cease
> to work.
>
> There also does not seem to be any documentation on how HA works with
> OFS/O3FS as of yet and I am not sure if this is a feature in the works or not.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]