You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2023/08/28 16:30:00 UTC
[jira] [Commented] (HDDS-4745) Cannot change Ratis port in existing cluster
[ https://issues.apache.org/jira/browse/HDDS-4745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759635#comment-17759635 ]
Tsz-wo Sze commented on HDDS-4745:
----------------------------------
bq. ... because Ratis stores peer addresses in its configuration and restores after restart.
We recently have RATIS-1860 to overwrite the local meta conf file. After the file is overwritten, the server should be able to restart with the new port.
> Cannot change Ratis port in existing cluster
> --------------------------------------------
>
> Key: HDDS-4745
> URL: https://issues.apache.org/jira/browse/HDDS-4745
> Project: Apache Ozone
> Issue Type: Bug
> Components: Ozone Datanode
> Reporter: Attila Doroszlai
> Priority: Major
> Labels: kubernetes
>
> The config property {{dfs.container.ratis.ipc}} controls datanodes' Ratis port. However, changing it in an existing cluster and restarting datanodes causes failure, because Ratis stores peer addresses in its configuration and restores after restart.
> {noformat:title=example log}
> dn1_1 | 2021-01-26 08:51:32 INFO RaftServerImpl:356 - 7aed8b8c-4c36-4c5f-8bd5-1b15590a65cb@group-2F22897F07E6: set configuration 0: [7aed8b8c-4c36-4c5f-8bd5-1b15590a65cb:10.9.0.11:34559, 50d855e4-ff25-43f5-8b8e-a49134de0f55:10.9.0.13:32773, e0122724-4141-44ba-848e-fa3b0e61a151:10.9.0.12:32883], old=null at 0
> dn1_1 | 2021-01-26 08:51:36 INFO GrpcService:160 - 7aed8b8c-4c36-4c5f-8bd5-1b15590a65cb: GrpcService started, listening on 0.0.0.0/0.0.0.0:34917
> {noformat}
--
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