Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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
3 tasks done
JasonDylan opened this issue Sep 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@JasonDylan
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

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?

  • Yes I am willing to submit a PR!

Code of Conduct

@JasonDylan JasonDylan added the bug Something isn't working label Sep 16, 2024
@JasonDylan
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant