• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » How to Install Apache Helix

By Abhishek Ghosh December 18, 2019 8:51 pm Updated on December 18, 2019

How to Install Apache Helix

Advertisement

This guide supposed to work as a helper guide beside the official docs. Apache Helix is a cluster management framework which registers all the cluster details including the cluster itself, nodes and resources. Helix automates the management of partitioned, replicated and distributed resources hosted on a cluster. In this guide, we are avoiding various theory questions which commonly arise while talking around Apache Helix such as comparison with Apache Mesos, even comparison with Apache Zookeeper. Helix has wider use cases. The official website and documentation on Helix should be enough to get started.

Dependencies of Apache Helix varies according to the goal (dependency is a complex matter for the tools related to DevOps and data sciences). Apache Zookeeper and some database such as PostgreSQL are kind of obvious dependencies.

How to Install Apache Helix

Download Apache Zookeeper from the official website. Download Apache Helix. Unzip Apache Zookeeper into the desired location which peoples refer as the home of zookeeper – zookeeper_home. Navigate to zookeeper_home/conf location and make a copy of zoo_sample.conf to zoo.conf. Open and edit zoo.conf if needed. Like an example, here are two important lines :

Advertisement

---

Vim
1
2
3
4
# snapshot storage
dataDir=/tmp/zookeeper
# port
clientPort=2181

Unzip Apache helix to into desired location – helix_home. Go to zookeeper_home/bin and issue the below command to start zookeeper server:

Vim
1
sudo ./zkServer.sh start

The Zookeeper activities can be viewed from zookeeper_home/bin/zookeeper.out. Apache Helix provides utility scripts inside helix_home/bin. Navigate to helix_home/bin.

Building Helix admin

Vim
1
2
3
git clone git://git.apache.org/helix.git
cd helix
mvn clean install package -DskipTests

Helix supports bootstrapping a cluster configuration based on a YAML file :

Vim
1
https://helix.apache.org/0.7.1-docs/tutorial_yaml.html

Creating supercluster on Zookeeper

Vim
1
2
3
4
5
6
cd helix-core/target/helix-core-pkg/bin
chmod +x ./helix-admin.sh
./helix-admin.sh --addCluster mySuperCluster --zkSvr <ZKSERVER:PORT>
Creating helix controller instances to super cluster
./helix-admin.sh --addNode mySuperCluster myController-1_12345 --zkSvr <ZKSERVER:PORT>
./helix-admin.sh --addNode mySuperCluster myController-n_12345 --zkSvr <ZKSERVER:PORT>

You can start all of the controller instances :

Vim
1
2
./run-helix-controller.sh  --cluster mySuperCluster --mode DISTRIBUTED --controllerName myController-1_12345 --zkSvr <ZKSERVER:PORT>  
./run-helix-controller.sh  --cluster mySuperCluster --mode DISTRIBUTED --controllerName myController-n_12345 --zkSvr <ZKSERVER:PORT>  

This ends this guide.

Tagged With apache helix how to get help
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How to Install Apache Helix

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • How to Install Apache Accumulo on Ubuntu (Single Cloud Server Instance)

    Here Are the Steps on How to Install Apache Accumulo on Ubuntu Running on Single Cloud Server Instance. Accumulo provides robust, scalable data storage.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy