Git Product home page Git Product logo

Comments (4)

meniku avatar meniku commented on July 28, 2024

Maybe we need to fix the README.

In case that I am right with my assumption that by "node" you mean a RegionServer: Hannibal does not need to be deployed on every RegionServer. In fact, it doesn't need to be executed from within your HBase Cluster at all. Hannibal collects metrics for all RegionServers, regardless of where it is installed. Installing it multiple times is unnecessary.

I recommend to run it on a seperate machine if possible.

from hannibal.

hercules90 avatar hercules90 commented on July 28, 2024

Is there a way to create an assembly for deployment? I am actually trying to deploy on a util box that connects to our cluster but unfortunately I might not really be able to build the project on that box as specified in the README but rather simply deploy assemblies(tar.gz). Is there any way to do that?

from hannibal.

meniku avatar meniku commented on July 28, 2024

playframework has an option to do that, the "stage" task.

Unfortunately this results version-conflict in log4j. I don't have a solution for this yet :(

Things to reproduce:

./sbt stage
tar -czf hannibal.tgz target/start target/staged/ conf/
cp hannibal.tgz /tmp
mkdir /tmp/hannibal
cd /tmp/hannibal
tar -xf /tmp/hannibal.tgz
./target/start -DapplyEvolutions.default=true

Another problem is that this bypasses the hannibal-start script. so it will ignore the env-var "HANNIBAL_HTTP_PORT" if it has been set. But there may be a workaround for that

For more info look here: https://github.com/playframework/Play20/wiki/Production

from hannibal.

meniku avatar meniku commented on July 28, 2024

The script ./create_package is now compatible with all hbase-versions, it is available in the next branch.
It now also contains a correct ./start script, which behaves just like the normal start script.

from hannibal.

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.