I am trying to use yarn distributed shell. I am executing yarn node -list command to list the nodes present in a 4 node HDP cluster.
But it is only listing the node where i am executing the command, not the whole node list.
However, I am able to see all the datanodes and namenodes from Ambari UI.