hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Nydegger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10961) Use of deprecated Google Guava (v17) Stopwatch constructor in Hadoop FileInputFormat causes an exception
Date Tue, 12 Aug 2014 13:17:12 GMT

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

Daniel Nydegger commented on HADOOP-10961:
------------------------------------------

Yes thats right. However, it is a well known problem with library dependency overall, you
know...
Google Guava is wide used library, a version update has to be generally proved. By Google,
it is not so smart to change things upwards, that causes exceptions downwards.
It would be nice if the the hadoop team will move to the newest Google Guava library for the
next release. 

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

Mime
View raw message