tispark安装后启动不了

tidb 版本4.0.8 系统 CentOS Linux release 7.8.2003 (Core)

Starting component tispark
Starting instance tispark 10.105.1.153:7077
retry error: operation timed out after 2m0s
tispark 10.105.1.153:7077 failed to start: timed out waiting for port 7077 to be started after 2m0s, please check the log of the instance

Error: failed to start tispark: tispark 10.105.1.153:7077 failed to start: timed out waiting for port 7077 to be started after 2m0s, please check the log of the instance: timed out waiting for port 7077 to be started after 2m0s

Verbose debug logs has been written to /root/logs/tiup-cluster-debug-2020-11-24-08-06-29.log.
Error: run /root/.tiup/components/cluster/v1.2.3/tiup-cluster (wd:/root/.tiup/data/SHDDm81) failed: exit status 1

2020-11-24T08:06:29.526+0800 ERROR tispark 10.105.1.153:7077 failed to start: timed out waiting for port 7077 to be started after 2m0s, please check the log of the instance
2020-11-24T08:06:29.526+0800 DEBUG TaskFinish {“task”: “StartCluster”, “error”: “failed to start tispark: \ttispark 10.105.1.153:7077 failed to start: timed out waiting for port 7077 to be started after 2m0s, please check the log of the instance: timed out waiting for port 7077 to be started after 2m0s”, “errorVerbose”: “timed out waiting for port 7077 to be started after 2m0s\ngithub.com/pingcap/tiup/pkg/cluster/module.(*WaitFor).Execute\ \tgithub.com/pingcap/tiup@/pkg/cluster/module/wait_for.go:90\ github.com/pingcap/tiup/pkg/cluster/spec.PortStarted\ \tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:101\ github.com/pingcap/tiup/pkg/cluster/spec.(*BaseInstance).Ready\ \tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:132\ github.com/pingcap/tiup/pkg/cluster/operation.startInstance\ \tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:564\ github.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\ \tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:679\ golang.org/x/sync/errgroup.(*Group).Go.func1\ \tgolang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:57\ runtime.goexit\ \truntime/asm_amd64.s:1357\ \ttispark 10.105.1.153:7077 failed to start: timed out waiting for port 7077 to be started after 2m0s, please check the log of the instance\ failed to start tispark”}
2020-11-24T08:06:29.526+0800 INFO Execute command finished {“code”: 1, “error”: “failed to start tispark: \ttispark 10.105.1.153:7077 failed to start: timed out waiting for port 7077 to be started after 2m0s, please check the log of the instance: timed out waiting for port 7077 to be started after 2m0s”, “errorVerbose”: “timed out waiting for port 7077 to be started after 2m0s\ngithub.com/pingcap/tiup/pkg/cluster/module.(*WaitFor).Execute\ \tgithub.com/pingcap/tiup@/pkg/cluster/module/wait_for.go:90\ github.com/pingcap/tiup/pkg/cluster/spec.PortStarted\ \tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:101\ github.com/pingcap/tiup/pkg/cluster/spec.(*BaseInstance).Ready\ \tgithub.com/pingcap/tiup@/pkg/cluster/spec/instance.go:132\ github.com/pingcap/tiup/pkg/cluster/operation.startInstance\ \tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:564\ github.com/pingcap/tiup/pkg/cluster/operation.StartComponent.func1\ \tgithub.com/pingcap/tiup@/pkg/cluster/operation/action.go:679\ golang.org/x/sync/errgroup.(*Group).Go.func1\ \tgolang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e/errgroup/errgroup.go:57\ runtime.goexit\ \truntime/asm_amd64.s:1357\ \ttispark 10.105.1.153:7077 failed to start: timed out waiting for port 7077 to be started after 2m0s, please check the log of the instance\ failed to start tispark”}

vim spark-tidb-org.apache.spark.deploy.master.Master-1-tidb-1-153.out

JAVA_HOME is not set

但是我要配置和安装java
export JAVA_HOME=/usr/local/jdk1.8.0_261

在profile文件和bash_profile文件配置了 .其他的启动正常

请参考下面的帖子,看下能否解决你的问题:

还有手动一台台启动给,这是哪里有问题吗

麻烦具体描述下现象以及对应的节点报错日志。