Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - nonroot user can not find all the hadoop process


Copy link to this message
-
Re: nonroot user can not find all the hadoop process
Jean-Daniel Cryans 2012-09-14, 03:22
>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 <[EMAIL PROTECTED]> 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!
>
> [EMAIL PROTECTED]