Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

I can not run yarn commands on the cluster

avatar
Explorer

Hi,

we have a hortonwork cluster which a yarn client is installed on that. I need to ssh to cluster and then run yarn commands. I can access the ambari using below

http://192.168.12.1:8080

I can use SSH to the node using putty,

ssh user@192.168.12.1 -p 22

however, I cant run yarn commands while I know we have yarn installed.

I am new to hortonworks so can you guide me to run yarn commands on the cluster

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Lucy zhang

If you are using Sandbox then you should using ssh port 2222 to connect to instead of 22 to access all the commands.

# ssh user@192.168.12.1 -p 2222

.

If it is not a sandbox then you should make sure that you have installed the Yarn Clients to the host where you are trying to run the yarn commands.

If you have already installed Yarn clients on that host then Which yarn command exactly is not working?

Still if you face any error/exeption then please share the trace.

View solution in original post

3 REPLIES 3

avatar
Contributor

What command are you trying to run ? Is it throwing any error/response that you can post?

avatar
Master Mentor

@Lucy zhang

If you are using Sandbox then you should using ssh port 2222 to connect to instead of 22 to access all the commands.

# ssh user@192.168.12.1 -p 2222

.

If it is not a sandbox then you should make sure that you have installed the Yarn Clients to the host where you are trying to run the yarn commands.

If you have already installed Yarn clients on that host then Which yarn command exactly is not working?

Still if you face any error/exeption then please share the trace.

avatar
Explorer

HI, thanks for your reply, it seems that I have not yarn client installed on that node..I ssh to t

192.168.12.1 as I have user and password for that. SSH client is insattled on another host such as 192.168.12.3 do I need to ssh to it again. Can I traverse between cluster nodes without SSH as I don't have user and password for that node having SSH client