From issues-return-152038-archive-asf-public=cust-asf.ponee.io@flink.apache.org Mon Feb 12 16:58:06 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 3B383180652 for ; Mon, 12 Feb 2018 16:58:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2BD7E160C3F; Mon, 12 Feb 2018 15:58:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 72297160C31 for ; Mon, 12 Feb 2018 16:58:05 +0100 (CET) Received: (qmail 34025 invoked by uid 500); 12 Feb 2018 15:58:04 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 34016 invoked by uid 99); 12 Feb 2018 15:58:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2018 15:58:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 33D35C0042 for ; Mon, 12 Feb 2018 15:58:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 5Gc53IXz-wd3 for ; Mon, 12 Feb 2018 15:58:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 22A615F398 for ; Mon, 12 Feb 2018 15:58:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 51458E00C9 for ; Mon, 12 Feb 2018 15:58:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 18296240F2 for ; Mon, 12 Feb 2018 15:58:00 +0000 (UTC) Date: Mon, 12 Feb 2018 15:58:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-8530) Enable detached job submission for RestClusterClient MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-8530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16360943#comment-16360943 ] ASF GitHub Bot commented on FLINK-8530: --------------------------------------- GitHub user tillrohrmann opened a pull request: https://github.com/apache/flink/pull/5466 [FLINK-8530] [flip6] Enable detached job mode submission to session cluster ## What is the purpose of the change This commit makes the RestClusterClient aware whether the user wishes to submit a job in detached or non-detached mode. If it is detached, then the RestClusterClient won't poll for the execution result. This PR is based on #5428. ## Verifying this change - Added `RestClusterClientTest#testDetachedJobSubmission` ## 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) You can merge this pull request into a Git repository by running: $ git pull https://github.com/tillrohrmann/flink enableDetachedMode Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/5466.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #5466 ---- commit b2647f8d4f5e264640396d7fe72d8a392c89359b Author: Till Rohrmann Date: 2018-02-06T15:46:52Z [FLINK-8603] [flip6] Split submitJob into job submission and execution result retrieval Split RestClusterClient#submitJob into submitJob and requestJobResult which can be called individually. commit cfb0371ef8675ee65f3ed8af39bc5d29807d7c45 Author: Till Rohrmann Date: 2018-02-12T15:33:15Z [FLINK-8530] [flip6] Enable detached job mode submission to session cluster This commit makes the RestClusterClient aware whether the user wishes to submit a job in detached or non-detached mode. If it is detached, then the RestClusterClient won't poll for the execution result. ---- > Enable detached job submission for RestClusterClient > ---------------------------------------------------- > > Key: FLINK-8530 > URL: https://issues.apache.org/jira/browse/FLINK-8530 > Project: Flink > Issue Type: Improvement > Components: Client > Affects Versions: 1.5.0 > Reporter: Till Rohrmann > Assignee: Till Rohrmann > Priority: Major > Labels: flip-6 > Fix For: 1.5.0 > > > The {{RestClusterClient}} should also be able to submit jobs in detached mode. In detached mode, we don't wait for the {{JobExecutionResult}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005)