You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "codegit10001 (via GitHub)" <gi...@apache.org> on 2024/03/15 12:03:38 UTC
[PR] [doc](fqdn) fix fqdn doc [doris]
codegit10001 opened a new pull request, #32316:
URL: https://github.com/apache/doris/pull/32316
## Proposed changes
Issue Number: close #xxx
<!--Describe your changes.-->
## Further comments
If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [doc](fqdn) fix fqdn doc [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #32316:
URL: https://github.com/apache/doris/pull/32316#issuecomment-2351237527
We're closing this PR because it hasn't been updated in a while.
This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and feel free a maintainer to remove the Stale tag!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [doc](fqdn) fix fqdn doc [doris]
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on code in PR #32316:
URL: https://github.com/apache/doris/pull/32316#discussion_r1527478570
##########
docs/zh-CN/docs/admin-manual/cluster-management/fqdn.md:
##########
@@ -87,12 +87,13 @@ K8s 部署 Doris 的方法请参考[K8s 部署 Doris](../../install/k8s-deploy/o
1. 停止节点。
2. 检查节点是否停止。通过 MySQL 客户端执行`show frontends`,查看该 FE 节点的 Alive 状态直至变为 false
3. 为节点设置 FQDN: `ALTER SYSTEM MODIFY FRONTEND "<fe_ip>:<edit_log_port>" HOSTNAME "<fe_hostname>"`(停掉master后,会选举出新的master节点,用新的master节点来执行sql语句)
- 4. 修改节点配置。修改 FE 根目录中的`conf/fe.conf`文件,添加配置:`enable_fqdn_mode = true`
+ 4. 修改节点配置。修改 FE 根目录中的`conf/fe.conf`文件,添加配置:`enable_fqdn_mode = true`。如果在刚停止的节点对应fe.config添加了配置后无法正常启动,请在所有fe.config中添加配置`enable_fqdn_mode = true`后再启动刚刚停止的fe节点
Review Comment:
```suggestion
4. 修改节点配置。修改 FE 根目录中的`conf/fe.conf`文件,添加配置:`enable_fqdn_mode = true`。如果在刚停止的节点对应 `fe.conf` 添加了配置后无法正常启动,请在所有 `fe.conf` 中添加配置 `enable_fqdn_mode = true` 后再启动刚刚停止的fe节点
```
##########
docs/zh-CN/docs/admin-manual/cluster-management/fqdn.md:
##########
@@ -87,12 +87,13 @@ K8s 部署 Doris 的方法请参考[K8s 部署 Doris](../../install/k8s-deploy/o
1. 停止节点。
2. 检查节点是否停止。通过 MySQL 客户端执行`show frontends`,查看该 FE 节点的 Alive 状态直至变为 false
3. 为节点设置 FQDN: `ALTER SYSTEM MODIFY FRONTEND "<fe_ip>:<edit_log_port>" HOSTNAME "<fe_hostname>"`(停掉master后,会选举出新的master节点,用新的master节点来执行sql语句)
- 4. 修改节点配置。修改 FE 根目录中的`conf/fe.conf`文件,添加配置:`enable_fqdn_mode = true`
+ 4. 修改节点配置。修改 FE 根目录中的`conf/fe.conf`文件,添加配置:`enable_fqdn_mode = true`。如果在刚停止的节点对应fe.config添加了配置后无法正常启动,请在所有fe.config中添加配置`enable_fqdn_mode = true`后再启动刚刚停止的fe节点
5. 启动节点。
-
+
2. BE 节点启用 FQDN 只需要通过 MySQL 执行以下命令,不需要对 BE 执行重启操作。
- `ALTER SYSTEM MODIFY BACKEND "<backend_ip>:<backend_port>" HOSTNAME "<be_hostname>"`
+ `ALTER SYSTEM MODIFY BACKEND "<backend_ip>:<HeartbeatPort>" HOSTNAME "<be_hostname>"`,如果无法确定HeartbeatPort,请使用show backends命令来帮助寻找;
Review Comment:
```suggestion
`ALTER SYSTEM MODIFY BACKEND "<backend_ip>:<HeartbeatPort>" HOSTNAME "<be_hostname>"`
如果无法确定HeartbeatPort,请使用show backends命令来帮助寻找;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [doc](fqdn) fix fqdn doc [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #32316: [doc](fqdn) fix fqdn doc
URL: https://github.com/apache/doris/pull/32316
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [doc](fqdn) fix fqdn doc [doris]
Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #32316:
URL: https://github.com/apache/doris/pull/32316#issuecomment-1999516968
Thank you for your contribution to Apache Doris.
Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org