[ 
https://issues.apache.org/jira/browse/HADOOP-7685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13116706#comment-13116706
 ] 

Matt Foley commented on HADOOP-7685:
------------------------------------

Devaraj K verified and Eric Y reviewed.  +1.
Committing to 0.20-security and 0.20.205.
Thanks, Devaraj and Eric!
                
> Issues with 
> hadoop-common-project\hadoop-common\src\main\packages\hadoop-setup-conf.sh 
> file 
> --------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-7685
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7685
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 0.20.205.0, 0.23.0
>            Reporter: Devaraj K
>            Assignee: Devaraj K
>         Attachments: HADOOP-7685-trunk.patch, HADOOP-7685.patch, 
> HADOOP-7685.patch
>
>
> 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.
> {code:xml}
> if [ "$OWNER" != "0" ]; then
> RESULT=1
> break
> fi 
> {code}
> 2. Spelling mistake
> {code:xml}
> HADDOP_DN_ADDR="0.0.0.0:50010"
> {code}
> it should be 
> {code:xml}
> HADOOP_DN_ADDR="0.0.0.0:50010"
> {code}
> 3. HADOOP_SNN_HOST is not set due to which the hdfs-site.xml contains 
> following configuration
> {code:xml}
> <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>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to