StefanRRichter commented on a change in pull request #6743: [FLINK-10411] Make 
ClusterEntrypoint more compositional
URL: https://github.com/apache/flink/pull/6743#discussion_r220200492
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/ClusterEntrypoint.java
 ##########
 @@ -141,11 +144,11 @@ protected ClusterEntrypoint(Configuration configuration) 
{
                shutDownHook = 
ShutdownHookUtil.addShutdownHook(this::cleanupDirectories, 
getClass().getSimpleName(), LOG);
        }
 
-       public CompletableFuture<Void> getTerminationFuture() {
+       public CompletableFuture<ApplicationStatus> getTerminationFuture() {
                return terminationFuture;
        }
 
-       protected void startCluster() {
+       protected void startCluster() throws ClusterEntrypointException {
 
 Review comment:
   Could currently be `private`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to