Comments (4)
Hi, you just need to put the hostname where an instance of zookeeper is listening on port 2181 (omit the port).
If you have docker installed in your workstation, you can try my all-in-one solution for hbase. Just run:
docker run -d -h hbase -p 2181:2181 -p 60000:60000 -p 60010:60010 -p 60020:60020 -p 60030:60030 --name hbase dockmob/hbase -t pseudodistributed
And you create a local instance of hbase (master+regional ever+zookeeper) that you can control later by using: docker start hbase, or docker stop hbase.
To connect to the docker instance, you need to modify your /etc/hosts file to append 'hbase' to the line where '127.0.0.1' is already present (Linux and latest beta versions of docker for Mac and windows) or add a line with the host of boot2docker VM: usually '192.168.99.100 hbase'.
Once set, you can use 'hbase' as "thehost".
from spark-hbase-connector.
Oh, if you already have a remote instance of hbase, you just need to make sure that you can reach each hbase region server using the internal IP address scheme (I.e. the IP addresses known by zookeeper). Being in the same LAN or VPN does the trick. Once done, just point to the node hosting a zookeeper server.
from spark-hbase-connector.
thank you so much nicolaferraro! You've been really helpful :)
from spark-hbase-connector.
@hengtelin Close this issue.
from spark-hbase-connector.
Related Issues (20)
- How is the Performance of this Connector? HOT 1
- Upload package to https://spark-packages.org/
- Can this framework use Java? HOT 1
- there is not spark-hbase-connector_2.11 Could it support scala 2.11? HOT 4
- could not find implicit value for parameter mapper: it.nerdammer.spark.hbase.conversion.FieldWriter[org.apache.spark.sql.Row] rdd.toHBaseTable("mytable") HOT 2
- Running in Spark 2.2
- spark streaming with hbase ERROR HOT 2
- I got this error when running the connector: java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException Any idea ?
- ClusterId read in ZooKeeper is null HOT 2
- Continuously INFO JobScheduler: Added jobs for time HOT 2
- Whether to support kerberos authentication access? HOT 2
- Caused by: java.lang.RuntimeException: java.lang.NullPointerException at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:208)
- how do i apply a customized partitioner to hBaseRDD? HOT 2
- how do i generate a pairRDD?
- IllegalArgumentException: Unexpected number of columns: expected 2 or 1, returned 1 HOT 1
- Pyspark support
- java.lang.ClassCastException: cannot assign instance of scala.collection.immutable.List$SerializationProxy to field org.apache.spark.rdd.RDD.org$apache$spark$rdd$RDD$$dependencies_ of type scala.collection.Seq in instance of org.apache.spark.rdd.MapPartitionsRDD HOT 1
- tuple limit 22 while inserting data into hbase HOT 1
- Supports hbase-1.2.X? HOT 2
- Spark2.4.2, Hbase1.4.9 run error, can not find the class : java.lang.ClassNotFoundException: org.apache.hadoop.hbase.regionserver.StoreFileWriter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spark-hbase-connector.