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

Steve Loughran commented on HADOOP-10530:
-----------------------------------------

Test patches were only a fraction of the problem; most of the work was in the 
scheduled common/hdfs/yarn builds and tests of branch-2, trunk on "current" 
java and java 8 & the fun of getting them to work. historically these were 
driven/configured by a shared bit in SVN; the migration to git killed that with 
cut-and-paste, making for a maintenance mess

# there are too many hadoop branches. Ignoring the windows ones, there are 
those for work-in-branch projects that could be culled.
# the hadoop builds set the env vars up inline,whereas they could be driven by 
popdown menus (then {{set JAVA_HOME=$JDK8_HOME}}), etc., to fix the var needed
# as cut-and-paste variants, syncing them up took time, & effort, especially as 
test runs could take hours.
# a lot of the builds were unstable before the move. This added the effort of 
distinguishing "broken from upgrade" from "still broken"

Fixes?
# cull the unused branches
# have a repo (bit of git? or still svn) defining the env setup for java7 & 8 
builds
# have all the active builds fixed, i.e. have people care about it.
# add a test for each branch which checks the code for the target version e.g. 
java7 and later java 8 logic. This will automatically catch out of date builds 
without changing the build itself.

> Make hadoop trunk build on Java7+ only
> --------------------------------------
>
>                 Key: HADOOP-10530
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10530
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 3.0.0, 2.6.0
>         Environment: Java 1.7+
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Blocker
>             Fix For: 2.7.0
>
>         Attachments: HADOOP-10530-001.patch, HADOOP-10530-002.patch, 
> HADOOP-10530-003.patch, HADOOP-10530-004.patch, HADOOP-10530-005.patch, 
> HADOOP-10530-debug.000.patch, Screen Shot 2014-09-20 at 18.09.05.png
>
>
> As discussed on hadoop-common, hadoop 3 is envisaged to be Java7+ *only* 
> -this JIRA covers switching the build for this
> # maven enforcer plugin to set Java version = {{[1.7)}}
> # compiler to set language to java 1.7



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to