'JPS does not work after running in non-admin Session and then back in Admin Session
It's my first time asking a question, feel free to query for any information I forget to include.
I can run dfs and yarn components fine no issue in there. I enter the jps command to check the up and running java VMs.
In PowerShell with admin privileges, it shows the output as:
~ ❯ jps
17600 NameNode
2552 DataNode
7048 ResourceManager
10668 Jps
20396 NodeManager
Now if I run the same command jps in other terminal or PowerShell session with no admin rights it does not show any daemons running (which i totally understand no issue there):
~ ❯ jps
8732 Jps
But the issue is now in the admin terminal the jps does not work as the same. Now it does not show the daemons, it only outputs its own process. The below command is run in the same session (with admin rights) which showed the different Hadoop daemons previously running:
~ ❯ jps
7620 Jps
I have checked on the UI the node is perfectly fine and running with a green tick. What exactly is going on here? Please can someone point me in the right direction?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
