Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F2C110D2E for ; Sun, 9 Jun 2013 16:50:28 +0000 (UTC) Received: (qmail 95991 invoked by uid 500); 9 Jun 2013 16:50:28 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 95530 invoked by uid 500); 9 Jun 2013 16:50:22 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 95505 invoked by uid 99); 9 Jun 2013 16:50:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Jun 2013 16:50:20 +0000 Date: Sun, 9 Jun 2013 16:50:20 +0000 (UTC) From: "Steve Loughran (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-794) YarnClientImpl.submitApplication() to add a timeout MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Steve Loughran created YARN-794: ----------------------------------- Summary: YarnClientImpl.submitApplication() to add a timeout Key: YARN-794 URL: https://issues.apache.org/jira/browse/YARN-794 Project: Hadoop YARN Issue Type: Improvement Components: client Affects Versions: 3.0.0, 2.1.0-beta Reporter: Steve Loughran Priority: Minor {{YarnClientImpl.submitApplication()}} can spin forever waiting for the RM to accept the submission, ignoring interrupts on the sleep. # A timeout allows client applications to recognise and react to a failure of the RM to accept work in a timely manner. # The interrupt exception could be converted to an {{InterruptedIOException}} and raised within the current method signature -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira