[
https://issues.apache.org/jira/browse/HADOOP-9005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13489902#comment-13489902
]
Ivan Mitic commented on HADOOP-9005:
------------------------------------
Thanks for clarifying Chris!
2. Hmm, I still don't see the problem.
This is the snippet from the shell script:
{code}
# Command specific options appended to HADOOP_OPTS when specified
export
HADOOP_NAMENODE_OPTS="-Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,RFAS}
-Dhdfs.audit.logger=${HDFS_AUDIT_LOGGER:-INFO,NullAppender}
$HADOOP_NAMENODE_OPTS"
export HADOOP_DATANODE_OPTS="-Dhadoop.security.logger=ERROR,RFAS
$HADOOP_DATANODE_OPTS"
export
HADOOP_SECONDARYNAMENODE_OPTS="-Dhadoop.security.logger=${HADOOP_SECURITY_LOGGER:-INFO,RFAS}
-Dhdfs.audit.logger=${HDFS_AUDIT_LOGGER:-INFO,NullAppender}
$HADOOP_SECONDARYNAMENODE_OPTS"
{code}
And this is the cmd script equivalent:
{code}
@rem Command specific options appended to HADOOP_OPTS when specified
if not defined HADOOP_SECURITY_LOGGER (
set HADOOP_SECURITY_LOGGER=INFO,RFAS
)
if not defined HDFS_AUDIT_LOGGER (
set HDFS_AUDIT_LOGGER=INFO,NullAppender
)
set HADOOP_NAMENODE_OPTS=-Dhadoop.security.logger=%HADOOP_SECURITY_LOGGER%
-Dhdfs.audit.logger=%HDFS_AUDIT_LOGGER% %HADOOP_NAMENODE_OPTS%
set HADOOP_DATANODE_OPTS=-Dhadoop.security.logger=ERROR,RFAS
%HADOOP_DATANODE_OPTS%
set
HADOOP_SECONDARYNAMENODE_OPTS=-Dhadoop.security.logger=%HADOOP_SECURITY_LOGGER%
-Dhdfs.audit.logger=%HDFS_AUDIT_LOGGER% %HADOOP_SECONDARYNAMENODE_OPTS%
{code}
3. Sure, I'll fix this.
> Merge hadoop cmd line scripts from branch-1-win
> -----------------------------------------------
>
> Key: HADOOP-9005
> URL: https://issues.apache.org/jira/browse/HADOOP-9005
> Project: Hadoop Common
> Issue Type: Bug
> Affects Versions: trunk-win
> Reporter: Ivan Mitic
> Assignee: Ivan Mitic
> Attachments: HADOOP-9005.branch-trunk-win.scripts.2.patch,
> HADOOP-9005.branch-trunk-win.scripts.3.patch,
> HADOOP-9005.branch-trunk-win.scripts.4.patch,
> HADOOP-9005.branch-trunk-win.scripts.5.patch,
> HADOOP-9005.branch-trunk-win.scripts.6.patch,
> HADOOP-9005.branch-trunk-win.scripts.patch
>
>
> Tracking Jira for merging hadoop cmd line scripts from branch-1-win to trunk.
> Scripts also have to be updated to reflect their unix equivalents.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira