[
https://issues.apache.org/jira/browse/HADOOP-13663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15532541#comment-15532541
]
Steve Loughran edited comment on HADOOP-13663 at 9/29/16 12:05 PM:
-------------------------------------------------------------------
+1
committed to 2.8+
if you need this in 2.7.4, you'll need to open a new JIRA with a patch named
for a build & test against that branch. e.g
{{HADOOP-13663-branch-2.7-001.patch}}
was (Author: [email protected]):
+1, committed to 2.8+
if you need this in 2.7.4, you'll need to open a new JIRA with a patch named
for a build & test against that branch. e.g
{{HADOOP-13663-branch-2.7-001.patch}}
> Index out of range in SysInfoWindows
> ------------------------------------
>
> Key: HADOOP-13663
> URL: https://issues.apache.org/jira/browse/HADOOP-13663
> Project: Hadoop Common
> Issue Type: Bug
> Components: scripts
> Affects Versions: 2.7.3
> Environment: Windows
> Reporter: Inigo Goiri
> Assignee: Inigo Goiri
> Fix For: 2.8.0
>
> Attachments: HADOOP-13663.000.patch, HADOOP-13663.001.patch
>
>
> Sometimes, the {{NodeResourceMonitor}} tries to read the system utilization
> from winutils.exe and this return empty values. This triggers the following
> exception:
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
> at java.lang.String.substring(String.java:1911)
> at
> org.apache.hadoop.util.SysInfoWindows.refreshIfNeeded(SysInfoWindows.java:158)
> at
> org.apache.hadoop.util.SysInfoWindows.getPhysicalMemorySize(SysInfoWindows.java:247)
> at
> org.apache.hadoop.yarn.util.ResourceCalculatorPlugin.getPhysicalMemorySize(ResourceCalculatorPlugin.java:63)
> at
> org.apache.hadoop.yarn.server.nodemanager.NodeResourceMonitorImpl$MonitoringThread.run(NodeResourceMonitorImpl.java:139)
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]