[ 
https://issues.apache.org/jira/browse/YARN-8246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055202#comment-17055202
 ] 

Íñigo Goiri commented on YARN-8246:
-----------------------------------

This should move to Hadoop core as this is general.
In addition, can you point to the reference for this API?

> 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
(v8.3.4#803005)

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

Reply via email to