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 "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2012/05/14 05:22:06 UTC

[jira] [Created] (HADOOP-8399) Remove JDK5 dependency from Hadoop 1.0+ line

Konstantin Boudnik created HADOOP-8399:
------------------------------------------

             Summary: Remove JDK5 dependency from Hadoop 1.0+ line
                 Key: HADOOP-8399
                 URL: https://issues.apache.org/jira/browse/HADOOP-8399
             Project: Hadoop Common
          Issue Type: Bug
          Components: build
    Affects Versions: 1.0.2
            Reporter: Konstantin Boudnik


This issues has been fixed in Hadoop starting from 0.21 (see HDFS-1552).
I propose to make the same fix for 1.0 line and get rid of JDK5 dependency all together.

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

        

[jira] [Commented] (HADOOP-8399) Remove JDK5 dependency from Hadoop 1.0+ line

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

Matt Foley commented on HADOOP-8399:
------------------------------------

BTW, until this fix goes in, you may be interested to know there's a work-around:
I don't actually use Java 5.  As long as you're using Forrest version 0.9 or higher, you can just create a symlink to Java 6 and name it Java 5, and all works well.
                
> Remove JDK5 dependency from Hadoop 1.0+ line
> --------------------------------------------
>
>                 Key: HADOOP-8399
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8399
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.2
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-8399.patch
>
>
> This issues has been fixed in Hadoop starting from 0.21 (see HDFS-1552).
> I propose to make the same fix for 1.0 line and get rid of JDK5 dependency all together.

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

        

[jira] [Commented] (HADOOP-8399) Remove JDK5 dependency from Hadoop 1.0+ line

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

Konstantin Boudnik commented on HADOOP-8399:
--------------------------------------------

I am not sure if this is possible to test with usual patch validation process because it affects test-patch.sh.

However, it works in my local run of {{ant -Dforrest.home=$FORREST_HOME docs}}
                
> Remove JDK5 dependency from Hadoop 1.0+ line
> --------------------------------------------
>
>                 Key: HADOOP-8399
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8399
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.2
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-8399.patch
>
>
> This issues has been fixed in Hadoop starting from 0.21 (see HDFS-1552).
> I propose to make the same fix for 1.0 line and get rid of JDK5 dependency all together.

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

        

[jira] [Resolved] (HADOOP-8399) Remove JDK5 dependency from Hadoop 1.0+ line

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

Matt Foley resolved HADOOP-8399.
--------------------------------

    Resolution: Fixed
    
> Remove JDK5 dependency from Hadoop 1.0+ line
> --------------------------------------------
>
>                 Key: HADOOP-8399
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8399
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.2
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 1.1.0
>
>         Attachments: HADOOP-8399.patch
>
>
> This issues has been fixed in Hadoop starting from 0.21 (see HDFS-1552).
> I propose to make the same fix for 1.0 line and get rid of JDK5 dependency all together.

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

        

[jira] [Commented] (HADOOP-8399) Remove JDK5 dependency from Hadoop 1.0+ line

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

Matt Foley commented on HADOOP-8399:
------------------------------------

We have two competing versions of this patch, the one here in HADOOP-8399, and a pair of patches in HADOOP-8166.  I have compared them and found this one to be superior in terms of match to current branch-1.1.

HADOOP-8399 patches files: build.xml, forrest.properties, test-patch.sh
hadoop-8166 patches files: build.xml, do-release-build, forrest.properties, test-patch.sh
The changes to build.xml and forrest.properties are equivalent.
The file cloudera/do-release-build does not exist in Apache code.
The changes to test-patch.sh differ in several ways, but seem to match the branch-1.1 code better in HADOOP-8399.

In particular, HADOOP-8399 applies smoothly to test-patch.sh, while HADOOP-8166 fails 3 of 9 chunks.  Furthermore, after applying HADOOP-8399, all instances of 'java5' are gone, which makes all the substantive differences between the two patches irrelevant.

+1 on this patch.  Committing to branch-1.1 and branch-1.  Marking HADOOP-8166 as duplicate.


                
> Remove JDK5 dependency from Hadoop 1.0+ line
> --------------------------------------------
>
>                 Key: HADOOP-8399
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8399
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.2
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 1.1.0
>
>         Attachments: HADOOP-8399.patch
>
>
> This issues has been fixed in Hadoop starting from 0.21 (see HDFS-1552).
> I propose to make the same fix for 1.0 line and get rid of JDK5 dependency all together.

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

        

[jira] [Commented] (HADOOP-8399) Remove JDK5 dependency from Hadoop 1.0+ line

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

Roman Shaposhnik commented on HADOOP-8399:
------------------------------------------

A strong +1 -- would be really nice to get rid of this ancient dependency.
                
> Remove JDK5 dependency from Hadoop 1.0+ line
> --------------------------------------------
>
>                 Key: HADOOP-8399
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8399
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.2
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-8399.patch
>
>
> This issues has been fixed in Hadoop starting from 0.21 (see HDFS-1552).
> I propose to make the same fix for 1.0 line and get rid of JDK5 dependency all together.

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

        

[jira] [Assigned] (HADOOP-8399) Remove JDK5 dependency from Hadoop 1.0+ line

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

Konstantin Boudnik reassigned HADOOP-8399:
------------------------------------------

    Assignee: Konstantin Boudnik
    
> Remove JDK5 dependency from Hadoop 1.0+ line
> --------------------------------------------
>
>                 Key: HADOOP-8399
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8399
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.2
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-8399.patch
>
>
> This issues has been fixed in Hadoop starting from 0.21 (see HDFS-1552).
> I propose to make the same fix for 1.0 line and get rid of JDK5 dependency all together.

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

        

[jira] [Updated] (HADOOP-8399) Remove JDK5 dependency from Hadoop 1.0+ line

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

Konstantin Boudnik updated HADOOP-8399:
---------------------------------------

    Fix Version/s: 1.1.0
    
> Remove JDK5 dependency from Hadoop 1.0+ line
> --------------------------------------------
>
>                 Key: HADOOP-8399
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8399
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.2
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>             Fix For: 1.1.0
>
>         Attachments: HADOOP-8399.patch
>
>
> This issues has been fixed in Hadoop starting from 0.21 (see HDFS-1552).
> I propose to make the same fix for 1.0 line and get rid of JDK5 dependency all together.

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

        

[jira] [Updated] (HADOOP-8399) Remove JDK5 dependency from Hadoop 1.0+ line

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

Konstantin Boudnik updated HADOOP-8399:
---------------------------------------

    Attachment: HADOOP-8399.patch

That seems to do the job.
The patch includes changes both for test-patch.sh and the build.xml file
                
> Remove JDK5 dependency from Hadoop 1.0+ line
> --------------------------------------------
>
>                 Key: HADOOP-8399
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8399
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.0.2
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: HADOOP-8399.patch
>
>
> This issues has been fixed in Hadoop starting from 0.21 (see HDFS-1552).
> I propose to make the same fix for 1.0 line and get rid of JDK5 dependency all together.

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