hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brook Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-5472) WIN_MAX_PATH logic is off by one
Date Thu, 04 Aug 2016 00:23:20 GMT
Brook Zhou created YARN-5472:

             Summary: WIN_MAX_PATH logic is off by one
                 Key: YARN-5472
                 URL: https://issues.apache.org/jira/browse/YARN-5472
             Project: Hadoop YARN
          Issue Type: Bug
          Components: nodemanager
         Environment: Windows
            Reporter: Brook Zhou
            Assignee: Brook Zhou
            Priority: Minor

The following check is incorrect:

    if (Shell.WINDOWS && sb.getWrapperScriptPath().toString().length() >     WIN_MAX_PATH)

should be >=, as the max path is defined as "D:\some 256-character path string<NUL>"

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org

View raw message