[ https://issues.apache.org/jira/browse/HDFS-6468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012637#comment-14012637 ]
Aaron T. Myers commented on HDFS-6468: -------------------------------------- Patch looks good to me, Mani. One question - can you please comment what testing of this patch you've done? I don't think our automated tests will actually exercise this change at all. +1 pending Jenkins and an answer to the above question. Also, no need to change it now, but for future reference we typically name the patch files just "<JIRA NUMBER>.patch", so "HDFS-6468.patch" in this case. > Updating hadoop-daemon.sh to work as expected when nfs is started as a > privileged user. > ---------------------------------------------------------------------------------------- > > Key: HDFS-6468 > URL: https://issues.apache.org/jira/browse/HDFS-6468 > Project: Hadoop HDFS > Issue Type: Bug > Components: nfs > Affects Versions: 2.4.0 > Reporter: Manikandan Narayanaswamy > Labels: patch > Attachments: > 0001-Picking-the-right-pid-file-when-running-NFS-as-privi.patch > > > When NFS is started as a privileged user, this change sets up required > environment variables: > HADOOP_PID_DIR = $HADOOP_PRIVILEGED_NFS_PID_DIR > HADOOP_LOG_DIR = $HADOOP_PRIVILEGED_NFS_LOG_DIR > HADOOP_IDENT_STRING = $HADOOP_PRIVILEGED_NFS_USER > Also, along with the above, we also now collect ulimits for the right user. -- This message was sent by Atlassian JIRA (v6.2#6252)