Hi,

Do you know what Hadoop distribution you are using?

One way to find out is to start up the HBase shell:

./hbase shell
2016-10-12 15:18:27,245 INFO  [main] Configuration.deprecation:
hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2016-10-12 15:18:28,968 WARN  [main] util.NativeCodeLoader: Unable to load
native-hadoop library for your platform... using builtin-java classes
where applicable
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
Version 1.0.0-cdh5.4.4, rUnknown, Mon Jul  6 16:46:55 PDT 2015

hbase(main):001:0>

So, in my example, I am on Cloudera 5.4.4, so I should do the following:

export HBASE_DISTRO=CDH5.4

Hope this helps,

Dave

-----Original Message-----
From: 苏锦佩 [mailto:873118...@qq.com]
Sent: Wednesday, October 12, 2016 12:21 AM
To: dev <dev@trafodion.incubator.apache.org>
Subject: how to set HBASE_DISTRO of env when build source

Hi,
      I am newbie to Trafodion and I am trying to build trafodion from
source according the Trafodion Contributor
Guide(https://cwiki.apache.org/confluence/display/TRAFODION/Build+Source).
When I went to bellow step:
source ./env.sh
I get below message:


If you haven't set HBASE_DISTRO, please set it before source current file
      export HBASE_DISTRO=APACHE1.0 (APACHE HBASE1.0)
      export HBASE_DISTRO=APACHE1.1 (APACHE HBASE1.1)
      export HBASE_DISTRO=CDH5.4    (cloudera 1.0.0-cdh5.4.4)
      export HBASE_DISTRO=CDH5.5    (cloudera 1.0.0-cdh5.5.1)
      export HBASE_DISTRO=HDP       (hortonworks 2.3)


I found the HBASE_DISTRO was not set yet, but I can't find any idea to set
this variable from this guide, would you help me?




Best Regards!
SuJinpei

Reply via email to