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 "Hong Tang (JIRA)" <ji...@apache.org> on 2009/07/11 00:23:15 UTC

[jira] Created: (HADOOP-6141) hadoop 0.20 branch "test-patch" is broken

hadoop 0.20 branch "test-patch" is broken
-----------------------------------------

                 Key: HADOOP-6141
                 URL: https://issues.apache.org/jira/browse/HADOOP-6141
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 0.20.0
            Reporter: Hong Tang
            Assignee: Hong Tang


There were two problems found in src/test/bin/test-patch.sh while I am doing the backporting of TFile patch (HADOOP-3315):
- java5.home and forrest.home is not defined for the ant command in pre-build stage, which leads to the following error message (in file trunkJavacWarnings.txt):
{code}
java5.check:

BUILD FAILED
/home/htang/workspace/test-patch/branch-0.20/build.xml:891: 'java5.home' is not defined.  Forrest requires Java 5.  Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line.
{code}
- When referring 10-th argument from the command line, it should use "${10}" instead of "$10" (which is $1 with a zero appended).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6141) hadoop 0.20 branch "test-patch" is broken

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

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

+1 patch looks good.

> hadoop 0.20 branch "test-patch" is broken
> -----------------------------------------
>
>                 Key: HADOOP-6141
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6141
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.0
>            Reporter: Hong Tang
>            Assignee: Hong Tang
>             Fix For: 0.20.0
>
>         Attachments: hadoop-6141.patch
>
>
> There were two problems found in src/test/bin/test-patch.sh while I am doing the backporting of TFile patch (HADOOP-3315):
> - java5.home and forrest.home is not defined for the ant command in pre-build stage, which leads to the following error message (in file trunkJavacWarnings.txt):
> {code}
> java5.check:
> BUILD FAILED
> /home/htang/workspace/test-patch/branch-0.20/build.xml:891: 'java5.home' is not defined.  Forrest requires Java 5.  Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line.
> {code}
> - When referring 10-th argument from the command line, it should use "${10}" instead of "$10" (which is $1 with a zero appended).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6141) hadoop 0.20 branch "test-patch" is broken

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

Tsz Wo (Nicholas), SZE updated HADOOP-6141:
-------------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.20.0)
                   0.20.1
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I have committed this to 0.20 only.  Thanks, Hong!

> hadoop 0.20 branch "test-patch" is broken
> -----------------------------------------
>
>                 Key: HADOOP-6141
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6141
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.0
>            Reporter: Hong Tang
>            Assignee: Hong Tang
>             Fix For: 0.20.1
>
>         Attachments: hadoop-6141.patch
>
>
> There were two problems found in src/test/bin/test-patch.sh while I am doing the backporting of TFile patch (HADOOP-3315):
> - java5.home and forrest.home is not defined for the ant command in pre-build stage, which leads to the following error message (in file trunkJavacWarnings.txt):
> {code}
> java5.check:
> BUILD FAILED
> /home/htang/workspace/test-patch/branch-0.20/build.xml:891: 'java5.home' is not defined.  Forrest requires Java 5.  Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line.
> {code}
> - When referring 10-th argument from the command line, it should use "${10}" instead of "$10" (which is $1 with a zero appended).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6141) hadoop 0.20 branch "test-patch" is broken

Posted by "Hong Tang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hong Tang updated HADOOP-6141:
------------------------------

    Fix Version/s: 0.20.0
           Status: Patch Available  (was: Open)

Added java5.home and forrest.home definitions to all ant commands. Added curly braces for ${10} (JAVA5_HOME).

> hadoop 0.20 branch "test-patch" is broken
> -----------------------------------------
>
>                 Key: HADOOP-6141
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6141
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.0
>            Reporter: Hong Tang
>            Assignee: Hong Tang
>             Fix For: 0.20.0
>
>         Attachments: hadoop-6141.patch
>
>
> There were two problems found in src/test/bin/test-patch.sh while I am doing the backporting of TFile patch (HADOOP-3315):
> - java5.home and forrest.home is not defined for the ant command in pre-build stage, which leads to the following error message (in file trunkJavacWarnings.txt):
> {code}
> java5.check:
> BUILD FAILED
> /home/htang/workspace/test-patch/branch-0.20/build.xml:891: 'java5.home' is not defined.  Forrest requires Java 5.  Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line.
> {code}
> - When referring 10-th argument from the command line, it should use "${10}" instead of "$10" (which is $1 with a zero appended).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-6141) hadoop 0.20 branch "test-patch" is broken

Posted by "Hong Tang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-6141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hong Tang updated HADOOP-6141:
------------------------------

    Attachment: hadoop-6141.patch

> hadoop 0.20 branch "test-patch" is broken
> -----------------------------------------
>
>                 Key: HADOOP-6141
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6141
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.0
>            Reporter: Hong Tang
>            Assignee: Hong Tang
>             Fix For: 0.20.0
>
>         Attachments: hadoop-6141.patch
>
>
> There were two problems found in src/test/bin/test-patch.sh while I am doing the backporting of TFile patch (HADOOP-3315):
> - java5.home and forrest.home is not defined for the ant command in pre-build stage, which leads to the following error message (in file trunkJavacWarnings.txt):
> {code}
> java5.check:
> BUILD FAILED
> /home/htang/workspace/test-patch/branch-0.20/build.xml:891: 'java5.home' is not defined.  Forrest requires Java 5.  Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line.
> {code}
> - When referring 10-th argument from the command line, it should use "${10}" instead of "$10" (which is $1 with a zero appended).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-6141) hadoop 0.20 branch "test-patch" is broken

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

Hong Tang commented on HADOOP-6141:
-----------------------------------

Note that the problems in test-patch.sh seem to be fixed in trunk, but interestingly it is not backported to 0.20.

> hadoop 0.20 branch "test-patch" is broken
> -----------------------------------------
>
>                 Key: HADOOP-6141
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6141
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.0
>            Reporter: Hong Tang
>            Assignee: Hong Tang
>
> There were two problems found in src/test/bin/test-patch.sh while I am doing the backporting of TFile patch (HADOOP-3315):
> - java5.home and forrest.home is not defined for the ant command in pre-build stage, which leads to the following error message (in file trunkJavacWarnings.txt):
> {code}
> java5.check:
> BUILD FAILED
> /home/htang/workspace/test-patch/branch-0.20/build.xml:891: 'java5.home' is not defined.  Forrest requires Java 5.  Please pass -Djava5.home=<base of Java 5 distribution> to Ant on the command-line.
> {code}
> - When referring 10-th argument from the command line, it should use "${10}" instead of "$10" (which is $1 with a zero appended).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.