hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-11102) Hadoop now has transient dependency on Guava 16
Date Mon, 20 Oct 2014 19:20:34 GMT

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

Steve Loughran commented on HADOOP-11102:
-----------------------------------------

I did two test builds of curator with guava set to 11.0.2. Curator 2.4.1 builds; Curator 2.6.0
fails in {{curator-x-discovery-server}}:
{code}
[ERROR] /Users/stevel/Projects/Hortonworks/Projects/curator/curator-x-discovery-server/src/main/java/org/apache/curator/x/discovery/server/contexts/GenericDiscoveryContext.java:[21,33]
package com.google.common.reflect does not exist
[ERROR] /Users/stevel/Projects/Hortonworks/Projects/curator/curator-x-discovery-server/src/main/java/org/apache/curator/x/discovery/server/contexts/GenericDiscoveryContext.java:[40,19]
cannot find symbol
[ERROR] symbol:   class TypeToken
[ERROR] location: class org.apache.curator.x.discovery.server.contexts.GenericDiscoveryContext<T>
[ERROR] /Users/stevel/Projects/Hortonworks/Projects/curator/curator-x-discovery-server/src/main/java/org/apache/curator/x/discovery/server/contexts/GenericDiscoveryContext.java:[47,135]
cannot find symbol
[ERROR] symbol:   class TypeToken
[ERROR] location: class org.apache.curator.x.discovery.server.contexts.GenericDiscoveryContext<T>
[ERROR] /Users/stevel/Projects/Hortonworks/Projects/curator/curator-x-discovery-server/src/main/java/org/apache/curator/x/discovery/server/contexts/MapDiscoveryContext.java:[21,33]
package com.google.common.reflect does not exist
[ERROR] /Users/stevel/Projects/Hortonworks/Projects/curator/curator-x-discovery-server/src/main/java/org/apache/curator/x/discovery/server/contexts/GenericDiscoveryContext.java:[44,69]
cannot find symbol
[ERROR] symbol:   variable TypeToken
[ERROR] location: class org.apache.curator.x.discovery.server.contexts.GenericDiscoveryContext<T>
[ERROR] /Users/stevel/Projects/Hortonworks/Projects/curator/curator-x-discovery-server/src/main/java/org/apache/curator/x/discovery/server/contexts/GenericDiscoveryContext.java:[42,12]
recursive constructor invocation
[ERROR] /Users/stevel/Projects/Hortonworks/Projects/curator/curator-x-discovery-server/src/main/java/org/apache/curator/x/discovery/server/contexts/MapDiscoveryContext.java:[38,74]
cannot find symbol
[ERROR] symbol:   class TypeToken
[ERROR] location: class org.apache.curator.x.discovery.server.contexts.MapDiscoveryContext
[ERROR] -> [Help 1]
{code}

This implies that part of curator is not compatible with guava 11, though it is not a core
module.
As 2.4.1 builds without problems, I think the patch should still go in

> Hadoop now has transient dependency on Guava 16
> -----------------------------------------------
>
>                 Key: HADOOP-11102
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11102
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.6.0
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>         Attachments: HADOOP-11102-001.patch, HADOOP-11102-002.patch
>
>
> HADOOP-10868 includes apache curator 2.6.0
> This depends on Guava 16.01
> It's not being picked up, as Hadoop is forcing in 11.0.2 -but this means:
> there is now a risk that curator depends on methods and classes that are not in the Hadoop
version



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

Mime
View raw message