hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Cuthbert <bencuthb...@ymail.com>
Subject Re: hbase-site.xml property placeholder
Date Fri, 14 Oct 2011 17:10:05 GMT
Thanks. Sort if figured this out by using some scripts. Basically we use Amazon EC2 for our
dev and uat env. And when you stop the service they change the hostnames. 

On 14 Oct 2011, at 18:02, Jean-Daniel Cryans wrote:

> The Configuration class which HBase relies on (just like Hadoop) allows
> variable expansion like described here:
> 
> http://hadoop.apache.org/common/docs/r0.20.204.0/api/org/apache/hadoop/conf/Configuration.html
> 
> Hopefully this can be of help.
> 
> BTW, why do you need different hbase-site.xml files within the same cluster?
> 
> J-D
> 
> On Fri, Oct 14, 2011 at 1:48 AM, Ben Cuthbert <bencuthbert@ymail.com> wrote:
> 
>> All
>> 
>> We are running a large setup for hbase and it would be good to be able to
>> run 1 property file for the whole cluster. so we can can change values
>> in the hbase-site.xml. Is there a way to have the hbase-site.xml read from
>> the env?
>> 
>> something like
>> 
>> <property>
>>               <name>hbase.zookeeper.quorum</name>
>>               <value>${HBASE.SERVER.ZOOKEEPER.QUORUM}</value>
>>       </property>
>> 
>> 


Mime
View raw message