[
https://issues.apache.org/jira/browse/HADOOP-7596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096560#comment-13096560
]
Bruno Mahé commented on HADOOP-7596:
------------------------------------
{noformat}
Bruno, Debian system uses .pid file to check for process aliveness. The
filename generated by hadoop-daemon.sh can have discrepancy between the
starting user and effective running user. This is why this fix only applies to
Debian family. For redhat, it is using /var/lock/subsys to track process
aliveness. Hence, in Redhat, there is no discrepancy for the pid file name
verse the user that started the process because the lock is a fixed name.
{noformat}
I am not sure to follow what you mean by "track process aliveness". Lock files
and pid files have different purposes.
And as far as I can tell from
https://github.com/apache/hadoop-common/blob/branch-0.20-security-205/src/packages/rpm/init.d/hadoop-datanode
you use $PIDFILE to check aliveness where
PIDFILE="${HADOOP_PID_DIR}/hadoop-hdfs-datanode.pid".
Does that mean a secure cluster on redhat does not have all the issues debian
platform have? (dropping privileges and changing user...)
> Enable jsvc to work with Hadoop RPM package
> -------------------------------------------
>
> Key: HADOOP-7596
> URL: https://issues.apache.org/jira/browse/HADOOP-7596
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.20.204.0
> Environment: Java 6, RedHat EL 5.6
> Reporter: Eric Yang
> Assignee: Eric Yang
> Fix For: 0.20.205.0
>
> Attachments: HADOOP-7596-2.patch, HADOOP-7596-3.patch,
> HADOOP-7596.patch
>
>
> For secure Hadoop 0.20.2xx cluster, datanode can only run with 32 bit jvm
> because Hadoop only packages 32 bit jsvc. The build process should download
> proper jsvc versions base on the build architecture. In addition, the shell
> script should be enhanced to locate hadoop jar files in the proper location.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira