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.14k stars 393 forks source link

[Bug] [Module Name] intall not use root user #264

Open luhea opened 1 year ago

luhea commented 1 year ago

Search before asking

What happened

can i don't use root user install?i try add datasophon user and trust datasophon user in all hosts,but i get a lot of error:Caused by: SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied and exe cmd: cp or chmod +x . in fulture,can use sudo privileges intall or sh scritps?

What you expected to happen

Caused by: SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied and exe cmd: cp or chmod +x . in fulture,can use sudo privileges intall or sh scritps?

How to reproduce

use sudo privileges intall or sh scritps

Anything else

No response

Version

main

Are you willing to submit PR?

Code of Conduct

github-actions[bot] commented 1 year ago

Thank you for your feedback, we have received your issue, Please wait patiently for a reply.

leon-ziya commented 6 months ago

我遇到了同样的问题,已经配置好了节点之间的免密,root和特定用户均配置了,但是这两个用户都失败了,报错如下: [ERROR] [05/22/2024 00:02:22.647] [datasophon-akka.actor.default-dispatcher-2] [akka://datasophon/user/dispatcherWorkerActor-hadoop107] SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied java.lang.RuntimeException: SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied at com.datasophon.api.utils.MinaUtils.uploadFile(MinaUtils.java:177) at com.datasophon.api.master.handler.host.InstallJDKHandler.handle(InstallJDKHandler.java:47) at com.datasophon.api.master.handler.host.DispatcherWorkerHandlerChain.handle(DispatcherWorkerHandlerChain.java:38) at com.datasophon.api.master.DispatcherWorkerActor.onReceive(DispatcherWorkerActor.java:71) at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165) at akka.actor.Actor$class.aroundReceive(Actor.scala:502) at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526) at akka.actor.ActorCell.invoke(ActorCell.scala:495) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) at akka.dispatch.Mailbox.run(Mailbox.scala:224) at akka.dispatch.Mailbox.exec(Mailbox.scala:234) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Caused by: SFTP error (SSH_FX_PERMISSION_DENIED): Permission denied

请问如何解决此问题呢?