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 49C3C11408 for ; Tue, 22 Apr 2014 08:05:22 +0000 (UTC) Received: (qmail 76202 invoked by uid 500); 22 Apr 2014 08:05:20 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 75913 invoked by uid 500); 22 Apr 2014 08:05:16 -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 75874 invoked by uid 99); 22 Apr 2014 08:05:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 08:05:15 +0000 Date: Tue, 22 Apr 2014 08:05:15 +0000 (UTC) From: "Remus Rusanu (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-1971) WindowsLocalWrapperScriptBuilder does not check for errors in generated script MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Remus Rusanu created YARN-1971: ---------------------------------- Summary: WindowsLocalWrapperScriptBuilder does not check for errors in generated script Key: YARN-1971 URL: https://issues.apache.org/jira/browse/YARN-1971 Project: Hadoop YARN Issue Type: Bug Reporter: Remus Rusanu Assignee: Remus Rusanu Priority: Minor Similar to YARN-1865. The DefaultContainerExecutor.WindowsLocalWrapperScriptBuilder builds a shell script that contains commands that potentially may fail: {code} pout.println("@echo " + containerIdStr + " > " + normalizedPidFile +".tmp"); pout.println("@move /Y " + normalizedPidFile + ".tmp " + normalizedPidFile); {code} These can fail due to access permissions, disc out of space, bad hardware, cosmic rays etc etc. There should be proper error checking to ease troubleshooting. -- This message was sent by Atlassian JIRA (v6.2#6252)