You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by shixing <pa...@gmail.com> on 2012/04/23 12:33:21 UTC

How to build hbase with snappy

I run this command:
mvn clean -DskipTests install assembly:single -Dsnappy

it shows:

Downloading:
http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
Downloading:
http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
[WARNING] The POM for org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT is
missing, no dependency information available
Downloading:
https://repository.apache.org/content/repositories/releases/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
Downloading:
http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
Downloading:
http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 16.636s
[INFO] Finished at: Mon Apr 23 18:24:47 CST 2012
[INFO] Final Memory: 10M/360M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project hbase: Could not resolve
dependencies for project org.apache.hbase:hbase:jar:0.92.1: Could not find
artifact org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT in apache
release (https://repository.apache.org/content/repositories/releases/) ->
[Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException


-- 
Best wishes!
My Friend~

Re: How to build hbase with snappy

Posted by lars hofhansl <lh...@yahoo.com>.
Note that 1.0.2+ only bundles the hadoop-snappy glue code, not the snappy libraries themselves.
You still need to install snappy on all involved machines.



________________________________
 From: Harsh J <ha...@cloudera.com>
To: user@hbase.apache.org 
Cc: hbase-user@hadoop.apache.org 
Sent: Tuesday, April 24, 2012 6:34 AM
Subject: Re: How to build hbase with snappy
 
What is your version of Hadoop here? The most recent stable releases
(Including but not limited to Apache Hadoop 1.0.2+, CDH3u1+) bundle
snappy in them already, which you can reuse for HBase.

On Tue, Apr 24, 2012 at 5:49 PM, shixing <pa...@gmail.com> wrote:
> Is there anybody can tell me?
>
> My version is hbase-0.92.0
>
> On Mon, Apr 23, 2012 at 6:33 PM, shixing <pa...@gmail.com> wrote:
>
>> I run this command:
>> mvn clean -DskipTests install assembly:single -Dsnappy
>>
>> it shows:
>>
>> Downloading:
>> http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
>> Downloading:
>> http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
>> [WARNING] The POM for org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT
>> is missing, no dependency information available
>> Downloading:
>> https://repository.apache.org/content/repositories/releases/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
>> Downloading:
>> http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
>> Downloading:
>> http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 16.636s
>> [INFO] Finished at: Mon Apr 23 18:24:47 CST 2012
>> [INFO] Final Memory: 10M/360M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project hbase: Could not resolve
>> dependencies for project org.apache.hbase:hbase:jar:0.92.1: Could not find
>> artifact org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT in apache
>> release (https://repository.apache.org/content/repositories/releases/) ->
>> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>
>>
>> --
>> Best wishes!
>> My Friend~
>>
>
>
>
> --
> Best wishes!
> My Friend~



-- 
Harsh J

Re: How to build hbase with snappy

Posted by Harsh J <ha...@cloudera.com>.
What is your version of Hadoop here? The most recent stable releases
(Including but not limited to Apache Hadoop 1.0.2+, CDH3u1+) bundle
snappy in them already, which you can reuse for HBase.

On Tue, Apr 24, 2012 at 5:49 PM, shixing <pa...@gmail.com> wrote:
> Is there anybody can tell me?
>
> My version is hbase-0.92.0
>
> On Mon, Apr 23, 2012 at 6:33 PM, shixing <pa...@gmail.com> wrote:
>
>> I run this command:
>> mvn clean -DskipTests install assembly:single -Dsnappy
>>
>> it shows:
>>
>> Downloading:
>> http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
>> Downloading:
>> http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
>> [WARNING] The POM for org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT
>> is missing, no dependency information available
>> Downloading:
>> https://repository.apache.org/content/repositories/releases/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
>> Downloading:
>> http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
>> Downloading:
>> http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 16.636s
>> [INFO] Finished at: Mon Apr 23 18:24:47 CST 2012
>> [INFO] Final Memory: 10M/360M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project hbase: Could not resolve
>> dependencies for project org.apache.hbase:hbase:jar:0.92.1: Could not find
>> artifact org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT in apache
>> release (https://repository.apache.org/content/repositories/releases/) ->
>> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>
>>
>> --
>> Best wishes!
>> My Friend~
>>
>
>
>
> --
> Best wishes!
> My Friend~



-- 
Harsh J

Re: How to build hbase with snappy

Posted by Nitin Pawar <ni...@gmail.com>.
Not sure why its missing from maven repository

download it from http://code.google.com/p/hadoop-snappy/

it has steps for build and then run the hbase build

On Tue, Apr 24, 2012 at 5:49 PM, shixing <pa...@gmail.com> wrote:

> Is there anybody can tell me?
>
> My version is hbase-0.92.0
>
> On Mon, Apr 23, 2012 at 6:33 PM, shixing <pa...@gmail.com> wrote:
>
> > I run this command:
> > mvn clean -DskipTests install assembly:single -Dsnappy
> >
> > it shows:
> >
> > Downloading:
> >
> http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
> > Downloading:
> >
> http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
> > [WARNING] The POM for org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT
> > is missing, no dependency information available
> > Downloading:
> >
> https://repository.apache.org/content/repositories/releases/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
> > Downloading:
> >
> http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
> > Downloading:
> >
> http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 16.636s
> > [INFO] Finished at: Mon Apr 23 18:24:47 CST 2012
> > [INFO] Final Memory: 10M/360M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal on project hbase: Could not resolve
> > dependencies for project org.apache.hbase:hbase:jar:0.92.1: Could not
> find
> > artifact org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT in apache
> > release (https://repository.apache.org/content/repositories/releases/)
> ->
> > [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the
> > -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> >
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> >
> >
> > --
> > Best wishes!
> > My Friend~
> >
>
>
>
> --
> Best wishes!
> My Friend~
>



-- 
Nitin Pawar

Re: How to build hbase with snappy

Posted by shixing <pa...@gmail.com>.
Is there anybody can tell me?

My version is hbase-0.92.0

On Mon, Apr 23, 2012 at 6:33 PM, shixing <pa...@gmail.com> wrote:

> I run this command:
> mvn clean -DskipTests install assembly:single -Dsnappy
>
> it shows:
>
> Downloading:
> http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
> Downloading:
> http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.pom
> [WARNING] The POM for org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT
> is missing, no dependency information available
> Downloading:
> https://repository.apache.org/content/repositories/releases/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
> Downloading:
> http://people.apache.org/~garyh/mvn/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
> Downloading:
> http://repository.apache.org/snapshots/org/apache/hadoop/hadoop-snappy/0.0.1-SNAPSHOT/hadoop-snappy-0.0.1-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 16.636s
> [INFO] Finished at: Mon Apr 23 18:24:47 CST 2012
> [INFO] Final Memory: 10M/360M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project hbase: Could not resolve
> dependencies for project org.apache.hbase:hbase:jar:0.92.1: Could not find
> artifact org.apache.hadoop:hadoop-snappy:jar:0.0.1-SNAPSHOT in apache
> release (https://repository.apache.org/content/repositories/releases/) ->
> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>
>
> --
> Best wishes!
> My Friend~
>



-- 
Best wishes!
My Friend~