-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configuration for remote HBase cluster #96
Comments
@mrauter HBaseConfiguration.create() will get the configuration from the hbase-site.xml (it typically sits on your /etc/hbase/conf and you need to add it to the connector classpath). This is the best practice for connecting to Hbase as opposed to calling the #set on the configuration with the required settings. Your hbase-site.xml should/would have all the values pointing to the remote Hbase |
<configuration>
<property>
<name>hbase.zookeeper.quorum</name>
<value>192.168.1.101</value>
<description>The directory shared by region servers.</description>
</property>
</configuration>
export CLASSPATH=$CLASSPATH:/opt/hbase-site.xml
bin/confluent stop connect
bin/confluent start connect
bin/confluent log connect
[2017-11-17 16:13:08,541] INFO Process identifier=hconnection-0x4107c3fd connecting to ZooKeeper ensemble=localhost:2181 (org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper:120)
|
@stheppi Can hbase sink support specifying hbase connection in connector properties rather in hbase-site.xml. |
* Update google-cloud-core, ... to 2.43.0 * Update logback-classic, logback-core to 1.5.8 --------- Co-authored-by: Scala Steward <[email protected]>
Maybe a stupid question but how can I configure the HBase connector to a Zookeeper/HBase Cluster which is not running on localhost?
`[2016-12-16 14:03:42,449] INFO Process identifier=hconnection-0x25a855e1 connecting to ZooKeeper ensemble=localhost:2181 (org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper:120)
[2016-12-16 14:03:59,391] ERROR ZooKeeper exists failed after 4 attempts (org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper:277)`
I couldn't find the setting for this
The text was updated successfully, but these errors were encountered: