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 589AAD6AD for ; Fri, 19 Oct 2012 22:08:13 +0000 (UTC) Received: (qmail 67264 invoked by uid 500); 19 Oct 2012 22:08:12 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 67231 invoked by uid 500); 19 Oct 2012 22:08:12 -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 67221 invoked by uid 99); 19 Oct 2012 22:08:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Oct 2012 22:08:12 +0000 Date: Fri, 19 Oct 2012 22:08:12 +0000 (UTC) From: "Andrew Ferguson (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: <1028024145.3307.1350684492901.JavaMail.jiratomcat@arcas> In-Reply-To: <1469386254.3495.1349478723010.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (YARN-147) Add support for CPU isolation/monitoring of containers 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-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480437#comment-13480437 ] Andrew Ferguson commented on YARN-147: -------------------------------------- thanks again, Colin. I'm going to stick with {{strchr}} instead of {{strspn}} because I think it's clearer that we get NULL when there is no = in the input string, rather than having to check if the length of the "key" is the same as the length of the string in that case. thanks for noticing that the error handling wasn't quite right in {{mount_cgroup}}. updated patch to follow in a sec. > Add support for CPU isolation/monitoring of containers > ------------------------------------------------------ > > Key: YARN-147 > URL: https://issues.apache.org/jira/browse/YARN-147 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 2.0.3-alpha > Reporter: Alejandro Abdelnur > Assignee: Andrew Ferguson > Fix For: 2.0.3-alpha > > Attachments: YARN-147-v1.patch, YARN-147-v2.patch, YARN-147-v3.patch, YARN-147-v4.patch, YARN-3.patch > > > This is a clone for YARN-3 to be able to submit the patch as YARN-3 does not show the SUBMIT PATCH button. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira