[jira] [Commented] (SPARK-1437) Jenkins should build with Java 6
[ https://issues.apache.org/jira/browse/SPARK-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967522#comment-13967522 ] Sean Owen commented on SPARK-1437: -- Pardon my boldness in pushing this onto your plate pwendell, but might be a very quick fix in Jenkins. If Travis CI is going to be activated, it can definitely be configured to build with Java 6 and 7 both. > Jenkins should build with Java 6 > > > Key: SPARK-1437 > URL: https://issues.apache.org/jira/browse/SPARK-1437 > Project: Spark > Issue Type: Bug > Components: Build >Affects Versions: 0.9.0 >Reporter: Sean Owen >Assignee: Patrick Wendell >Priority: Minor > Labels: javac, jenkins > Attachments: Screen Shot 2014-04-07 at 22.53.56.png > > > Apologies if this was already on someone's to-do list, but I wanted to track > this, as it bit two commits in the last few weeks. > Spark is intended to work with Java 6, and so compiles with source/target > 1.6. Java 7 can correctly enforce Java 6 language rules and emit Java 6 > bytecode. However, unless otherwise configured with -bootclasspath, javac > will use its own (Java 7) library classes. This means code that uses classes > in Java 7 will be allowed to compile, but the result will fail when run on > Java 6. > This is why you get warnings like ... > Using /usr/java/jdk1.7.0_51 as default JAVA_HOME. > ... > [warn] warning: [options] bootstrap class path not set in conjunction with > -source 1.6 > The solution is just to tell Jenkins to use Java 6. This may be stating the > obvious, but it should just be a setting under "Configure" for > SparkPullRequestBuilder. In our Jenkinses, JDK 6/7/8 are set up; if it's not > an option already I'm guessing it's not too hard to get Java 6 configured on > the Amplab machines. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Commented] (SPARK-1437) Jenkins should build with Java 6
[ https://issues.apache.org/jira/browse/SPARK-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525761#comment-14525761 ] Steve Loughran commented on SPARK-1437: --- ..be good for the pull request test runs to use java6 too; I've already had to purge some java7-isms that didn't get picked up > Jenkins should build with Java 6 > > > Key: SPARK-1437 > URL: https://issues.apache.org/jira/browse/SPARK-1437 > Project: Spark > Issue Type: Bug > Components: Build, Project Infra >Affects Versions: 0.9.0 >Reporter: Sean Owen >Priority: Minor > Labels: javac, jenkins > Attachments: Screen Shot 2014-04-07 at 22.53.56.png > > > Apologies if this was already on someone's to-do list, but I wanted to track > this, as it bit two commits in the last few weeks. > Spark is intended to work with Java 6, and so compiles with source/target > 1.6. Java 7 can correctly enforce Java 6 language rules and emit Java 6 > bytecode. However, unless otherwise configured with -bootclasspath, javac > will use its own (Java 7) library classes. This means code that uses classes > in Java 7 will be allowed to compile, but the result will fail when run on > Java 6. > This is why you get warnings like ... > Using /usr/java/jdk1.7.0_51 as default JAVA_HOME. > ... > [warn] warning: [options] bootstrap class path not set in conjunction with > -source 1.6 > The solution is just to tell Jenkins to use Java 6. This may be stating the > obvious, but it should just be a setting under "Configure" for > SparkPullRequestBuilder. In our Jenkinses, JDK 6/7/8 are set up; if it's not > an option already I'm guessing it's not too hard to get Java 6 configured on > the Amplab machines. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-1437) Jenkins should build with Java 6
[ https://issues.apache.org/jira/browse/SPARK-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526474#comment-14526474 ] Patrick Wendell commented on SPARK-1437: Hey [~shaneknapp] we had punted on this one a while back but it's now pretty important to day-to-day development for Spark. Any idea how much effort it would be to get this going on Jenkins? > Jenkins should build with Java 6 > > > Key: SPARK-1437 > URL: https://issues.apache.org/jira/browse/SPARK-1437 > Project: Spark > Issue Type: Bug > Components: Build, Project Infra >Affects Versions: 0.9.0 >Reporter: Sean Owen >Priority: Minor > Labels: javac, jenkins > Attachments: Screen Shot 2014-04-07 at 22.53.56.png > > > Apologies if this was already on someone's to-do list, but I wanted to track > this, as it bit two commits in the last few weeks. > Spark is intended to work with Java 6, and so compiles with source/target > 1.6. Java 7 can correctly enforce Java 6 language rules and emit Java 6 > bytecode. However, unless otherwise configured with -bootclasspath, javac > will use its own (Java 7) library classes. This means code that uses classes > in Java 7 will be allowed to compile, but the result will fail when run on > Java 6. > This is why you get warnings like ... > Using /usr/java/jdk1.7.0_51 as default JAVA_HOME. > ... > [warn] warning: [options] bootstrap class path not set in conjunction with > -source 1.6 > The solution is just to tell Jenkins to use Java 6. This may be stating the > obvious, but it should just be a setting under "Configure" for > SparkPullRequestBuilder. In our Jenkinses, JDK 6/7/8 are set up; if it's not > an option already I'm guessing it's not too hard to get Java 6 configured on > the Amplab machines. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-1437) Jenkins should build with Java 6
[ https://issues.apache.org/jira/browse/SPARK-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526899#comment-14526899 ] shane knapp commented on SPARK-1437: shouldn't be too much work... i can get a 1.6 dist downloaded and synced out to the workers in no time and then you can set a specific JAVA_HOME for the java 6 builds. in a perfect world, i'd use the built-in JDK management, but that doesn't allow us to specify java versions for matrix projects. :( anyways, let me get the JDK installed and deployment scripts updated. > Jenkins should build with Java 6 > > > Key: SPARK-1437 > URL: https://issues.apache.org/jira/browse/SPARK-1437 > Project: Spark > Issue Type: Bug > Components: Build, Project Infra >Affects Versions: 0.9.0 >Reporter: Sean Owen >Assignee: shane knapp >Priority: Minor > Labels: javac, jenkins > Attachments: Screen Shot 2014-04-07 at 22.53.56.png > > > Apologies if this was already on someone's to-do list, but I wanted to track > this, as it bit two commits in the last few weeks. > Spark is intended to work with Java 6, and so compiles with source/target > 1.6. Java 7 can correctly enforce Java 6 language rules and emit Java 6 > bytecode. However, unless otherwise configured with -bootclasspath, javac > will use its own (Java 7) library classes. This means code that uses classes > in Java 7 will be allowed to compile, but the result will fail when run on > Java 6. > This is why you get warnings like ... > Using /usr/java/jdk1.7.0_51 as default JAVA_HOME. > ... > [warn] warning: [options] bootstrap class path not set in conjunction with > -source 1.6 > The solution is just to tell Jenkins to use Java 6. This may be stating the > obvious, but it should just be a setting under "Configure" for > SparkPullRequestBuilder. In our Jenkinses, JDK 6/7/8 are set up; if it's not > an option already I'm guessing it's not too hard to get Java 6 configured on > the Amplab machines. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-1437) Jenkins should build with Java 6
[ https://issues.apache.org/jira/browse/SPARK-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529982#comment-14529982 ] Sean Owen commented on SPARK-1437: -- Heh, so now that we're all going to Java 7, I don't think we need to actually implement this, except possibly in builds for 1.4 and earlier? master builds and PRs will now (continue to) use Java 7 > Jenkins should build with Java 6 > > > Key: SPARK-1437 > URL: https://issues.apache.org/jira/browse/SPARK-1437 > Project: Spark > Issue Type: Bug > Components: Build, Project Infra >Affects Versions: 0.9.0 >Reporter: Sean Owen >Assignee: shane knapp >Priority: Minor > Labels: javac, jenkins > Attachments: Screen Shot 2014-04-07 at 22.53.56.png > > > Apologies if this was already on someone's to-do list, but I wanted to track > this, as it bit two commits in the last few weeks. > Spark is intended to work with Java 6, and so compiles with source/target > 1.6. Java 7 can correctly enforce Java 6 language rules and emit Java 6 > bytecode. However, unless otherwise configured with -bootclasspath, javac > will use its own (Java 7) library classes. This means code that uses classes > in Java 7 will be allowed to compile, but the result will fail when run on > Java 6. > This is why you get warnings like ... > Using /usr/java/jdk1.7.0_51 as default JAVA_HOME. > ... > [warn] warning: [options] bootstrap class path not set in conjunction with > -source 1.6 > The solution is just to tell Jenkins to use Java 6. This may be stating the > obvious, but it should just be a setting under "Configure" for > SparkPullRequestBuilder. In our Jenkinses, JDK 6/7/8 are set up; if it's not > an option already I'm guessing it's not too hard to get Java 6 configured on > the Amplab machines. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-1437) Jenkins should build with Java 6
[ https://issues.apache.org/jira/browse/SPARK-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531012#comment-14531012 ] shane knapp commented on SPARK-1437: that's my understanding: all pre-1.4 builds will also be tested against java6... ...FOR NOW? @patrickwendell confirm pls? > Jenkins should build with Java 6 > > > Key: SPARK-1437 > URL: https://issues.apache.org/jira/browse/SPARK-1437 > Project: Spark > Issue Type: Bug > Components: Build, Project Infra >Affects Versions: 0.9.0 >Reporter: Sean Owen >Assignee: shane knapp >Priority: Minor > Labels: javac, jenkins > Attachments: Screen Shot 2014-04-07 at 22.53.56.png > > > Apologies if this was already on someone's to-do list, but I wanted to track > this, as it bit two commits in the last few weeks. > Spark is intended to work with Java 6, and so compiles with source/target > 1.6. Java 7 can correctly enforce Java 6 language rules and emit Java 6 > bytecode. However, unless otherwise configured with -bootclasspath, javac > will use its own (Java 7) library classes. This means code that uses classes > in Java 7 will be allowed to compile, but the result will fail when run on > Java 6. > This is why you get warnings like ... > Using /usr/java/jdk1.7.0_51 as default JAVA_HOME. > ... > [warn] warning: [options] bootstrap class path not set in conjunction with > -source 1.6 > The solution is just to tell Jenkins to use Java 6. This may be stating the > obvious, but it should just be a setting under "Configure" for > SparkPullRequestBuilder. In our Jenkinses, JDK 6/7/8 are set up; if it's not > an option already I'm guessing it's not too hard to get Java 6 configured on > the Amplab machines. -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org