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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0
    • bin, nfs
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: