[ https://issues.apache.org/jira/browse/YARN-8246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735888#comment-16735888 ]
Peter Goron commented on YARN-8246: ----------------------------------- Hello, I've observed the same error in yarn node manager logs while testing hadoop on my local pc. 19/01/07 15:15:27 ERROR util.SysInfoWindows: ExitCodeException exitCode=1: PdhAddCounter \Network Interface(*)\Bytes Received/Sec failed with 0xc0000bb8. Error in GetDiskAndNetwork. Err:1 at org.apache.hadoop.util.Shell.runCommand(Shell.java:972) at org.apache.hadoop.util.Shell.run(Shell.java:869) at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1170) at org.apache.hadoop.util.SysInfoWindows.getSystemInfoInfoFromShell(SysInfoWindows.java:85) at org.apache.hadoop.util.SysInfoWindows.refreshIfNeeded(SysInfoWindows.java:100) at org.apache.hadoop.util.SysInfoWindows.getPhysicalMemorySize(SysInfoWindows.java:152) at org.apache.hadoop.yarn.util.ResourceCalculatorPlugin.getPhysicalMemorySize(ResourceCalculatorPlugin.java:63) at org.apache.hadoop.yarn.server.nodemanager.NodeResourceMonitorImpl$MonitoringThread.run(NodeResourceMonitorImpl.java:139) As stated by Neil S. the issue comes from the "winutils systeminfo" command. It fails to retrieve disk and network performance counters on non-english windows installation. By using a language neutral api to retrieve performance counters, the error disappears (see pr [https://github.com/apache/hadoop/pull/458] ) Rgds, Peter > The command "winutils systeminfo" returns an error with the code 1 and a > message PdhAddCounter \Network Interface(*)\Bytes Received/Sec failed with > 0xc0000bb8. Error in GetDiskAndNetwork. Err:1 when running Hadoop 3.0.0 on > Windows 7 64 bit > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: YARN-8246 > URL: https://issues.apache.org/jira/browse/YARN-8246 > Project: Hadoop YARN > Issue Type: Bug > Components: api > Affects Versions: 2.8.0, 2.9.0, 2.8.1, 2.8.2, 2.8.3, 3.0.0, 3.0.1, 3.0.2 > Reporter: Neil S > Priority: Blocker > > yarn nodemanager writes an error to the consol > 2018-05-04 14:09:28,512 ERROR util.SysInfoWindows: ExitCodeException > exitCode=1: > PdhAddCounter \Network Interface(*)\Bytes Received/Sec failed with > 0xc0000bb8. > Error in GetDiskAndNetwork. Err:1 > at org.apache.hadoop.util.Shell.runCommand(Shell.java:994) > at org.apache.hadoop.util.Shell.run(Shell.java:887) > at > org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:1212) > at > org.apache.hadoop.util.SysInfoWindows.getSystemInfoInfoFromShell(SysInfoWindows.java:86) > at > org.apache.hadoop.util.SysInfoWindows.refreshIfNeeded(SysInfoWindows.java:101) > at > org.apache.hadoop.util.SysInfoWindows.getPhysicalMemorySize(SysInfoWindows.java:153) > at > org.apache.hadoop.yarn.util.ResourceCalculatorPlugin.getPhysicalMemorySize(ResourceCalculatorPlugin.java:64) > at > org.apache.hadoop.yarn.server.nodemanager.NodeResourceMonitorImpl$MonitoringThread.run(NodeResourceMonitorImpl.java:140) > > The issue can also be reproduced by running manualy "winutils systeminfo" > command in the Windows 7x64 command console with Hadoop versions newer than > 2.7 installed. > > > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org