samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bae, Jae Hyeon" <>
Subject How to get Container ID from configuration
Date Fri, 06 Mar 2015 00:41:53 GMT
Hi Samza devs

How can I get container id such as 0, 1, 2, ... up to yarn.container.count?

I tried to get some environment variable but it didn't work well.

If it's not easy to get the container id, I have to use process id to
distinguish containers from the same job running in the same machine but
container id will be more useful than process id.

Thank you
Best, Jae

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message