You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Micha <mi...@fantasymail.de> on 2016/04/01 09:40:09 UTC

build error

Hi,

this is my first maven build, thought this should just work :-)

after calling:

MAVEN_OPTS="-Xmx2g" mvn site install assembly:assembly -DskipTests
-Dhadoop-two.version=2.7.2   -Dsnappy


I get:

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


this leads to:

ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
project hbase: failed to get report for
org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal on
project hbase-server: Could not resolve dependencies for project
org.apache.hbase:hbase-server:jar:1.1.4: 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]



how to fix this?

thanks,
 Michael


Re: build error

Posted by Micha <mi...@fantasymail.de>.

Am 01.04.2016 um 11:23 schrieb Ted Yu:
> In refguide, I don't see -Dsnappy mentioned.
> I didn't find snappy in pom.xml either.

indeed, it isn't mentioned. Maybe I used an older building guide.

So snappy works just out of the box?

By the way, the option "-Dhadoop-two.version=2.7.2" also isn't mentioned
in the ref guide, but instead "-Dhadoop.profile=.."
Is there a difference between those two?


> Have you tried building without this -D ?

no, I'll try it

cheers,
Michael


Re: build error

Posted by Ted Yu <yu...@gmail.com>.
In refguide, I don't see -Dsnappy mentioned.
I didn't find snappy in pom.xml either.

Have you tried building without this -D ?

On Fri, Apr 1, 2016 at 12:40 AM, Micha <mi...@fantasymail.de> wrote:

> Hi,
>
> this is my first maven build, thought this should just work :-)
>
> after calling:
>
> MAVEN_OPTS="-Xmx2g" mvn site install assembly:assembly -DskipTests
> -Dhadoop-two.version=2.7.2   -Dsnappy
>
>
> I get:
>
> 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
>
>
> this leads to:
>
> ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on
> project hbase: failed to get report for
> org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal on
> project hbase-server: Could not resolve dependencies for project
> org.apache.hbase:hbase-server:jar:1.1.4: 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]
>
>
>
> how to fix this?
>
> thanks,
>  Michael
>
>