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:50:11 UTC

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

     [ https://issues.apache.org/jira/browse/HADOOP-11898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Li updated HADOOP-11898:
--------------------------------
    Attachment: HADOOOP-11898.001.patch

Uploaded a patch.

> 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
>         Attachments: HADOOOP-11898.001.patch
>
>
> 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)