GaussDB(DWS)添加主机在初始化服务和实例失败,报错[GAUSS-52631] : Invalid value for GUC para

发生版本

【GaussDB(DWS)】【8.0.0.1】

问题描述

扩容初始化实例和服务报错:

[GAUSS-52631] : Invalid value for GUC parameter comm_max_datanode: 512.

HINT: Increase the value of comm_max_datanode by executing “source /opt/huawei/Bigdata/mppdb/.mppdbgs_profile; gs_guc set -Z datanode -I all -N all -c ‘comm_max_datanode=1024’; gs_guc set -Z coordinator -I all -N all -c ‘comm_max_datanode=1024′” and then, restart the database.

2020-08-28 20:58:43 ERROR (nodeExtend:[mpp-postinstall.sh:1001]) dilatation failed, the dilatation result is 1.

2020-08-28 20:58:43 ERROR (main:[mpp-postinstall.sh:1397]) Extend node failed , restore configXML.

2020-08-28 20:58:43 INFO (restoreOrRemoveConfigXml:[mpp-postinstall.sh:1036]) local host :mpp-dat41 is compare_host: mpp-dat41.

问题分析

comm_max_datanode的值512小于扩容后实际的dn数目。

解决方案

按如下命令调整cn和dn的comm_max_datanode值,然后重新执行添加主机:

gs_guc reload -Z coordinator -Z datanode -N all -I all -c “comm_max_datanode=1024″。

原创文章,作者:奋斗,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/316523.html

(0)
上一篇 2025年10月29日 22:53
下一篇 2025年10月29日 22:55

相关推荐

发表回复

登录后才能评论