You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2017/12/06 10:14:00 UTC

[jira] [Created] (FLINK-8212) Pull EnvironmentInformation out of TaskManagerServices

Till Rohrmann created FLINK-8212:
------------------------------------

             Summary: Pull EnvironmentInformation out of TaskManagerServices
                 Key: FLINK-8212
                 URL: https://issues.apache.org/jira/browse/FLINK-8212
             Project: Flink
          Issue Type: Improvement
          Components: Local Runtime
    Affects Versions: 1.5.0
            Reporter: Till Rohrmann
             Fix For: 1.5.0


We should pull the {{EnvironmentInformation}} out of the {{TaskManagerServices}} where it is used to get access to the memory settings of the executing JVM. This unnecessarily couples the former with the latter and makes testing extremely hard (one has to use {{PowerMockRunner}} and mock the static {{EnvironmentInformation}}).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)