hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: Hive/hbase integration - Rebuild the Storage Handler
Date Tue, 22 Mar 2011 17:58:46 GMT
Look at this line in ivy/libraries.properties:
hbase.version=0.89.0-SNAPSHOT

The jars would be downloaded to:
./build/ivy/lib/default/hbase-0.89.0-SNAPSHOT-tests.jar
./build/ivy/lib/default/hbase-0.89.0-SNAPSHOT.jar

After changing hbase.version, I saw:

[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]           module not found:
org.apache.hbase#hbase;0.90.0-SNAPSHOT
[ivy:resolve]   ==== hadoop-source: tried
[ivy:resolve]     -- artifact
org.apache.hbase#hbase;0.90.0-SNAPSHOT!hbase.jar:
[ivy:resolve]
http://mirror.facebook.net/facebook/hive-deps/hadoop/core/hbase-0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT.jar
[ivy:resolve]     -- artifact
org.apache.hbase#hbase;0.90.0-SNAPSHOT!hbase.jar(test-jar):
[ivy:resolve]
http://mirror.facebook.net/facebook/hive-deps/hadoop/core/hbase-0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT.jar
[ivy:resolve]   ==== apache-snapshot: tried
[ivy:resolve]
https://repository.apache.org/content/repositories/snapshots/org/apache/hbase/hbase/0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT.pom
[ivy:resolve]     -- artifact
org.apache.hbase#hbase;0.90.0-SNAPSHOT!hbase.jar:
[ivy:resolve]
https://repository.apache.org/content/repositories/snapshots/org/apache/hbase/hbase/0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT.jar
[ivy:resolve]     -- artifact
org.apache.hbase#hbase;0.90.0-SNAPSHOT!hbase.jar(test-jar):
[ivy:resolve]
https://repository.apache.org/content/repositories/snapshots/org/apache/hbase/hbase/0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT-tests.jar
[ivy:resolve]   ==== maven2: tried
[ivy:resolve]
http://repo1.maven.org/maven2/org/apache/hbase/hbase/0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT.pom
[ivy:resolve]     -- artifact
org.apache.hbase#hbase;0.90.0-SNAPSHOT!hbase.jar:
[ivy:resolve]
http://repo1.maven.org/maven2/org/apache/hbase/hbase/0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT.jar
[ivy:resolve]     -- artifact
org.apache.hbase#hbase;0.90.0-SNAPSHOT!hbase.jar(test-jar):
[ivy:resolve]
http://repo1.maven.org/maven2/org/apache/hbase/hbase/0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT.jar
[ivy:resolve]   ==== datanucleus-repo: tried
[ivy:resolve]     -- artifact
org.apache.hbase#hbase;0.90.0-SNAPSHOT!hbase.jar:
[ivy:resolve]
http://www.datanucleus.org/downloads/maven2/org/apache/hbase/hbase/0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT.jar
[ivy:resolve]     -- artifact
org.apache.hbase#hbase;0.90.0-SNAPSHOT!hbase.jar(test-jar):
[ivy:resolve]
http://www.datanucleus.org/downloads/maven2/org/apache/hbase/hbase/0.90.0-SNAPSHOT/hbase-0.90.0-SNAPSHOT.jar
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
[ivy:resolve]           :: org.apache.hbase#hbase;0.90.0-SNAPSHOT: not found
[ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::

Copying dev@hbase.apache.org for further comment.

On Tue, Mar 22, 2011 at 8:40 AM, Jean-Charles Thomas <
JCThomas@autoscout24.com> wrote:

>  Hi,
>
>
>
> I am using hbase 0.90 and Hive 0.7 and would like to try the hive/hbase
> integration. From the Wiki Doc I could see that I have to rebuild the the
> handler:
>
>
>
> “If you are not using hbase-0.89.0, you will need to rebuild the handler
> with the HBase jar matching your version, and change the --auxpath above
> accordingly”
>
>
>
> Can someone explain in more details how this can be done? I unfortunately
> only have a basic java knowledge.
>
>
>
> Thanks in advance,
>
>
>
> JC
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message