Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 77A2A11F89 for ; Wed, 17 Sep 2014 13:47:43 +0000 (UTC) Received: (qmail 81617 invoked by uid 500); 17 Sep 2014 13:47:43 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 81575 invoked by uid 500); 17 Sep 2014 13:47:43 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 81562 invoked by uid 99); 17 Sep 2014 13:47:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Sep 2014 13:47:43 +0000 Date: Wed, 17 Sep 2014 13:47:42 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-11022) User replaced functions get lost 2-3 levels deep (e.g., sbin) 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/HADOOP-11022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137243#comment-14137243 ] Hudson commented on HADOOP-11022: --------------------------------- FAILURE: Integrated in Hadoop-Mapreduce-trunk #1899 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1899/]) HADOOP-11022. User replaced functions get lost 2-3 levels deep (e.g., sbin) (aw) (aw: rev 7971c97ec18f4fc6504f6a87d9ad02a1f5f01eea) * hadoop-common-project/hadoop-common/CHANGES.txt * hadoop-common-project/hadoop-common/src/main/conf/hadoop-user-functions.sh.example * hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs-config.sh * hadoop-mapreduce-project/bin/mapred-config.sh * hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh * hadoop-common-project/hadoop-common/src/main/bin/hadoop-config.sh * hadoop-yarn-project/hadoop-yarn/bin/yarn-config.sh * hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh > User replaced functions get lost 2-3 levels deep (e.g., sbin) > ------------------------------------------------------------- > > Key: HADOOP-11022 > URL: https://issues.apache.org/jira/browse/HADOOP-11022 > Project: Hadoop Common > Issue Type: Bug > Components: scripts > Affects Versions: 3.0.0 > Reporter: Allen Wittenauer > Assignee: Allen Wittenauer > Priority: Critical > Fix For: 3.0.0 > > Attachments: HADOOP-11022.patch > > > The code that protects hadoop-env.sh from being re-executed is also causing functions that the user replaced to get overridden with the defaults. This typically happens when running commands that nest, such as most of the content in sbin. Just running stuff out of bin (e.g., bin/hdfs --daemon start namenode) does not trigger this behavior. -- This message was sent by Atlassian JIRA (v6.3.4#6332)