Skip to content

Commit

Permalink
[FLINK-8347] [flip6] Make cluster id used by ClusterDescriptor typesafe
Browse files Browse the repository at this point in the history
The ClusterDescriptor uses a typed cluster id for the ClusterClient retrieval.
Moreover, the ClusterClient and the CustomCommandLine are typed accordingly.

This closes #5232.
  • Loading branch information
tillrohrmann committed Jan 12, 2018
1 parent fda1948 commit ac34a61
Show file tree
Hide file tree
Showing 42 changed files with 528 additions and 464 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class RemoteExecutor extends PlanExecutor {

private final Configuration clientConfiguration;

private ClusterClient client;
private ClusterClient<?> client;

private int defaultParallelism = 1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* a ZooKeeper namespace.
*
*/
public abstract class AbstractCustomCommandLine implements CustomCommandLine {
public abstract class AbstractCustomCommandLine<T> implements CustomCommandLine<T> {

protected final Option zookeeperNamespaceOption = new Option("z", "zookeeperNamespace", true,
"Namespace to create the Zookeeper sub-paths for high availability mode");
Expand Down

0 comments on commit ac34a61

Please sign in to comment.