You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Shannon Carey (JIRA)" <ji...@apache.org> on 2016/12/12 18:11:58 UTC

[jira] [Updated] (FLINK-5322) yarn.taskmanager.env value does not appear in System.getenv

     [ https://issues.apache.org/jira/browse/FLINK-5322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shannon Carey updated FLINK-5322:
---------------------------------
    Description: 
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.

  was:
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.



> 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)