GithubHelp home page GithubHelp logo

Comments (4)

nicolaferraro avatar nicolaferraro commented on May 28, 2024

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.

nicolaferraro avatar nicolaferraro commented on May 28, 2024

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.

hengtelin avatar hengtelin commented on May 28, 2024

thank you so much nicolaferraro! You've been really helpful :)

from spark-hbase-connector.

chetkhatri avatar chetkhatri commented on May 28, 2024

@hengtelin Close this issue.

from spark-hbase-connector.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.