How to know whether druid services are running

1,370 views
Skip to first unread message

Mahesh Abnave

unread,
Jul 15, 2016, 4:34:48 AM7/15/16
to Druid User
I connected to my Ubuntu machine running single node druid cluster from putty yesterday. Today all those putty sessions are terminated and after reconnecting it is reset to new command line. So it is no more showing log lines emitted by individual services to the putty.

I will like to make this work like hadoop daemons.
In using hadoop, I usually check log files to know what really going on. Also I run jps commands to know which daemons are  running. Is it possible to get such or similar behavior with druid with quick configuration.

Currently I am redirecting output of the startup commands with command 2>=1 | tee filepath

Nishant Bangarwa

unread,
Jul 15, 2016, 6:57:25 AM7/15/16
to Druid User
Hi Mahesh, 
All druid nodes are java processes and would show up in JPS command. 
We also made some improvements to druid launch scripts recently, one of which is adding a status command which can be used to check the status of druid daemons.  
these are currently available in latest master - https://github.com/druid-io/druid/pull/3175

--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+...@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/28b798a5-1550-4f89-a191-1b5524ae7f49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mahesh Abnave

unread,
Jul 15, 2016, 8:39:56 AM7/15/16
to Druid User

I have tried JPS. in case of druid it just shows "Main" for all Java processes, unlike hadoop or hbase which shows name of daemon "Namenode", "Datanode" etc.

Gian Merlino

unread,
Jul 15, 2016, 11:24:28 AM7/15/16
to druid...@googlegroups.com
Hey Mahesh,

You can run jps -m to see the command that was run. It will look like this.

$ jps -m
6438 Main server coordinator
6439 Main server overlord

Gian

Message has been deleted

Mahesh Abnave

unread,
Jul 18, 2016, 4:24:44 AM7/18/16
to Druid User
ohh thats what precisely I wanted...never felt jps can also have options...thanks a tonne
Reply all
Reply to author
Forward
0 new messages