Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2EC331766B for ; Tue, 21 Oct 2014 13:47:20 +0000 (UTC) Received: (qmail 90936 invoked by uid 500); 21 Oct 2014 13:47:20 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 90920 invoked by uid 500); 21 Oct 2014 13:47:20 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 90903 invoked by uid 99); 21 Oct 2014 13:47:19 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2014 13:47:19 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 67CE81DDEC7; Tue, 21 Oct 2014 13:47:24 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============4929518990549867073==" MIME-Version: 1.0 Subject: Re: Review Request 26947: log4j does not get used by hadoop as settings are present in hadoop.config.sh From: "Andrew Onischuk" To: "Andrew Onischuk" , "Mahadev Konar" Cc: "Dmitro Lisnichenko" , "Ambari" Date: Tue, 21 Oct 2014 13:47:24 -0000 Message-ID: <20141021134724.1282.63265@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Andrew Onischuk" X-ReviewGroup: Ambari X-ReviewRequest-URL: https://reviews.apache.org/r/26947/ X-Sender: "Andrew Onischuk" References: <20141020184251.1282.1933@reviews.apache.org> In-Reply-To: <20141020184251.1282.1933@reviews.apache.org> Reply-To: "Andrew Onischuk" X-ReviewRequest-Repository: ambari --===============4929518990549867073== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26947/#review57575 ----------------------------------------------------------- Ship it! Ship It! - Andrew Onischuk On Oct. 20, 2014, 6:42 p.m., Dmitro Lisnichenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/26947/ > ----------------------------------------------------------- > > (Updated Oct. 20, 2014, 6:42 p.m.) > > > Review request for Ambari, Andrew Onischuk and Mahadev Konar. > > > Bugs: AMBARI-7119 > https://issues.apache.org/jira/browse/AMBARI-7119 > > > Repository: ambari > > > Description > ------- > > PROBLEM: log4j settings made via Ambari update the log4j file but do not take > any affect when restarting HDFS. It seems there are hardcoded settings in > /usr/lib/hadoop/libexec/hadoop-config.sh such as this at line 221: > > HADOOP_OPTS="$HADOOP_OPTS -Dhadoop.root.logger=$ > {HADOOP_ROOT_LOGGER:-INFO,console} > > > Diffs > ----- > > ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/configuration/hadoop-env.xml a2954b7 > ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/configuration/hadoop-env.xml 8865d18 > ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml 384a5f6 > > Diff: https://reviews.apache.org/r/26947/diff/ > > > Testing > ------- > > not applicable > > > Thanks, > > Dmitro Lisnichenko > > --===============4929518990549867073==--