njnu-seafish commented on issue #17317: URL: https://github.com/apache/dolphinscheduler/issues/17317#issuecomment-3031543868
> > an error will occur: yarn: command not found > > The main reason of this issue is this. You should install `yarn` command first and config the correct ResourceManager's url in `common.properties`. Thanks for your replay. The Yarn command has already been installed. First, I run the Yarn command using the root user. ` [[email protected]][~] # sudo -u dolphinscheduler yarn node -list sudo: yarn: command not found [[email protected]][~] # sudo -u dolphinscheduler -i yarn node -list Total Nodes:8 Node-Id Node-State Node-Http-Address Number-of-Running-Containers nm-bigdata-168030125.ctc.local:45454 RUNNING nm-bigdata-168030125.ctc.local:8042 1 nm-bigdata-168030122.ctc.local:45454 RUNNING nm-bigdata-168030122.ctc.local:8042 3 ` Then, I run the Yarn command using the dolphinscheduler user. ` [[email protected]][~] # su - dolphinscheduler [[email protected]][~] $ which hadoop /usr/local/hadoop3/bin/hadoop [[email protected]][~] $ yarn node -list Total Nodes:8 Node-Id Node-State Node-Http-Address Number-of-Running-Containers nm-bigdata-168030125.ctc.local:45454 RUNNING nm-bigdata-168030125.ctc.local:8042 1 nm-bigdata-168030122.ctc.local:45454 RUNNING nm-bigdata-168030122.ctc.local:8042 3 ` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
