[
https://issues.apache.org/jira/browse/GIRAPH-798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836478#comment-13836478
]
Rob Vesse commented on GIRAPH-798:
----------------------------------
Also down-compiling to Java 1.6 by changing the {project.build.targetJdk} is
not an option because the code has changed (BspServiceWorker.java) to use a
language construct not supported in Java 1.6 (multi-catch statement):
{noformat}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on
project giraph-core: Compilation failure
[ERROR]
/Users/rvesse/Documents/Work/Code/giraph/giraph-core/target/munged/main/org/apache/giraph/worker/BspServiceWorker.java:[1535,30]
multi-catch statement is not supported in -source 1.6
[ERROR] (use -source 7 or higher to enable multi-catch statement)
{noformat}
> Upgrade Giraph to Java7 and fix all dependencies
> ------------------------------------------------
>
> Key: GIRAPH-798
> URL: https://issues.apache.org/jira/browse/GIRAPH-798
> Project: Giraph
> Issue Type: Improvement
> Reporter: Avery Ching
> Assignee: Avery Ching
>
> We need to upgrade to Java 7, Java 6 is no longer supported and Java 7
> provides a lot of great new features.
> Additionally, we have a mess of dependencies.
> Incompatible versions, unspecified dependencies, and duplicate classes. We
> will add checks for all of them.
> For now, full checks are provided for the profiles
> hadoop_0.20.203
> hadoop_1.0
> hadoop_facebook
> Also, the hcatalog module is not fully fixed and excluded from the checking.
> We can fix this in the future.
--
This message was sent by Atlassian JIRA
(v6.1#6144)