[
https://issues.apache.org/jira/browse/FLINK-5322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15746008#comment-15746008
]
Shannon Carey commented on FLINK-5322:
--------------------------------------
Yes, that worked! Thanks! It becomes available from within UDF (streaming
operator) code. Perhaps this ticket can be adapted to just clarify the
documentation to explain that the YAML isn't really interpreted the way people
may expect/to provide an example?
> 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)