Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
branch : master
commit 19ad435bc93c1ae8b71be1e9454bc4dad31018c6
Author: wangchao316 <66939405+wangchao316@users.noreply.github.com>
Date: Thu Mar 11 09:01:06 2021 +0800
IOTDB-1204 set parameter in iotdb-cluster.properties (#2797)
Repeat steps:
- 第一步 (注意以下路径在 Windows MinGW 中并不适用)
> mvn clean package -pl cluster -am -Dmaven.test.skip=true
> cp -rf ./cluster/target/cluster-0.12.0-SNAPSHOT ./cluster/target/cluster-0.12.0-SNAPSHOT1
> cp -rf ./cluster/target/cluster-0.12.0-SNAPSHOT ./cluster/target/cluster-0.12.0-SNAPSHOT2
> sed -i -e 's/6667/6668/g' ./cluster/target/cluster-0.12.0-SNAPSHOT1/conf/iotdb-engine.properties
> sed -i -e 's/6667/6669/g' ./cluster/target/cluster-0.12.0-SNAPSHOT2/conf/iotdb-engine.properties - 第二步: Unix/OS X/Windows (git bash or WSL)
> sed -i -e 's/31999/32000/g' ./cluster/target/cluster-0.12.0-SNAPSHOT1/conf/iotdb-env.sh
> sed -i -e 's/31999/32001/g' ./cluster/target/cluster-0.12.0-SNAPSHOT2/conf/iotdb-env.sh
> chmod -R 777 ./cluster/target/
> nohup ./cluster/target/cluster-0.12.0-SNAPSHOT/sbin/start-node.sh >/dev/null 2>&1 &
> nohup ./cluster/target/cluster-0.12.0-SNAPSHOT1/sbin/start-node.sh -internal_meta_port 9005 -internal_data_port 40012 -cluster_rpc_port 55561 >/dev/null 2>&1 &
> nohup ./cluster/target/cluster-0.12.0-SNAPSHOT2/sbin/start-node.sh -internal_meta_port 9007 -internal_data_port 40014 -cluster_rpc_port 55562 >/dev/null 2>&1 &
After that I can't connect iotdb with iotdb-cli,and there are error logs in log_all.log.
Please refer to the attachment.
#
Attachments
Attachments
Issue Links
- links to