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 GitBox <gi...@apache.org> on 2019/01/07 14:02:40 UTC

[GitHub] pgoron opened a new pull request #458: YARN-8246 winutils - fix failure to retrieve disk and network perf co…

pgoron opened a new pull request #458: YARN-8246 winutils - fix failure to retrieve disk and network perf co…
URL: https://github.com/apache/hadoop/pull/458
 
 
   …unters on localized windows installlation.
   
   PdhAddCounter expects performance counter path to be in the same language than the windows installation.
   With current code, the calls to PdhAddCounter will fail with error 0xc0000bb8 (PDH_CSTATUS_NO_OBJECT)
   on non-english windows installation.
   
   The solution is to use PdhAddEnglishCounter function instead
   https://docs.microsoft.com/en-us/windows/desktop/api/pdh/nf-pdh-pdhaddenglishcounterw
   
   "This function provides a language-neutral way to add performance counters to the query"

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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