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

Eli Collins commented on HADOOP-8010:
-------------------------------------

We use "==" elsewhere in bin/hadoop* shouldn't those be fixed as well then? 

I think there's another bug lurking here, == is obviously correct in bash.
{noformat}
hadoop-branch-1 $ bash bin/hadoop-config.sh 
hadoop-branch-1 $ dash bin/hadoop-config.sh 
[: 76: unexpected operator
hadoop-branch-1 $ 
{noformat}

                
> hadoop-config.sh spews error message when HADOOP_HOME_WARN_SUPPRESS is set to 
> true and HADOOP_HOME is present
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8010
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8010
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 1.0.0
>            Reporter: Roman Shaposhnik
>            Assignee: Roman Shaposhnik
>            Priority: Minor
>             Fix For: 1.0.1
>
>         Attachments: HADOOP-8010.patch.txt
>
>
> Running hadoop daemon commands when HADOOP_HOME_WARN_SUPPRESS is set to true 
> and HADOOP_HOME is present produces:
> {noformat}
>   [: 76: true: unexpected operator
> {noformat}

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