hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-943) java.lang.IllegalAccessError occur at run time when set default "bsp.user.name"
Date Fri, 03 Apr 2015 23:48:52 GMT

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

Hudson commented on HAMA-943:
-----------------------------

SUCCESS: Integrated in Hama-Nightly-for-Hadoop-2.x #567 (See [https://builds.apache.org/job/Hama-Nightly-for-Hadoop-2.x/567/])
HAMA-943: java.lang.IllegalAccessError occur at run time when set default bsp.user.name (edwardyoon:
rev 1671038)
* /hama/trunk/CHANGES.txt
* /hama/trunk/core/src/main/java/org/apache/hama/bsp/BSPJobClient.java
* /hama/trunk/yarn/src/main/java/org/apache/hama/bsp/YarnSerializePrinting.java


> java.lang.IllegalAccessError occur at run time when set default "bsp.user.name"
> -------------------------------------------------------------------------------
>
>                 Key: HAMA-943
>                 URL: https://issues.apache.org/jira/browse/HAMA-943
>             Project: Hama
>          Issue Type: Bug
>          Components: yarn
>    Affects Versions: 0.6.4
>         Environment: 3 clusters on Amazon EMR
>            Reporter: Minho Kim
>            Assignee: Minho Kim
>             Fix For: 0.7.0
>
>         Attachments: HAMA-943.patch
>
>
> java.lang.IllegalAccessError occur at run time when set default "bsp.user.name".
> Error message is as below.
> {code}
> Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.apache.hama.bsp.BSPJobClient.getUnixUserName()Ljava/lang/String;
from class org.apache.hama.bsp.YARNBSPJobClient
> 	at org.apache.hama.bsp.YARNBSPJobClient.launchJob(YARNBSPJobClient.java:153)
> 	at org.apache.hama.bsp.BSPJobClient.submitJobInternal(BSPJobClient.java:400)
> 	at org.apache.hama.bsp.YARNBSPJob.submit(YARNBSPJob.java:79)
> 	at org.apache.hama.bsp.YARNBSPJob.waitForCompletion(YARNBSPJob.java:103)
> 	at org.apache.hama.bsp.YarnSerializePrinting.main(YarnSerializePrinting.java:71)
> 	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.hama.util.RunJar.main(RunJar.java:146)
> {code}
> I think the reason why this error was occurred is I accessed directly parent class method
"getUnixUserName()" which is not protected or public.
> So I'll fix this issue soon.



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

Mime
View raw message