Hadoop Common
  1. Hadoop Common
  2. HADOOP-7685

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0, 0.23.0
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      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>
      
      1. HADOOP-7685-trunk.patch
        6 kB
        Eric Yang
      2. HADOOP-7685-0.20-security.patch
        1 kB
        Matt Foley
      3. HADOOP-7685.patch
        18 kB
        Eric Yang
      4. HADOOP-7685.patch
        4 kB
        Devaraj K

        Issue Links

          Activity

            People

            • Assignee:
              Eric Yang
              Reporter:
              Devaraj K
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development