hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5955) Guava 11 drops MapEvictionListener and Hadoop 2.0.0-alpha requires it
Date Fri, 29 Jun 2012 00:53:44 GMT

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

Lars Hofhansl commented on HBASE-5955:
--------------------------------------

Oh, an the problem here is in the DFSClient as used from HBase, so it "sees" all the HBase
libraries (which in this case is Guava r09).
Also, I checked whether Guava r09 has RemovalListener (see parent patch), but it does not,
so we'd have to reflect this away.
(Because if we use the current EvictionListener it won't work with Guava 11.x, and if we use
RemovalListener it won't work Guava 9, and at the same time we have to use the same version
of Guava that Hadoop is using)

                
> Guava 11 drops MapEvictionListener and Hadoop 2.0.0-alpha requires it
> ---------------------------------------------------------------------
>
>                 Key: HBASE-5955
>                 URL: https://issues.apache.org/jira/browse/HBASE-5955
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.0
>            Reporter: Andrew Purtell
>            Assignee: Lars Hofhansl
>             Fix For: 0.94.1
>
>
> Hadoop 2.0.0-alpha depends on Guava 11.0.2. Updating HBase dependencies to match produces
the following compilation errors:
> {code}
> [ERROR] SingleSizeCache.java:[41,32] cannot find symbol
> [ERROR] symbol  : class MapEvictionListener
> [ERROR] location: package com.google.common.collect
> [ERROR] 
> [ERROR] SingleSizeCache.java:[94,4] cannot find symbol
> [ERROR] symbol  : class MapEvictionListener
> [ERROR] location: class org.apache.hadoop.hbase.io.hfile.slab.SingleSizeCache
> [ERROR] 
> [ERROR] SingleSizeCache.java:[94,69] cannot find symbol
> [ERROR] symbol  : class MapEvictionListener
> [ERROR] location: class org.apache.hadoop.hbase.io.hfile.slab.SingleSizeCache
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message