datavane / datasophon

The next generation of cloud-native big data management expert , Aims to help users rapidly build stable, efficient, and scalable cloud-native platforms for big data.
https://datasophon.github.io/datasophon-website/
Apache License 2.0
1.13k stars 393 forks source link

[Bug] [datasophon-api.sh ] 执行sudo bash bin/datasophon-api.sh start api 的时/etc/profile.d/datasophon-env.sh: line 16: hadoop: command not found #613

Open JasonDylan opened 2 months ago

JasonDylan commented 2 months ago

Search before asking

What happened

执行sudo bash bin/datasophon-api.sh start api 的时/etc/profile.d/datasophon-env.sh: line 16: hadoop: command not found 请问一下,需要手动将/opt/datasophon/DDP/packages 底下的所有安装包解压到/opt/datasophon/ 么?

这个怎么办?是需要做解压么?

What you expected to happen

应该正常启动

How to reproduce

我一开始做了一个链接sudo ln -s /opt/datasophon/DDP/packages/datasophon-manager-1.2.1 /opt/datasophon/datasophon-manager-1.2.1 然后在/opt/datasophon/datasophon-manager-1.2.1启动了sudo bash bin/datasophon-api.sh start api 第一次的结果没有注意 但是现在再执行sudo bash bin/datasophon-api.sh start api 的时候会遇到报错 /etc/profile.d/datasophon-env.sh: line 16: hadoop: command not found

Anything else

No response

Version

dev

Are you willing to submit PR?

Code of Conduct

JasonDylan commented 2 months ago

哦好像是因为我的mysql 配置密码错了 conf/datasophon.conf