[
https://issues.apache.org/jira/browse/IOTDB-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17299341#comment-17299341
]
FengQingxin commented on IOTDB-1208:
------------------------------------
Yes! It works.
But "mvn clean package -pl cluster -am -Dmaven.test.skip=true" is inappropriate.
We should using "mvn clean package -DskipTests" under "/iotdb/cluster", then
the folder named "test-classes" will be created and we can try it as the
description in the website[2].
> [master-0.12.0-snapshot][iotdb-cluster]Cannot open transport for client Node
> ----------------------------------------------------------------------------
>
> Key: IOTDB-1208
> URL: https://issues.apache.org/jira/browse/IOTDB-1208
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Cluster
> Reporter: FengQingxin
> Priority: Major
> Attachments: image-2021-03-11-11-02-27-954.png,
> image-2021-03-11-11-02-36-333.png, log_all.log
>
>
> branch : master
> commit 19ad435bc93c1ae8b71be1e9454bc4dad31018c6
> Author: wangchao316
> <66939405+wangchao316@[users.noreply.github.com|http://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.
> !image-2021-03-11-11-02-27-954.png!!image-2021-03-11-11-02-36-333.png!
> #
--
This message was sent by Atlassian Jira
(v8.3.4#803005)