You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafodion.apache.org by 苏锦佩 <87...@qq.com> on 2016/10/12 07:21:16 UTC
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
回复:RE: how to set HBASE_DISTRO of env when build source
Posted by 苏锦佩 <87...@qq.com>.
Hi all,
I seem to hava built and installed trafodion successfully without setting the HBASE_DISTRO variable, I am running the test suits which trafodion come with
to see if it is really installed successfully. Thank you for your kind help.
Best Regards!
Su Jinpei
------------------ 原始邮件 ------------------
发件人: "Steve Varnau";<st...@esgyn.com>;
发送时间: 2016年10月13日(星期四) 凌晨0:16
收件人: "dev@trafodion.incubator.apache.org"<de...@trafodion.incubator.apache.org>;
主题: RE: how to set HBASE_DISTRO of env when build source
Yes, but just to *build* you don't need to set HBASE_DISTRO variable. The build will produce software for all the supported distros.
-Steve
> -----Original Message-----
> From: Dave Birdsall [mailto:dave.birdsall@esgyn.com]
> Sent: Wednesday, October 12, 2016 8:19 AM
> To: dev@trafodion.incubator.apache.org
> Subject: RE: how to set HBASE_DISTRO of env when build source
>
> 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:873118042@qq.com]
> Sent: Wednesday, October 12, 2016 12:21 AM
> To: dev <de...@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+Sour
> ce).
> 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
RE: how to set HBASE_DISTRO of env when build source
Posted by Steve Varnau <st...@esgyn.com>.
Yes, but just to *build* you don't need to set HBASE_DISTRO variable. The build will produce software for all the supported distros.
-Steve
> -----Original Message-----
> From: Dave Birdsall [mailto:dave.birdsall@esgyn.com]
> Sent: Wednesday, October 12, 2016 8:19 AM
> To: dev@trafodion.incubator.apache.org
> Subject: RE: how to set HBASE_DISTRO of env when build source
>
> 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:873118042@qq.com]
> Sent: Wednesday, October 12, 2016 12:21 AM
> To: dev <de...@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+Sour
> ce).
> 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
RE: how to set HBASE_DISTRO of env when build source
Posted by Dave Birdsall <da...@esgyn.com>.
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:873118042@qq.com]
Sent: Wednesday, October 12, 2016 12:21 AM
To: dev <de...@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