You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brandon Li (JIRA)" <ji...@apache.org> on 2015/05/01 20:48:06 UTC

[jira] [Created] (HADOOP-11898) add nfs3 and portmap starting command in hadoop-daemon.sh in branch-2

Brandon Li created HADOOP-11898:
-----------------------------------

             Summary: add nfs3 and portmap starting command in hadoop-daemon.sh in branch-2
                 Key: HADOOP-11898
                 URL: https://issues.apache.org/jira/browse/HADOOP-11898
             Project: Hadoop Common
          Issue Type: Bug
          Components: bin, nfs
    Affects Versions: 2.7.0
            Reporter: Brandon Li
            Assignee: Brandon Li
            Priority: Minor


nfs3 and portmap should also be in the list:
{noformat}
    case $command in
      namenode|secondarynamenode|datanode|journalnode|dfs|dfsadmin|fsck|balancer|zkfc)
        if [ -z "$HADOOP_HDFS_HOME" ]; then
          hdfsScript="$HADOOP_PREFIX"/bin/hdfs
        else
          hdfsScript="$HADOOP_HDFS_HOME"/bin/hdfs
        fi
        nohup nice -n $HADOOP_NICENESS $hdfsScript --config $HADOOP_CONF_DIR $command "$@" > "$log" 2>&1 < /dev/null &
      ;;
      (*)
        nohup nice -n $HADOOP_NICENESS $hadoopScript --config $HADOOP_CONF_DIR $command "$@" > "$log" 2>&1 < /dev/null &
      ;;
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)