Try -Dhadoop-three.version=3.1.2? Michael <mich...@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 > >