[jira] [Updated] (YARN-5472) WIN_MAX_PATH logic is off by one

2016-10-27 Thread Ray Chiang (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ray Chiang updated YARN-5472:
-
Labels: oct16-easy  (was: )

> 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
>Affects Versions: 2.6.0
> Environment: Windows
>Reporter: Brook Zhou
>Assignee: Brook Zhou
>Priority: Minor
>  Labels: oct16-easy
> Attachments: YARN-5472-v0.patch
>
>
> The following check is incorrect in DefaultContainerExecutor:
> 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" on Windows platforms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-5472) WIN_MAX_PATH logic is off by one

2016-08-08 Thread Brook Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brook Zhou updated YARN-5472:
-
Attachment: YARN-5472-v0.patch

> 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
>Affects Versions: 2.6.0
> Environment: Windows
>Reporter: Brook Zhou
>Assignee: Brook Zhou
>Priority: Minor
> Attachments: YARN-5472-v0.patch
>
>
> The following check is incorrect in DefaultContainerExecutor:
> 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" on Windows platforms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-5472) WIN_MAX_PATH logic is off by one

2016-08-03 Thread Brook Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brook Zhou updated YARN-5472:
-
Description: 
The following check is incorrect in DefaultContainerExecutor:

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" on Windows platforms.

  was:
The following check is incorrect in DefaultContainerExecutor:

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" 


> 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
>Affects Versions: 2.6.0
> Environment: Windows
>Reporter: Brook Zhou
>Assignee: Brook Zhou
>Priority: Minor
>
> The following check is incorrect in DefaultContainerExecutor:
> 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" on Windows platforms.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-5472) WIN_MAX_PATH logic is off by one

2016-08-03 Thread Brook Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brook Zhou updated YARN-5472:
-
Affects Version/s: 2.6.0

> 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
>Affects Versions: 2.6.0
> Environment: Windows
>Reporter: Brook Zhou
>Assignee: Brook Zhou
>Priority: Minor
>
> The following check is incorrect in DefaultContainerExecutor:
> 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" 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org



[jira] [Updated] (YARN-5472) WIN_MAX_PATH logic is off by one

2016-08-03 Thread Brook Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-5472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brook Zhou updated YARN-5472:
-
Description: 
The following check is incorrect in DefaultContainerExecutor:

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" 

  was:
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" 


> 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 in DefaultContainerExecutor:
> 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" 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org