[
https://issues.apache.org/jira/browse/HADOOP-11022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated HADOOP-11022:
--------------------------------------
Release Note: (was: It is now possible to override some of the shell code
capabilities to provide site specific functionality without replacing the
shipped versions. Replacement functions should go into the new
hadoop-user-functions.sh file.
)
> 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)