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 6C5F9200CE7 for ; Sat, 16 Sep 2017 20:33:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6020B1609D5; Sat, 16 Sep 2017 18:33:09 +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 A4C121609CC for ; Sat, 16 Sep 2017 20:33:08 +0200 (CEST) Received: (qmail 48547 invoked by uid 500); 16 Sep 2017 18:33:07 -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 48536 invoked by uid 99); 16 Sep 2017 18:33:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Sep 2017 18:33:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 35123C0D95 for ; Sat, 16 Sep 2017 18:33:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 2XlVSPw4q0IY for ; Sat, 16 Sep 2017 18:33:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5F7D05F6C8 for ; Sat, 16 Sep 2017 18:33:06 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6D0E9E0F0D for ; Sat, 16 Sep 2017 18:33:05 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id F27482538B for ; Sat, 16 Sep 2017 18:33:02 +0000 (UTC) Date: Sat, 16 Sep 2017 18:33:02 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-6475) Fix some long function checkstyle issues MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 16 Sep 2017 18:33:09 -0000 [ https://issues.apache.org/jira/browse/YARN-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16169013#comment-16169013 ] ASF GitHub Bot commented on YARN-6475: -------------------------------------- GitHub user soumabrata-chakraborty opened a pull request: https://github.com/apache/hadoop/pull/275 YARN-6475: Refactor long methods in hadoop-yarn-server-nodemanager Refactor all methods in hadoop-yarn-server-nodemanager that exceed 150 lines in length. Also fixes the method length related Checkstyle violations. You can merge this pull request into a Git repository by running: $ git pull https://github.com/soumabrata-chakraborty/hadoop YARN-6475-branch-2 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/hadoop/pull/275.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #275 ---- commit 0e15398699abef9c037aef5aaaa1f860d2c2fc1f Author: Soumabrata Chakraborty Date: 2017-09-16T18:28:02Z Refactor code for long methods (above 150 lines in length) ---- > Fix some long function checkstyle issues > ---------------------------------------- > > Key: YARN-6475 > URL: https://issues.apache.org/jira/browse/YARN-6475 > Project: Hadoop YARN > Issue Type: Bug > Reporter: Miklos Szegedi > Assignee: Soumabrata Chakraborty > Priority: Trivial > Labels: newbie > Fix For: 3.0.0-alpha4 > > Attachments: YARN-6475.001.patch > > > I am talking about these two: > {code} > ./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/LinuxContainerExecutor.java:441: @Override:3: Method length is 176 lines (max allowed is 150). [MethodLength] > ./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/launcher/ContainerLaunch.java:159: @Override:3: Method length is 158 lines (max allowed is 150). [MethodLength] > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org