You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Michael <mi...@fantasymail.de> on 2019/04/03 07:41:24 UTC

build hbase 2.1.4 for hadoop 3.1.2

Hi,

I did a maven build of hbase 2.1.4 for hadoop 3.1.2 using this commandline:

mvn install  -DskipTests -Dhadoop.profile=3.0 -Dhadoop.version=3.1.2

and then this to get a tar ball:

mvn  -DskipTests -Dhadoop.profile=3.0 -Dhadoop.version=3.1.2  package
assembly:single


Is this the correct way to build hbase for hadoop 3.1.2?

In the libs folder there are many haddop-3.0.3 files, only
hadoop-hdfs-client is version 3.1.2

I tried other values for hadoop.profile but it only worked with 3.0 (and
not 3.1 for exmple)


So, does the hadoop 3.0.3 files are ok here?


cheers
 Michael


Re: build hbase 2.1.4 for hadoop 3.1.2

Posted by Michael <mi...@fantasymail.de>.
If I use:

mvn  package  -DskipTests -Dhadoop-three.version=3.1.2 
-Dhadoop.version=3.1.2  assembly:single

or

mvn  package  -DskipTests -Dhadoop-three.version=3.1.2 
-Dhadoop.version=3.1.2  assembly:single


All hadoop-* files in the lib folder are version 2.7.7 only.


How is this supposed to be build?


 Michael


Am 03.04.19 um 14:55 schrieb 张铎(Duo Zhang):
> Try -Dhadoop-three.version=3.1.2?
>
> Michael <micha-1@fantasymail.de <ma...@fantasymail.de>>
> 于2019年4月3日周三 下午3:41写道:
>
>     Hi,
>
>

Re: build hbase 2.1.4 for hadoop 3.1.2

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

Am 03.04.19 um 19:23 schrieb Stack:
> Try:
>
> $ mvn clean install -Dhadoop.profile=3.0 -Dhadoop-three.version=3.1.2
> -DskipTests assembly:single
>
> -Dhadoop.profile=3.0 asks for the 3.0 profile.
>  -Dhadoop-three.version=3.1.2 sets the hadoop 3.0 version to use.
>

that is the right combination of parameters, thanks a lot


cheers
 Michael


Re: build hbase 2.1.4 for hadoop 3.1.2

Posted by Stack <st...@duboce.net>.
Try:

$ mvn clean install -Dhadoop.profile=3.0 -Dhadoop-three.version=3.1.2
-DskipTests assembly:single

-Dhadoop.profile=3.0 asks for the 3.0 profile.
 -Dhadoop-three.version=3.1.2 sets the hadoop 3.0 version to use.

S

On Wed, Apr 3, 2019 at 7:13 AM Michael <mi...@fantasymail.de> wrote:

> Sorry, the last mail should read this way:
>
> If I use:
>
>
> mvn  package  -DskipTests -Dhadoop-three.version=3.1.2
> -Dhadoop.version=3.1.2  assembly:single
>
> or
>
> mvn  package  -DskipTests -Dhadoop-three.version=3.1.2 assembly:single
>
>
> All hadoop-* files in the lib folder are version 2.7.7 only.
>
>
> How is this supposed to be build?
>
>
>  Michael
>
>
> Am 03.04.19 um 14:55 schrieb 张铎(Duo Zhang):
> > Try -Dhadoop-three.version=3.1.2?
> >
> > Michael <micha-1@fantasymail.de <ma...@fantasymail.de>>
> > 于2019年4月3日周三 下午3:41写道:
> >
> >     Hi,
> >
> >
>

Re: build hbase 2.1.4 for hadoop 3.1.2

Posted by Michael <mi...@fantasymail.de>.
Sorry, the last mail should read this way:

If I use:


mvn  package  -DskipTests -Dhadoop-three.version=3.1.2 
-Dhadoop.version=3.1.2  assembly:single

or

mvn  package  -DskipTests -Dhadoop-three.version=3.1.2 assembly:single


All hadoop-* files in the lib folder are version 2.7.7 only.


How is this supposed to be build?


 Michael


Am 03.04.19 um 14:55 schrieb 张铎(Duo Zhang):
> Try -Dhadoop-three.version=3.1.2?
>
> Michael <micha-1@fantasymail.de <ma...@fantasymail.de>>
> 于2019年4月3日周三 下午3:41写道:
>
>     Hi,
>
>

Re: build hbase 2.1.4 for hadoop 3.1.2

Posted by "张铎 (Duo Zhang)" <pa...@gmail.com>.
Try -Dhadoop-three.version=3.1.2?

Michael <mi...@fantasymail.de> 于2019年4月3日周三 下午3:41写道:

> Hi,
>
> I did a maven build of hbase 2.1.4 for hadoop 3.1.2 using this commandline:
>
> mvn install  -DskipTests -Dhadoop.profile=3.0 -Dhadoop.version=3.1.2
>
> and then this to get a tar ball:
>
> mvn  -DskipTests -Dhadoop.profile=3.0 -Dhadoop.version=3.1.2  package
> assembly:single
>
>
> Is this the correct way to build hbase for hadoop 3.1.2?
>
> In the libs folder there are many haddop-3.0.3 files, only
> hadoop-hdfs-client is version 3.1.2
>
> I tried other values for hadoop.profile but it only worked with 3.0 (and
> not 3.1 for exmple)
>
>
> So, does the hadoop 3.0.3 files are ok here?
>
>
> cheers
>  Michael
>
>