[
https://issues.apache.org/jira/browse/HADOOP-11027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14138453#comment-14138453
]
Allen Wittenauer commented on HADOOP-11027:
-------------------------------------------
For documentation, an example showing how to use HADOOP_SECURE_COMMAND to run
the datanode, etc, securely as the hdfs user would be good to have... but it's
too much to put into hadoop-user-functions.sh, etc. So it might be worthwhile
to have a "shell environment user's guide" to cover this as an advance topic as
well as cover just general shell function replacement. (Big message: this
stuff is still unstable, risking your own data, etc, etc.)
Since this JIRA was filed, a lot of related fixes have gone in (esp the
verify_prereq fix), so my quick 'n dirty sudo test works well in
non-daemonized-daemon mode under some specific conditions (JAVA_HOME defined,
etc). It isn't quite as clean it should be, primarily due to do
hadoop_start_secure_daemon_wrapper. But progress!
> HADOOP_SECURE_COMMAND catch-all
> -------------------------------
>
> Key: HADOOP-11027
> URL: https://issues.apache.org/jira/browse/HADOOP-11027
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Allen Wittenauer
> Priority: Critical
>
> Enabling HADOOP_SECURE_COMMAND to override jsvc doesn't work. Here's a list
> of issues!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)