Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-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 50D0610929 for ; Sun, 8 Mar 2015 21:52:39 +0000 (UTC) Received: (qmail 57643 invoked by uid 500); 8 Mar 2015 21:52:39 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 57592 invoked by uid 500); 8 Mar 2015 21:52:38 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 57581 invoked by uid 99); 8 Mar 2015 21:52:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2015 21:52:38 +0000 Date: Sun, 8 Mar 2015 21:52:38 +0000 (UTC) From: "Junping Du (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-3296) yarn.nodemanager.container-monitor.process-tree.class is configurable but ResourceCalculatorProcessTree class is marked Private 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/YARN-3296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14352289#comment-14352289 ] Junping Du commented on YARN-3296: ---------------------------------- bq. I am open to doing it in another JIRA. It won't be a headache to the user yet, since the CPU percentage hasn't been in a release. Got committed only a few days ago I was thinking return -1 (as CPU percentage) make slightly more sense as it won't duplicate with case of zero resource consumption. However, this should be against with what we already released before. Just filed YARN-3304, plz continue the discussion there. Thx! > yarn.nodemanager.container-monitor.process-tree.class is configurable but ResourceCalculatorProcessTree class is marked Private > ------------------------------------------------------------------------------------------------------------------------------- > > Key: YARN-3296 > URL: https://issues.apache.org/jira/browse/YARN-3296 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Hitesh Shah > Assignee: Hitesh Shah > Fix For: 2.7.0 > > Attachments: YARN-3296.1.patch, YARN-3296.2.patch > > > Given that someone can implement their custom plugin for resource monitoring and configure the NM to use it, this class should be marked public. -- This message was sent by Atlassian JIRA (v6.3.4#6332)