You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2018/07/26 09:56:00 UTC

[jira] [Resolved] (HBASE-20944) Building hbase 2.0.0 with Hadoop 3.1.0

     [ https://issues.apache.org/jira/browse/HBASE-20944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duo Zhang resolved HBASE-20944.
-------------------------------
    Resolution: Invalid

Jira is for fixing bugs, not for asking questions.

Please send emails to user@hbase.apache.org.

And for this question, if you want to build hbase, see this section

http://hbase.apache.org/book.html#build

And for the issue, do you enable EC on the HDFS cluster? If so, please exclude the wal dir and proc-wal dir as EC output stream does not support hflush/hsync, so can not be used to write WAL.

> Building hbase 2.0.0 with Hadoop 3.1.0
> --------------------------------------
>
>                 Key: HBASE-20944
>                 URL: https://issues.apache.org/jira/browse/HBASE-20944
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 2.0.0
>         Environment: First env:
> {code:java}
> korvit@AKORABLEV:/mnt/c/Users/AKorablev/source/hbase$ mvn -version Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z) Maven home: /mnt/c/Users/AKorablev/tool/apache-maven-3.5.4 Java version: 1.8.0_171, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-oracle/jre Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "4.4.0-17134-microsoft", arch: "amd64", family: "unix" 
> korvit@AKORABLEV:/mnt/c/Users/AKorablev/source/hbase$ java -version java version "1.8.0_171" Java(TM) SE Runtime Environment (build 1.8.0_171-b11) Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode) 
> korvit@AKORABLEV:/mnt/c/Users/AKorablev/source/hbase$ uname -a Linux AKORABLEV 4.4.0-17134-Microsoft #137-Microsoft Thu Jun 14 18:46:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
> {code}
> Second env:
> {code:java}
> user@host:~$ mvn -version
> Apache Maven 3.3.9
> Maven home: /usr/share/maven
> Java version: 1.8.0_171, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/java-8-oracle/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.4.0-127-generic", arch: "amd64", family: "unix"
> user@host:~$ java -version
> java version "1.8.0_171"
> Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
> user@host:~$ uname -a
> Linux host.doman.cloud 4.4.0-127-generic #153-Ubuntu SMP Sat May 19 10:58:46 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
> {code}
>            Reporter: Alexander Korablev
>            Priority: Critical
>
> Hi! I'm trying to build Hbase 2.0.0 with Hadoop 3.1.0. According the [documentation|http://hbase.apache.org/0.94/book/build.html]:
> {code:java}
> git clone https://github.com/apache/hbase.git
> cd hbase
> git checkout rel/2.0.0
> MAVEN_OPTS="-Xmx2g" mvn clean site install assembly:assembly -DskipTests -Prelease -Dhadoop.profile=3.0 -Dhadoop.version=3.1.0 -Dhadoop-three.version=3.1.0
> {code}
>  And i can not found Hbase distribution anywhere.
> What's i'am doing wrong?
> I'm want it because i'm face this [issue|https://stackoverflow.com/questions/48709569/hbase-error-illegalstateexception-when-starting-master-hsync]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)