Github user StephanEwen commented on a diff in the pull request:
https://github.com/apache/incubator-flink/pull/248#discussion_r21429934
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/taskmanager/TaskManager.java
---
@@ -1075,9 +1080,19 @@ public static void main(String[] args) throws
IOException {
String configDir = line.getOptionValue(configDirOpt.getOpt(),
null);
String tempDirVal = line.getOptionValue(tempDir.getOpt(), null);
+ String jobmanagerAdd =
line.getOptionValue(defaultJobManagerAddressOpt.getOpt(), null);
// First, try to load global configuration
GlobalConfiguration.loadConfiguration(configDir);
+
+ // The configuretion does not contain a jobmanager address
+ if
(GlobalConfiguration.getString(ConfigConstants.JOB_MANAGER_IPC_ADDRESS_KEY,
null) == null) {
+ Configuration c =
GlobalConfiguration.getConfiguration();
+
c.setString(ConfigConstants.JOB_MANAGER_IPC_ADDRESS_KEY, jobmanagerAdd);
+ LOG.info("Setting jobmanager rpc address to " +
jobmanagerAdd);
+ GlobalConfiguration.includeConfiguration(c);
--- End diff --
same here, see above.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---