[
https://issues.apache.org/jira/browse/YARN-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561269#comment-13561269
]
Bikas Saha commented on YARN-316:
---------------------------------
If its not too much work, could you try using
http://commons.apache.org/lang/api-release/org/apache/commons/lang3/text/StrSubstitutor.html
instead of writing a custom string substitutor. Dont bother if its going to be
a lot of effort.
What prompted this change in MiniYarnCluster?
{code}
+ "-" + dirType + "Dir-nm-" + index + "_" + i);
- dirs[i].mkdir();
+ dirs[i].mkdirs();
{code}
Do we still need to use SimpleNames after using symlink?
Is there a JIRA to make the env substitution work for branch-1-win when
creating the classpath manifest? What about * expansion?
> 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
>
>
> 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