Github user ruankd commented on the issue:
https://github.com/apache/flink/pull/6140
Seen the same issue, my workaround is to have `JobManagerAddressOption` in
`runOptions` which is in
[Flink-1.4.2](https://github.com/apache/flink/blob/release-1.4.2/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java#L185)
but removed in Flink-1.5.0.
```
diff --git
a/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
b/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
index 1588aac..4872928 100644
---
a/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
+++
b/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontendParser.java
@@ -183,6 +183,7 @@ public class CliFrontendParser {
Options options = buildGeneralOptions(new Options());
options = getProgramSpecificOptions(options);
options.addOption(SAVEPOINT_PATH_OPTION);
+ options.addOption(ADDRESS_OPTION);
return
options.addOption(SAVEPOINT_ALLOW_NON_RESTORED_OPTION);
}
```
---