samza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raul Castro Fernandez (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SAMZA-192) Log container PID
Date Fri, 06 Jun 2014 22:42:02 GMT

    [ https://issues.apache.org/jira/browse/SAMZA-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14020481#comment-14020481
] 

Raul Castro Fernandez commented on SAMZA-192:
---------------------------------------------

I added a new Util.getContainerPID that returns containerPID: Option[Int].
containerPID is now a member of SamzaContainer. Should it also be a member of SamzaContainerContext?

> Log container PID
> -----------------
>
>                 Key: SAMZA-192
>                 URL: https://issues.apache.org/jira/browse/SAMZA-192
>             Project: Samza
>          Issue Type: Improvement
>          Components: container
>            Reporter: Jakob Homan
>            Assignee: Raul Castro Fernandez
>            Priority: Minor
>              Labels: newbie
>
> It would be nice if we logged the container PID at startup for easy reference later on.
 However, looks like Java may make this a bit difficult: http://stackoverflow.com/questions/35842/how-can-a-java-program-get-its-own-process-id



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message