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 F1AFC200D0C for ; Wed, 20 Sep 2017 23:56:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F03621609E4; Wed, 20 Sep 2017 21:56:05 +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 4637D1609D8 for ; Wed, 20 Sep 2017 23:56:05 +0200 (CEST) Received: (qmail 84222 invoked by uid 500); 20 Sep 2017 21:56:04 -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 84211 invoked by uid 99); 20 Sep 2017 21:56:04 -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; Wed, 20 Sep 2017 21:56:04 +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 E3641D3E2D for ; Wed, 20 Sep 2017 21:56:03 +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 4u51hP6QRiHR for ; Wed, 20 Sep 2017 21:56:03 +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 A6F7561103 for ; Wed, 20 Sep 2017 21:56:02 +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 DC67AE0ECE for ; Wed, 20 Sep 2017 21:56:01 +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 AB3ED24189 for ; Wed, 20 Sep 2017 21:56:00 +0000 (UTC) Date: Wed, 20 Sep 2017 21:56:00 +0000 (UTC) From: "Miklos Szegedi (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-6968) Hardcoded absolute pathname in DockerLinuxContainerRuntime MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 20 Sep 2017 21:56:06 -0000 [ https://issues.apache.org/jira/browse/YARN-6968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173898#comment-16173898 ] Miklos Szegedi commented on YARN-6968: -------------------------------------- Thank you, [~ebadger] for the patch and [~jlowe] for the review. +1 (non-binding) with the notes below. Just a note that this will be a bit of a regression, since /sys/fs/cgroup is not default anymore. I suggest opening the following followup jiras: Make Docker target directory configurable in yarn-site.xml. Check, if we need to default to /sys/fs/cgroup. This is non trivial in older OSes where cgroup can be mounted by the admins, although probably those do not support Docker. A general jira to discuss whether mounting is needed for all cases and it could be turned off by default. Let me know, if you disagree. > Hardcoded absolute pathname in DockerLinuxContainerRuntime > ---------------------------------------------------------- > > Key: YARN-6968 > URL: https://issues.apache.org/jira/browse/YARN-6968 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Reporter: Miklos Szegedi > Assignee: Eric Badger > Attachments: YARN-6968.001.patch, YARN-6968.002.patch, YARN-6968.003.patch, YARN-6968.004.patch > > > org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.DockerLinuxContainerRuntime.launchContainer(ContainerRuntimeContext) has a hardcoded absolute pathname that is being flagged by findbugs. > This could be done after YARN-6757 is checked in. -- 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