[
https://issues.apache.org/jira/browse/HADOOP-6590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862476#action_12862476
]
Scott Chen commented on HADOOP-6590:
------------------------------------
We have been using this script internally for a while.
It stops me from running things as root a few times.
I think it is a good feature to have.
Could someone help take a look at it?
> Add a username check in hadoop-daemon.sh
> ----------------------------------------
>
> Key: HADOOP-6590
> URL: https://issues.apache.org/jira/browse/HADOOP-6590
> Project: Hadoop Common
> Issue Type: Improvement
> Components: scripts
> Affects Versions: 0.22.0
> Reporter: Scott Chen
> Assignee: Scott Chen
> Priority: Minor
> Fix For: 0.22.0
>
> Attachments: HADOOP-6590.patch
>
>
> We experienced a case that sometimes we accidentally started HDFS or
> MAPREDUCE with root user. Then the directory permission will be modified and
> we have to chown them. It will be nice if there can be a username checking in
> the hadoop-daemon.sh script so that we always start with the desired username.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.