• 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

This Article Has Been Shared 883 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic 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

  • How To Install Hue on Ubuntu 16.04

    Hue is Query Tool With GUI For Browsing, Querying, Visualizing Data & Developing Apps for Hadoop. Here is How To Install Hue on Ubuntu 16.04.

  • Getting Started with Microservices

    Here is a Brief Getting Started with Microservices Article in Plain English for the Readers Who are Not Sure What Microservices are.

  • Install Bokeh Python Visualization Library in Jupyter Notebooks

    With Bokeh You Can Create Interactive Tables and Charts. Here is How to Install Bokeh Python Visualization Library in Jupyter Notebooks.

  • Uses of Text Mining in Web Content Mining : Part IV

    In the third part of Uses of Text Mining in Web Content Mining, we informed that in this part we will discuss about the areas of application or tasks of text mining. Basically, the different methods should analyze texts and make the implicit information too explicit. Then form relations from the information in different texts, […]

  • What is OLTP (Online Transaction Processing)?

    OLTP stands for Online Transaction Processing. OLTP is a type of processing to facilitate and manage the transactional applications for data entry and recovery.

Additionally, 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

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

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 (21K Followers)
  • Twitter (5.3k 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

  • What is Standard Software February 28, 2021
  • WordPress Link to text Fragment February 27, 2021
  • How to Protect IP Cameras From Hackers February 25, 2021
  • 6 Sectors That Have Undergone Revamps in Digital Landscape February 24, 2021
  • What You Can Control with a Smartwatch and ESP32 February 23, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "How to Install Apache Helix," in The Customize Windows, December 18, 2019, March 2, 2021, https://thecustomizewindows.com/2019/12/how-to-install-apache-helix/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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