ENV_CONTAINER_ID does not look existing in 0.8.0. I will try
ENV_CONTAINER_NAME.

On Thu, Mar 5, 2015 at 5:09 PM, Chris Riccomini <criccom...@apache.org>
wrote:

> Hey Jae,
>
> Also, this should work:
>
>   System.getenv(ShellCommandConfig.ENV_CONTAINER_ID).toInt
>
> This is actually how SamzaContainer gets its containerId variable. BTW,
> I've opened:
>
> https://issues.apache.org/jira/browse/SAMZA-586
>
> To track exposing SamzaContainerContext.
>
> Cheers,
> Chris
>

Reply via email to