Grokbase Groups HBase dev March 2011
FAQ
Hi,

I am still confused what libs we need for clients. I keep seeing Guava
and I am not sure where this is used. I tried some (given, simple)
examples and cannot see where it is required as they all run just
fine. See

https://github.com/larsgeorge/hbase-book/blob/master/pom.xml

So the list that works for me is:

[INFO] +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- log4j:log4j:jar:1.2.16:compile
[INFO] +- org.apache.hadoop:hadoop-core:jar:0.20-append-r1044525:compile
[INFO] +- org.apache.zookeeper:zookeeper:jar:3.3.2:compile
[INFO] \- org.apache.hbase:hbase:jar:0.91.0-SNAPSHOT:compile

everything else is excluded. Looks like Guava is only used in the
MapReduce helper functions, no? In that case Guava only needs adding
when writing MR jobs? Is there a rule we could formulate?

Lars

Search Discussions

  • Thomas Koch at Mar 3, 2011 at 5:00 pm

    Lars George:
    Hi,

    I am still confused what libs we need for clients. I keep seeing Guava
    and I am not sure where this is used. I tried some (given, simple)
    examples and cannot see where it is required as they all run just
    fine. See
    Hi,

    maybe the right thing would be to solve HBASE-2170[1] instead?

    [1] hbase lightweight client library as a distribution
    http://issues.apache.org/jira/browse/HBASE-2170

    Best regards,

    Thomas Koch, http://www.koch.ro
  • Lars George at Mar 3, 2011 at 5:19 pm
    Hi Thomas,

    Yeah, but that is a difficult topic no one is going to touch even with
    a 10-foot pole.

    :)

    Lars
    On Thu, Mar 3, 2011 at 5:59 PM, Thomas Koch wrote:
    Lars George:
    Hi,

    I am still confused what libs we need for clients. I keep seeing Guava
    and I am not sure where this is used. I tried some (given, simple)
    examples and cannot see where it is required as they all run just
    fine. See
    Hi,

    maybe the right thing would be to solve HBASE-2170[1] instead?

    [1] hbase lightweight client library as a distribution
    http://issues.apache.org/jira/browse/HBASE-2170

    Best regards,

    Thomas Koch, http://www.koch.ro
  • Stack at Mar 3, 2011 at 5:46 pm
    Guava is not needed since
    https://issues.apache.org/jira/browse/HBASE-3264 (Patch removes it
    from a few places including MR support util).
    Your list looks right Lars,
    St.Ack

    On Thu, Mar 3, 2011 at 8:05 AM, Lars George wrote:
    Hi,

    I am still confused what libs we need for clients. I keep seeing Guava
    and I am not sure where this is used. I tried some (given, simple)
    examples and cannot see where it is required as they all run just
    fine. See

    https://github.com/larsgeorge/hbase-book/blob/master/pom.xml

    So the list that works for me is:

    [INFO] +- commons-logging:commons-logging:jar:1.1.1:compile
    [INFO] +- log4j:log4j:jar:1.2.16:compile
    [INFO] +- org.apache.hadoop:hadoop-core:jar:0.20-append-r1044525:compile
    [INFO] +- org.apache.zookeeper:zookeeper:jar:3.3.2:compile
    [INFO] \- org.apache.hbase:hbase:jar:0.91.0-SNAPSHOT:compile

    everything else is excluded. Looks like Guava is only used in the
    MapReduce helper functions, no? In that case Guava only needs adding
    when writing MR jobs? Is there a rule we could formulate?

    Lars

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshbase, hadoop
postedMar 3, '11 at 4:06p
activeMar 3, '11 at 5:46p
posts4
users3
websitehbase.apache.org

3 users in discussion

Lars George: 2 posts Thomas Koch: 1 post Stack: 1 post

People

Translate

site design / logo © 2023 Grokbase