[
https://issues.apache.org/jira/browse/HBASE-4072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Harsh J updated HBASE-4072:
---------------------------
Release Note:
The Apache ZooKeeper config file zoo.cfg will no longer be read when
instantiating a HBaseConfiguration object, as it causes various inconsistency
issues. Instead, users have to specify all HBase-relevant ZooKeeper properties
in the hbase-site.xml using the various "hbase.zookeeper" prefixed properties.
For example, specify "hbase.zookeeper.quorum" to provide a ZK quorum server
list.
To enable zoo.cfg reading, for which support may be removed in a future
release, set the property "hbase.config.read.zookeeper.config" to true in the
hbase-site.xml at the client and servers like so:
<property>
<name>hbase.config.read.zookeeper.config</name>
<value>true</value>
<description>
Set to true to allow HBaseConfiguration to read the
zoo.cfg file for ZooKeeper properties. Switching this to true
is not recommended, since the functionality of reading ZK
properties from a zoo.cfg file has been deprecated.
</description>
</property>
was:
The Apache ZooKeeper config file zoo.cfg will no longer be read when
instantiating a HBaseConfiguration object, as it causes various inconsistency
issues. Instead, users have to specify all HBase-relevant ZooKeeper properties
in the hbase-site.xml using the various "hbase.zookeeper" prefixed properties.
For example, specify "hbase.zookeeper.quorum" to provide a ZK quorum server
list.
To enable zoo.cfg reading, for which support may be removed in a future
release, set the property "hbase.config.read.zookeeper.config" to true in the
hbase-site.xml at the client/server.
> Deprecate/disable and remove support for reading ZooKeeper zoo.cfg files from
> the classpath
> -------------------------------------------------------------------------------------------
>
> Key: HBASE-4072
> URL: https://issues.apache.org/jira/browse/HBASE-4072
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.90.0
> Reporter: stack
> Assignee: Harsh J
> Fix For: 0.96.0
>
> Attachments: HBASE-4072.patch, HBASE-4072.patch, HBASE-4072.patch
>
>
> This issue was found by Lars:
> http://search-hadoop.com/m/n04sthNcji2/zoo.cfg+vs+hbase-site.xml&subj=Re+zoo+cfg+vs+hbase+site+xml
> Lets fix the inconsistency found and fix the places where we use non-zk
> attribute name for a zk attribute in hbase (There's only a few places that I
> remember -- maximum client connections is one IIRC)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira