Skip to content

Conversation

@tillrohrmann
Copy link
Contributor

What is the purpose of the change

The RestClusterClient resolves a dispatcher address without an explicit host
to 'localhost'. That way we allow the RestClusterClient to talk to a Dispatcher
which runs in a local ActorSystem.

cc: @aljoscha

Verifying this change

  • Added ScalaUtilsTest#testOptionToOptional

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): (no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
  • The S3 file system connector: (no)

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable)

…atcher

The RestClusterClient resolves a dispatcher address without an explicit host
to 'localhost'. That way we allow the RestClusterClient to talk to a Dispatcher
which runs in a local ActorSystem.
@rice668
Copy link

rice668 commented Mar 1, 2018

I watched the code and think it is very good. But the travis says

Results :

Tests in error: 
  FlinkKafkaProducer011ITCase.testScaleDownBeforeFirstCheckpoint:333 » TestTimedOut

Tests run: 42, Failures: 0, Errors: 1, Skipped: 0

18:43:11.642 [INFO] ------------------------------------------------------------------------
18:43:11.642 [INFO] Reactor Summary:
18:43:11.642 [INFO] 
18:43:11.642 [INFO] flink-hadoop-fs .................................... SUCCESS [ 16.959 s]
18:43:11.642 [INFO] flink-mapr-fs ...................................... SUCCESS [  5.138 s]
18:43:11.642 [INFO] flink-s3-fs-hadoop ................................. SUCCESS [ 30.410 s]
18:43:11.642 [INFO] flink-s3-fs-presto ................................. SUCCESS [ 31.165 s]
18:43:11.643 [INFO] flink-hadoop-compatibility ......................... SUCCESS [01:05 min]
18:43:11.643 [INFO] flink-avro ......................................... SUCCESS [ 23.859 s]
18:43:11.643 [INFO] flink-jdbc ......................................... SUCCESS [  8.501 s]
18:43:11.643 [INFO] flink-hbase ........................................ SUCCESS [ 46.495 s]
18:43:11.643 [INFO] flink-hcatalog ..................................... SUCCESS [  0.871 s]
18:43:11.643 [INFO] flink-connector-kafka-base ......................... SUCCESS [  7.658 s]
18:43:11.643 [INFO] flink-connector-kafka-0.8 .......................... SUCCESS [02:32 min]
18:43:11.643 [INFO] flink-connector-kafka-0.9 .......................... SUCCESS [02:49 min]
18:43:11.643 [INFO] flink-connector-kafka-0.10 ......................... SUCCESS [02:49 min]
18:43:11.643 [INFO] flink-connector-kafka-0.11 ......................... FAILURE [10:49 min]
18:43:11.643 [INFO] flink-connector-elasticsearch-base ................. SKIPPED
18:43:11.643 [INFO] flink-connector-elasticsearch ...................... SKIPPED
18:43:11.643 [INFO] flink-connector-elasticsearch2 ..................... SKIPPED
18:43:11.643 [INFO] flink-connector-elasticsearch5 ..................... SKIPPED
18:43:11.643 [INFO] flink-connector-rabbitmq ........................... SKIPPED
18:43:11.643 [INFO] flink-connector-twitter ............................ SKIPPED
18:43:11.643 [INFO] flink-connector-nifi ............................... SKIPPED
18:43:11.643 [INFO] flink-connector-cassandra .......................... SKIPPED
18:43:11.643 [INFO] flink-connector-filesystem ......................... SKIPPED
18:43:11.643 [INFO] flink-connector-kinesis ............................ SKIPPED
18:43:11.643 [INFO] flink-connector-wikiedits .......................... SKIPPED
18:43:11.643 [INFO] ------------------------------------------------------------------------
18:43:11.643 [INFO] BUILD FAILURE
18:43:11.643 [INFO] ------------------------------------------------------------------------
18:43:11.643 [INFO] Total time: 23:00 min
18:43:11.643 [INFO] Finished at: 2018-02-28T18:43:11+00:00
18:43:12.101 [INFO] Final Memory: 117M/746M

@aljoscha
Copy link
Contributor

aljoscha commented Mar 1, 2018

+1 to merge this 👌

tillrohrmann added a commit to tillrohrmann/flink that referenced this pull request Mar 1, 2018
…atcher

The RestClusterClient resolves a dispatcher address without an explicit host
to 'localhost'. That way we allow the RestClusterClient to talk to a Dispatcher
which runs in a local ActorSystem.

This closes apache#5599.
tillrohrmann added a commit to tillrohrmann/flink that referenced this pull request Mar 1, 2018
…atcher

The RestClusterClient resolves a dispatcher address without an explicit host
to 'localhost'. That way we allow the RestClusterClient to talk to a Dispatcher
which runs in a local ActorSystem.

This closes apache#5599.
tillrohrmann added a commit to tillrohrmann/flink that referenced this pull request Mar 1, 2018
…atcher

The RestClusterClient resolves a dispatcher address without an explicit host
to 'localhost'. That way we allow the RestClusterClient to talk to a Dispatcher
which runs in a local ActorSystem.

This closes apache#5599.
@asfgit asfgit closed this in 63b3563 Mar 2, 2018
asfgit pushed a commit that referenced this pull request Mar 2, 2018
…atcher

The RestClusterClient resolves a dispatcher address without an explicit host
to 'localhost'. That way we allow the RestClusterClient to talk to a Dispatcher
which runs in a local ActorSystem.

This closes #5599.
@tillrohrmann tillrohrmann deleted the localhostSupportForRestClusterClient branch May 29, 2018 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants