You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2011/06/27 02:09:47 UTC

[jira] [Created] (HADOOP-7427) syntax error in smart-apply-patch.sh

syntax error in smart-apply-patch.sh 
-------------------------------------

                 Key: HADOOP-7427
                 URL: https://issues.apache.org/jira/browse/HADOOP-7427
             Project: Hadoop Common
          Issue Type: Bug
          Components: scripts
            Reporter: Tsz Wo (Nicholas), SZE


{noformat}
     [exec]     Finished build.
     [exec] hdfs/src/test/bin/smart-apply-patch.sh: line 60: syntax error in conditional expression: unexpected token `('

BUILD FAILED
hdfs/build.xml:1595: exec returned: 1
{noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7427) syntax error in smart-apply-patch.sh

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056692#comment-13056692 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-7427:
------------------------------------------------

Here is the OS information.
{noformat}
Linux 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
{noformat}

> syntax error in smart-apply-patch.sh 
> -------------------------------------
>
>                 Key: HADOOP-7427
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7427
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
>      [exec]     Finished build.
>      [exec] hdfs/src/test/bin/smart-apply-patch.sh: line 60: syntax error in conditional expression: unexpected token `('
> BUILD FAILED
> hdfs/build.xml:1595: exec returned: 1
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7427) syntax error in smart-apply-patch.sh

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055883#comment-13055883 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-7427:
------------------------------------------------

{noformat}
$  bash --version
GNU bash, version 3.00.15(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.
{noformat}


> syntax error in smart-apply-patch.sh 
> -------------------------------------
>
>                 Key: HADOOP-7427
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7427
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
>      [exec]     Finished build.
>      [exec] hdfs/src/test/bin/smart-apply-patch.sh: line 60: syntax error in conditional expression: unexpected token `('
> BUILD FAILED
> hdfs/build.xml:1595: exec returned: 1
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7427) syntax error in smart-apply-patch.sh

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056669#comment-13056669 ] 

Todd Lipcon commented on HADOOP-7427:
-------------------------------------

wow, that's pretty old. curious, what platform is that? RHEL5 seems to have 3.2.25.

We can probably figure out different syntax to work on your system

> syntax error in smart-apply-patch.sh 
> -------------------------------------
>
>                 Key: HADOOP-7427
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7427
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
>      [exec]     Finished build.
>      [exec] hdfs/src/test/bin/smart-apply-patch.sh: line 60: syntax error in conditional expression: unexpected token `('
> BUILD FAILED
> hdfs/build.xml:1595: exec returned: 1
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7427) syntax error in smart-apply-patch.sh

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055310#comment-13055310 ] 

Todd Lipcon commented on HADOOP-7427:
-------------------------------------

strange, what version of bash is this? is this on one of the build boxes or your own machine?

> syntax error in smart-apply-patch.sh 
> -------------------------------------
>
>                 Key: HADOOP-7427
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7427
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
>      [exec]     Finished build.
>      [exec] hdfs/src/test/bin/smart-apply-patch.sh: line 60: syntax error in conditional expression: unexpected token `('
> BUILD FAILED
> hdfs/build.xml:1595: exec returned: 1
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-7427) syntax error in smart-apply-patch.sh

Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-7427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056704#comment-13056704 ] 

Todd Lipcon commented on HADOOP-7427:
-------------------------------------

RHEL4?

> syntax error in smart-apply-patch.sh 
> -------------------------------------
>
>                 Key: HADOOP-7427
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7427
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
>      [exec]     Finished build.
>      [exec] hdfs/src/test/bin/smart-apply-patch.sh: line 60: syntax error in conditional expression: unexpected token `('
> BUILD FAILED
> hdfs/build.xml:1595: exec returned: 1
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira