Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6A501871B for ; Mon, 5 Oct 2015 11:04:26 +0000 (UTC) Received: (qmail 54411 invoked by uid 500); 5 Oct 2015 11:04:26 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 54359 invoked by uid 500); 5 Oct 2015 11:04:26 -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 54349 invoked by uid 99); 5 Oct 2015 11:04:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Oct 2015 11:04:26 +0000 Date: Mon, 5 Oct 2015 11:04:26 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-2797) CLI: Missing option to submit jobs in detached mode 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-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14943229#comment-14943229 ] ASF GitHub Bot commented on FLINK-2797: --------------------------------------- Github user sachingoel0101 commented on the pull request: https://github.com/apache/flink/pull/1214#issuecomment-145496208 Okay. I will push a fix. I intend to solve it like this: Maintain a static variable in `ExecutionEnvironment`, which is set to true whenever the job is submitted in a detached mode. And the DataSet api throws exceptions accordingly, which can again be handled by the Client to display proper error message. Does that sound okay? > CLI: Missing option to submit jobs in detached mode > --------------------------------------------------- > > Key: FLINK-2797 > URL: https://issues.apache.org/jira/browse/FLINK-2797 > Project: Flink > Issue Type: Bug > Components: Command-line client > Affects Versions: 0.9, 0.10 > Reporter: Maximilian Michels > Assignee: Sachin Goel > Fix For: 0.10 > > > Jobs can only be submitted in detached mode using YARN but not on a standalone installation. This has been requested by users who want to submit a job, get the job id, and later query its status. -- This message was sent by Atlassian JIRA (v6.3.4#6332)