Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 0E80F200B41 for ; Thu, 7 Jul 2016 23:30:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 0D1D0160A75; Thu, 7 Jul 2016 21:30:13 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 55F08160A4F for ; Thu, 7 Jul 2016 23:30:12 +0200 (CEST) Received: (qmail 61983 invoked by uid 500); 7 Jul 2016 21:30:11 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 61925 invoked by uid 99); 7 Jul 2016 21:30:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2016 21:30:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2CF682C02AB for ; Thu, 7 Jul 2016 21:30:11 +0000 (UTC) Date: Thu, 7 Jul 2016 21:30:11 +0000 (UTC) From: "Jian He (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5270) Solve miscellaneous issues caused by YARN-4844 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 07 Jul 2016 21:30:13 -0000 [ https://issues.apache.org/jira/browse/YARN-5270?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15366= 807#comment-15366807 ]=20 Jian He commented on YARN-5270: ------------------------------- - should the proto definition be reverted to int32 too ? {code} optional int64 virtual_cores =3D 2; {code} - unnecessary converting to int in many places, please check the caller of = getVirtualCores to revert those changes. {code} getMetrics().getReservedMB(), (int) getMetrics()=E2=80=A8 .getReservedVi= rtualCores()),=20 {code} {code} (int) rootMetrics.getAvailableVirtualCores()) + {code} {code} etMetrics().getReservedMB(), (int) getMetrics()=E2=80=A8 .getReservedVir= tualCores()), schedulingMode)) { {code} - import Evolving directly, to make the API javadoc view more consistent {code} @Public=E2=80=A8@InterfaceStability.Evolving {code} > Solve miscellaneous issues caused by YARN-4844 > ---------------------------------------------- > > Key: YARN-5270 > URL: https://issues.apache.org/jira/browse/YARN-5270 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Wangda Tan > Assignee: Wangda Tan > Priority: Blocker > Attachments: YARN-5270-branch-2.001.patch, YARN-5270-branch-2.002= .patch, YARN-5270-branch-2.003.patch, YARN-5270-branch-2.8.001.patch, YARN-= 5270-branch-2.8.002.patch, YARN-5270-branch-2.8.003.patch, YARN-5270.003.pa= tch > > > Such as javac warnings reported by YARN-5077 and type converting issues i= n Resources class. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org