[
https://issues.apache.org/jira/browse/FLINK-5322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15742870#comment-15742870
]
Chesnay Schepler commented on FLINK-5322:
-----------------------------------------
Could you try whether this works:
{code}
yarn.taskmanager.env.MY_ENV: test
{code}
> yarn.taskmanager.env value does not appear in System.getenv
> -----------------------------------------------------------
>
> Key: FLINK-5322
> URL: https://issues.apache.org/jira/browse/FLINK-5322
> Project: Flink
> Issue Type: Bug
> Components: YARN
> Environment: Flink 1.1.3 on AWS EMR emr-5.2.0 (Hadoop "Amazon 2.7.3")
> Reporter: Shannon Carey
> Priority: Trivial
> Fix For: 1.1.3
>
>
> The value I specified in flink-conf.yaml
> {code}
> yarn.taskmanager.env:
> MY_ENV: test
> {code}
> is not available in {{System.getenv("MY_ENV")}} from the plan execution
> (execution flow of main method) nor from within execution of a streaming
> operator.
> Interestingly, it does appear within the Flink JobManager Web UI under Job
> Manager -> Configuration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)