hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remus Rusanu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-1971) WindowsLocalWrapperScriptBuilder does not check for errors in generated script
Date Tue, 22 Apr 2014 08:05:15 GMT
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)

Mime
View raw message