集群配置问题

集群启动时出现如下报错:

Failed to load the configuration file [/hdd/hdd0/fgao/iotPerTsdb/server/clusterDemo/config/cluster.cfg] with error [The 'TSDBRedoLogDir' of datanodes on the same machine cannot be the same, and its parent directory also cannot be the same(e.g. cannot end with '<ALIAS>'). Conflicting setting for node1(localhost): TSDBRedoLogDir=/ssd/ssd0/fgao/iotPerTsdb/tsdbredoLog/node1].

我的配置如下:

node1.TSDBRedoLogDir=/ssd/ssd0/fgao/iotPerTsdb/tsdbredoLog/node1

node2.TSDBRedoLogDir=/ssd/ssd0/fgao/iotPerTsdb/tsdbredoLog/node2


请先 登录 后评论

1 个回答

Feng Gao

这个是配置的母问题,TSDB的redolog,要保证父目录不一样

改成,如下即可。

node1.TSDBRedoLogDir=/ssd/ssd0/fgao/iotPerTsdb/tsdb/node1/redoLog

node2.TSDBRedoLogDir=/ssd/ssd0/fgao/iotPerTsdb/tsdb/node2/redoLog


请先 登录 后评论
  • 1 关注
  • 0 收藏,879 浏览
  • dongmange 提出于 2022-03-18 00:52

相似问题