You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2017/08/28 17:57:00 UTC

[jira] [Updated] (HADOOP-13663) Index out of range in SysInfoWindows

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

Allen Wittenauer updated HADOOP-13663:
--------------------------------------
    Component/s:     (was: scripts)
                 util
                 native

> 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: native, util
>    Affects Versions: 2.7.3
>         Environment: Windows
>            Reporter: Íñigo Goiri
>            Assignee: Íñigo Goiri
>             Fix For: 2.8.0, 3.0.0-alpha2
>
>         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.4.14#64029)

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