HBaseConfiguration.create() loads the configuration from the hbase-site.xml
in the classpath.
If you have multiple hbase-site.xml you should put the one that you want to
use in the classpath.

The client hbase-site.xml doesn't need all the properties of the Master or
the Region Servers.
HBaseAdmin and all the other hbase classes are using
HBaseConfiguration.create() so there is no difference.
You must have the hbase-site.xml that you want to use in the classpath.

If you want to know the configuration that each server is running, you can
fetch it from the web-ui.

Matteo



On Wed, Feb 12, 2014 at 5:32 PM, Vinay Kashyap <[email protected]>wrote:

> HbaseConfiguration.create() provides even the server side properties as
> wel..?? <br/>For eg., when using cloudera hadoop, I configure extra
> properties in region server safety valve and use in my hbase server. I want
> to obtain the value of one of the properties which is configured in the
> safety valve in my code.. Will I get those propeties from
> HBaseConfiguration.create(). I guess it is only to read and connect to the
> HBase server at client side..<br/><br/>I found another API,
> hBaseAdmin.getConfiguration(). The javadoc says it provides Configuration
> used by this instance. Do you guys think this API helps..?? I am yet to try
> this out..<br/><br/>Thanks and regards<br/>Vinay Kashyap

Reply via email to