You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Rob Vesse (JIRA)" <ji...@apache.org> on 2013/12/02 13:47:36 UTC

[jira] [Commented] (GIRAPH-798) Upgrade Giraph to Java7 and fix all dependencies

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

Rob Vesse commented on GIRAPH-798:
----------------------------------

This change seems to have happened in haste with no discussion on the developer list.  For those of us trying to use vanilla Hadoop distributions it introduces issues like GIRAPH-807 and it also means that end users now are forced to be using a Hadoop distribution compiled for Java 7 as otherwise you'll get an error like the following:

{noformat}
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/giraph/GiraphRunner : Unsupported major.minor version 51.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:249)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:153)
{noformat}

Depending on your Hadoop distribution provider this either means having to recompile yourself from source or it may leave you unable to run Giraph.

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