hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13673) Update scripts to be smarter when running with privilege
Date Wed, 18 Jan 2017 23:51:27 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15829002#comment-15829002
] 

Hudson commented on HADOOP-13673:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11137 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11137/])
HADOOP-13673. Update scripts to be smarter when running with privilege (aw: rev 0eb4b513b76bc944c31b15cd6558901ae44bf931)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-dfs.sh
* (add) hadoop-common-project/hadoop-common/src/test/scripts/hadoop_get_verify_uservar.bats
* (edit) hadoop-common-project/hadoop-common/src/site/markdown/UnixShellGuide.md
* (edit) hadoop-common-project/hadoop-common/src/test/scripts/hadoop-functions_test_helper.bash
* (edit) hadoop-mapreduce-project/bin/mapred
* (edit) hadoop-common-project/hadoop-common/src/main/bin/start-all.sh
* (edit) hadoop-yarn-project/hadoop-yarn/bin/start-yarn.sh
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-secure-dns.sh
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/bin/start-secure-dns.sh
* (add) hadoop-common-project/hadoop-common/src/test/scripts/hadoop_abs.bats
* (add) hadoop-common-project/hadoop-common/src/test/scripts/hadoop_privilege_check.bats
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/bin/stop-dfs.sh
* (edit) hadoop-common-project/hadoop-common/src/main/bin/hadoop
* (edit) hadoop-common-project/hadoop-common/src/main/bin/hadoop-functions.sh
* (edit) hadoop-yarn-project/hadoop-yarn/bin/stop-yarn.sh
* (edit) hadoop-common-project/hadoop-common/src/main/bin/stop-all.sh
* (edit) hadoop-yarn-project/hadoop-yarn/bin/yarn


> Update scripts to be smarter when running with privilege
> --------------------------------------------------------
>
>                 Key: HADOOP-13673
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13673
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: scripts
>    Affects Versions: 3.0.0-alpha1, 3.0.0-alpha2
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>              Labels: security
>             Fix For: 3.0.0-alpha2
>
>         Attachments: HADOOP-13673.00.patch, HADOOP-13673.01.patch, HADOOP-13673.02.patch,
HADOOP-13673.03.patch, HADOOP-13673.04.patch
>
>
> As work continues on HADOOP-13397, it's become evident that we need better hooks to start
daemons as specifically configured users.  Via the (command)_(subcommand)_USER environment
variables in 3.x, we actually have a standardized way to do that.  This in turn means we can
make the sbin scripts super functional with a bit of updating:
> * Consolidate start-dfs.sh and start-secure-dns.sh into one script
> * Make start-\*.sh and stop-\*.sh know how to switch users when run as root
> * Undeprecate start/stop-all.sh so that it could be used as root for production purposes
and as a single user for non-production users



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message