giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sun, Chao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-1155) Get IllegalAccessError when try to run giraph example
Date Wed, 20 Mar 2019 03:26:00 GMT

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

Sun, Chao commented on GIRAPH-1155:
-----------------------------------

This exception is due to hadoop version, the access modifier of \{@link org.apache.hadoop.ipc.Client#setPingInterval(...)}
has been changed from +_public_+ to _+default(package)+_ since hadoop@2.7.3

Try to degrade your hadoop version to 2.5.1

Or change the code in GiraphJob.java, and rebuild Giraph

 

> Get IllegalAccessError when try to run giraph example
> -----------------------------------------------------
>
>                 Key: GIRAPH-1155
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-1155
>             Project: Giraph
>          Issue Type: Bug
>         Environment: Hadoop 2.8.0
>            Reporter: EBENEZER RAJADURAI T
>            Priority: Critical
>
> Exceptions:
> Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.apache.hadoop.ipc.Client.setPingInterval(Lorg/apache/hadoop/conf/Configuration;I)V
from class org.apache.giraph.job.GiraphJob
> 	at org.apache.giraph.job.GiraphJob.run(GiraphJob.java:213)
> 	at org.apache.giraph.GiraphRunner.run(GiraphRunner.java:94)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
> 	at org.apache.giraph.GiraphRunner.main(GiraphRunner.java:124)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.hadoop.util.RunJar.run(RunJar.java:234)
> 	at org.apache.hadoop.util.RunJar.main(RunJar.java:148)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message