flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tillrohrmann <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2111] Add "stop" signal to cleanly shut...
Date Wed, 26 Aug 2015 14:25:17 GMT
Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/750#discussion_r37987664
  
    --- Diff: flink-clients/src/main/java/org/apache/flink/client/program/Client.java ---
    @@ -491,9 +495,58 @@ public void cancel(JobID jobId) throws Exception {
     		}
     	}
     
    +	/**
    +	 * Stops a program on Flink cluster whose job-manager is configured in this client's
configuration.
    +	 * Stopping works only for streaming programs. Be aware, that the program might continue
to run for
    +	 * a while after sending the stop command, because after sources stopped to emit data
all operators
    +	 * need to finish processing.
    +	 * 
    +	 * @param jobId
    +	 *            the job ID of the streaming program to stop
    +	 * @throws ProgramStopException
    +	 *             If the job ID in invalid (ie, is unknown or refers to a batch job) of
if sending the stop signal
    --- End diff --
    
    of = or


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message