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

Issues with hadoop-common-project\hadoop-common\src\main\packages\hadoop-setup-conf.sh file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.20.205.0, 0.23.0
    • None
    • scripts
    • None

    Description

      hadoop-common-project\hadoop-common\src\main\packages\hadoop-setup-conf.sh has following issues
      1. check_permission does not work as expected if there are two folders with $NAME as part of their name inside $PARENT
      e.g. /home/hadoop/conf, /home/hadoop/someconf,
      The result of `ls -ln $PARENT | grep -w $NAME| awk '

      {print $3}

      '` is non zero..it is 0 0 and hence the following if check becomes true.

      if [ "$OWNER" != "0" ]; then
      RESULT=1
      break
      fi 
      

      2. Spelling mistake

      HADDOP_DN_ADDR="0.0.0.0:50010"
      

      it should be

      HADOOP_DN_ADDR="0.0.0.0:50010"
      

      3. HADOOP_SNN_HOST is not set due to which the hdfs-site.xml contains following configuration

      <property>
      <name>dfs.namenode.http-address</name>
      <value>:50070</value>
      <description>
      The address and the base port where the dfs namenode web ui will listen on.
      If the port is 0 then the server will start on a free port.
      </description>
      </property>
      

      Attachments

        1. HADOOP-7685.patch
          18 kB
          Eric Yang
        2. HADOOP-7685-trunk.patch
          6 kB
          Eric Yang
        3. HADOOP-7685.patch
          4 kB
          Devaraj Kavali
        4. HADOOP-7685-0.20-security.patch
          1 kB
          Matthew Foley

        Issue Links

          Activity

            People

              eyang Eric Yang
              devaraj Devaraj Kavali
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: