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 6537318C8F for ; Wed, 10 Feb 2016 18:13:22 +0000 (UTC) Received: (qmail 81280 invoked by uid 500); 10 Feb 2016 18:13:19 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 80982 invoked by uid 500); 10 Feb 2016 18:13:18 -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 80751 invoked by uid 99); 10 Feb 2016 18:13:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2016 18:13:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 49F282C1F6F for ; Wed, 10 Feb 2016 18:13:18 +0000 (UTC) Date: Wed, 10 Feb 2016 18:13:18 +0000 (UTC) From: "Bibin A Chundatt (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-4628) TopCli to support Application priority 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-4628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bibin A Chundatt updated YARN-4628: ----------------------------------- Attachment: 0003-YARN-4628.patch [~sunilg] Thanks for review comment. By default if we are sorting on prority will be done in descending order since {{ascendingSort = false}} by default . (Higher priority first) . {noformat} if (ascendingSort) { Collections.sort(appsInfo, comparator); } else { Collections.sort(appsInfo, Collections.reverseOrder(comparator)); } {noformat} Also we do have option for reversing in in top cli. [~vvasudev] Handled latest review comments too. Attaching lated patch. Please do review > TopCli to support Application priority > --------------------------------------- > > Key: YARN-4628 > URL: https://issues.apache.org/jira/browse/YARN-4628 > Project: Hadoop YARN > Issue Type: Improvement > Reporter: Bibin A Chundatt > Assignee: Bibin A Chundatt > Priority: Minor > Attachments: 0001-YARN-4628.patch, 0002-YARN-4628.patch, 0003-YARN-4628.patch > > > In Topcli support Apppriority -- This message was sent by Atlassian JIRA (v6.3.4#6332)