Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11898

add nfs3 and portmap starting command in hadoop-daemon.sh in branch-2

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0
    • Component/s: bin, nfs
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      nfs3 and portmap should also be in the list:

          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 &
            ;;
      

        Attachments

        1. HADOOOP-11898.001.patch
          0.7 kB
          Brandon Li
        2. HADOOOP-11898.branch-2.patch
          0.7 kB
          Brandon Li
        3. HADOOOP-11898-branch-2.001.patch
          0.7 kB
          Brandon Li

          Activity

            People

            • Assignee:
              brandonli Brandon Li
              Reporter:
              brandonli Brandon Li
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: