If you use this ctor of HBaseAdmin:
public HBaseAdmin(Configuration c)
throws MasterNotRunningException, ZooKeeperConnectionException {
this.conf = HBaseConfiguration.create(c);
HBaseAdmin would have an instance of HBaseConfiguration created as
described previously.
And getConfiguration() would just return this instance:
public Configuration getConfiguration() {
return this.conf;
}
Can you tell us what safety valve(s) your client tries to obtain ?
On Wed, Feb 12, 2014 at 9:32 AM, 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