You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Xiang Hua <be...@gmail.com> on 2012/09/14 04:48:48 UTC

nonroot user can not find all the hadoop process

Hi,

     nonroot user can not find all the hadoop process.

     1. root use find all the process, below:
[root@hadoop1 ~]# jps
17452 SecondaryNameNode
18266 Main
7759 Jps
32095 QuorumPeerMain
17108 JobTracker
16955 TaskTracker
17566 HMaster
17177 NameNode
17765 HRegionServer
19424 ThriftServer
17303 DataNode

   2.  but nonroot user only find some, below:


-bash-4.1$ jps
17452 SecondaryNameNode
7736 Jps
17177 NameNode
17303 DataNode

3. maybe .bash_profiel problem?

Thanks!

beatls@gmail.com

Re: nonroot user can not find all the hadoop process

Posted by Jean-Daniel Cryans <jd...@apache.org>.
>From jps' man page:

DESCRIPTION
       The jps tool lists the instrumented HotSpot Java Virtual
Machines (JVMs) on the target system. The tool is limited to reporting
information on JVMs for which it  has
       the access permissions.

So normally it only shows you your own processes if you're not root.

By the way, this is not an HBase question, please stay on topic.

J-D

On Thu, Sep 13, 2012 at 7:48 PM, Xiang Hua <be...@gmail.com> wrote:
> Hi,
>
>      nonroot user can not find all the hadoop process.
>
>      1. root use find all the process, below:
> [root@hadoop1 ~]# jps
> 17452 SecondaryNameNode
> 18266 Main
> 7759 Jps
> 32095 QuorumPeerMain
> 17108 JobTracker
> 16955 TaskTracker
> 17566 HMaster
> 17177 NameNode
> 17765 HRegionServer
> 19424 ThriftServer
> 17303 DataNode
>
>    2.  but nonroot user only find some, below:
>
>
> -bash-4.1$ jps
> 17452 SecondaryNameNode
> 7736 Jps
> 17177 NameNode
> 17303 DataNode
>
> 3. maybe .bash_profiel problem?
>
> Thanks!
>
> beatls@gmail.com