accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1555) ajps. an accumulo jps script.
Date Sun, 07 Jul 2013 15:45:48 GMT


Jonathan Hsieh commented on ACCUMULO-1555:

1) I wasn't aware of jps's -m option (or the other options) and this was useful where I've
used accumulo on a cluster managed by Cloudera Manager.  CM is guilty of launching processes
called Main.  ex:

# jps -m
16828 NameNode
2166 HeadlampServer --db-conf-dir /var/run/cloudera-scm-agent/process/303-cloudera-mgmt-REPORTSMANAGER
--db-conf-file --mgmt-home /usr/share/cmf
19939 war --httpPort=58080
2067 NavigatorMain --conf-dir /var/run/cloudera-scm-agent/process/305-cloudera-mgmt-NAVIGATOR
29923 Main
26980 Main monitor --address
7560 DFSZKFailoverController
2044 Main --pipeline-type ACTIVITY_MONITORING_TREE --mgmt-home /usr/share/cmf
26888 Main gc --address
2139 AlertPublisher
26721 Main master --address <node1>
6993 QuorumPeerMain /var/run/cloudera-scm-agent/process/393-zookeeper-server/zoo.cfg
27099 Main tracer --address <node1>
31508 Jps -m
2020 EventCatcherService
2113 Main --pipeline-type SERVICE_MONITORING --mgmt-home /usr/share/cmf
634 JobTracker
2088 Main --pipeline-type HOST_MONITORING --mgmt-home /usr/share/cmf
7610 JournalNode

That said the longer jps -ml | grep accumulo works pretty well.

# ajps
26721 master --address <node1>
26888 gc --address <node1>
26980 monitor --address <node1>
27099 tracer --address <node1>

# jps -lm | grep accumulo
26980 org.apache.accumulo.start.Main monitor --address <node1>
26888 org.apache.accumulo.start.Main gc --address <node1>
26721 org.apache.accumulo.start.Main master --address <node1>
27099 org.apache.accumulo.start.Main tracer --address <node1>

2) I've only used pssh with the accumulo code base and haven't used pdsh.  (I use cssh for
my small test clusters).  I'll give pdsh a try and update it if you think this is worth pursuing
> ajps.  an accumulo jps script.  
> --------------------------------
>                 Key: ACCUMULO-1555
>                 URL:
>             Project: Accumulo
>          Issue Type: New Feature
>          Components: scripts
>            Reporter: Jonathan Hsieh
>            Assignee: Jonathan Hsieh
>         Attachments: accumulo-1555.patch
> Finding the accumulo processes on a machine is a bit annoying because:
> 1) All processes are called 'Main' in jps (other systems do this as well)
> 2) long jvm-related argument lists make it difficult to find which pids are for particular
daemons like the tserver, randomwalkers, etc.
> This patch adds a script to provide a concise listing suitable other scripting.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message