Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD89B18C54 for ; Thu, 17 Dec 2015 21:09:47 +0000 (UTC) Received: (qmail 61009 invoked by uid 500); 17 Dec 2015 21:09:47 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 60921 invoked by uid 500); 17 Dec 2015 21:09:47 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 60616 invoked by uid 99); 17 Dec 2015 21:09:47 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2015 21:09:47 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B7AE22C1F75 for ; Thu, 17 Dec 2015 21:09:46 +0000 (UTC) Date: Thu, 17 Dec 2015 21:09:46 +0000 (UTC) From: "Inigo Goiri (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-12356) CPU usage statistics on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062823#comment-15062823 ] Inigo Goiri commented on HADOOP-12356: -------------------------------------- We have tested in both Windows and Linux and this patch makes both report values from 0 to 100%. Agreed on adding the description, it took me a while to see what was wrong. I still think that it would be better to just do the Commons change here in HADOOP and open a bug for the {{NodeResourceMonitorImpl}} in YARN. [~leftnoteasy] what do you think? > CPU usage statistics on Windows > ------------------------------- > > Key: HADOOP-12356 > URL: https://issues.apache.org/jira/browse/HADOOP-12356 > Project: Hadoop Common > Issue Type: Bug > Components: util > Environment: CPU: Intel Xeon > OS: Windows server > Reporter: Yunqi Zhang > Assignee: Yunqi Zhang > Labels: easyfix, newbie, patch > Attachments: 0001-Correct-the-CPU-usage-calcualtion.patch, 0001-Correct-the-CPU-usage-calcualtion.patch, HADOOP-12356-v3.patch > > Original Estimate: 2h > Remaining Estimate: 2h > > The CPU usage information on Windows is computed incorrectly. The proposed patch fixes the issue, and unifies the the interface with Linux. -- This message was sent by Atlassian JIRA (v6.3.4#6332)