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

Steve Loughran commented on HADOOP-10961:
-----------------------------------------

one of the perennial "google drops things from Guava problems" that can only be 
addressed by moving up Guava, here to v15+

> Use of deprecated Google Guava (v17) Stopwatch constructor in Hadoop 
> FileInputFormat causes an exception
> --------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-10961
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10961
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.4.1
>            Reporter: Daniel Nydegger
>
> With Google Guava 17 the Stopwatch() constructor is marked as deprecated. The 
> use of the constructor in 
> org.apache.hadoop.mapreduce.lib.input.FileInputFormat (Line 369) causes an 
> exception 
> Exception in thread "main" java.lang.IllegalAccessError: tried to access 
> method com.google.common.base.Stopwatch.<init>()V from class 
> org.apache.hadoop.mapreduce.lib.input.FileInputFormat
>       at 
> org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:369)
>       at 
> org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:493)
>       at 
> org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:510)
>       at 
> org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:394)
>       at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1285)
>       at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1282)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at javax.security.auth.Subject.doAs(Subject.java:415)
>       at 
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1556)
>       at org.apache.hadoop.mapreduce.Job.submit(Job.java:1282)
>       at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1303)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to