[
https://issues.apache.org/jira/browse/YARN-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated YARN-316:
-------------------------------
Attachment: YARN-316-branch-trunk-win.3.patch
I'm attaching version 3 of the patch to incorporate the feedback.
The jar bundling logic is still behind a check for Windows as a safety net. I
did test on Mac with that check removed, and it worked. Hopefully that means
we're set up well for YARN-358 to be an easy change in the future.
I did add a check in {{DefaultContainerExecutor}} to fail fast if the launch
script would fail due to the Windows path length limitation.
> YARN container launch may exceed maximum Windows command line length due to
> long classpath
> ------------------------------------------------------------------------------------------
>
> Key: YARN-316
> URL: https://issues.apache.org/jira/browse/YARN-316
> Project: Hadoop YARN
> Issue Type: Bug
> Components: nodemanager
> Affects Versions: 3.0.0, trunk-win
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Attachments: YARN-316-branch-trunk-win.1.patch,
> YARN-316-branch-trunk-win.2.patch, YARN-316-branch-trunk-win.3.patch
>
>
> On Windows, a command line longer than 8192 characters will fail. This can
> cause YARN container launch to fail on Windows if the classpath argument
> exceeds this limit.
--
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