How to setup Jumbune

H

First download the jar from Jumbune website and get the licence.

In your system you have to set some environment variable.

  • JAVA_HOME
  • HADOOP_HOME
  • JUMBUNE_HOME : Path of directory in which you want to install jumbune (eg. '/home/ashish/jumbune'). It contains all jars and settings of jumbune.
  • HADOOP_HOME eg. '/home/ashish/jumbune-agent'

Now run the setup jar

java -jar jumbune-ee-dist-1.0-bin.jar

It will ask you following questions :

Choose the Hadoop Distribution Type : (a)Apache | (c)Cloudera | (e)EMR | (h)HortonWorks | (m)MapR

Select the hadoop distribution Type

IP address of the namenode machine [192.168.1.2]

Type the IP address of namenode machine and press enter. If you just press enter then it will assume the displayed (eg. 192.168.1.2) ip address.

Username of the namenode machine: [ashish]
Do we have passwordless SSH between [192.168.1.2] - [192.168.1.8] machines? (y)/(n)

If you have passwordless ssh between namenode machine and the machine in which you are installing jumbune then enter 'y' otherwise 'n'. If you enter 'n' then in the next step you were asked to enter password of namenode machine.

Password of the namenode machine:

Then it will display some output/ lines

Establishing session between [192.168.1.2] - [192.168.1.8] machines.......[SUCCESS]
Extracting Jumbune...
Using Hadoop: [/home/ashish/hadoop/]
Jumbune Extraction, Directories creation, Configuration update.......[SUCCESS]
Using Hadoop: [/home/ashish/hadoop/]
scp: /home/ashish/hadoop/share/hadoop/common/lib/htrace-core*.jar: No such file or directory

Syncing Jars from Hadoop to Jumbune.......[SUCCESS]

Jumbune requires influx database for some of its features to make work.

So it will ask you the question

Influxdb is required for persistence of Cluster Analysis stats.
(i) Install & Configure InfluxDB | (c) Just Configure InfluxDB | (l) Install Later

If you want jumbune to automatic install and configure influxdb then enter 'i'. If you have influxdb already installed in your machine then enter 'c'. If you want to install influxdb later then enter 'l'. Follow the instructions after that. You could also install and configure influxdb after installation of jumbune by execution script ($JUMBUNE_HOME/bin/install-influxdb.sh).

To run jumbune

To run jumbune, you have to run two things.

  1. Jumbune container
  2. Jumbune Agent (.jar file)

You have to run jumbune agent on namenode machine, and jumbune container from the machine in which you have just installed jumbune.

To run Jumbune Agent

Create a directory called jumbune-agent in your namenode machine.
Copy the directory agent-distribution (which is install Jumbune home) to your namenode machine (in jumbune-agent)( eg. /home/ashish/jumbune-agent/agent-distribution).

In namenode machine open the script file jumbune-agent/agent-distribution/bin/startAgent and change the parameters according to your need.
eg. If you have high availability enabled then uncomment the HA option and provide the values.
If you have zookeeper installed then uncomment and fill ZK_OPTION.
By default jumbune will start its agent at port 2161. If you want to change port then modify AGENT_PORT variable.

Save the startAgent script and execute it from terminal. You need to first make the script executable.

[email protected]:~$chmod +x startAgent
[email protected]:~$./startAgent

[sudo] password for ashish: 
Choose the Hadoop Distribution Type : (a)Apache | (c)Cloudera | (e)EMR | (h)HortonWorks | (m)MapR
a
Please verify Hadoop installation directory [/home/ashish/hadoop/hadoop/]

Jumbune Agent started successfully on port [2161]
164 [nioEventLoopGroup-2-1] INFO io.netty.handler.logging.LoggingHandler - [id: 0x05fe7262] REGISTERED
165 [nioEventLoopGroup-2-1] INFO io.netty.handler.logging.LoggingHandler - [id: 0x05fe7262] BIND(0.0.0.0/0.0.0.0:2161)
167 [nioEventLoopGroup-2-1] INFO io.netty.handler.logging.LoggingHandler - [id: 0x05fe7262, /0:0:0:0:0:0:0:0:2161] ACTIVE

The agent is up and running now.

To run Jumbune Container

Goto to the machine in which you have just installed jumbune and start the script startWeb ($JUMBUNE_HOME/bin/startWeb).

[email protected]:~$ JUMBUNE_HOME/bin/startWeb	

JUMBUNE : INFO : JAVA HOME path : /opt/jdk1.7.0_79
JUMBUNE : INFO : HADOOP HOME path : /home/ashish/hadoop/hadoop/
JUMBUNE : INFO : JUMBUNE HOME path : /home/ashish/jumbunehome/
2017-03-31 22:22:08.264:INFO::main: Logging initialized @70ms
2017-03-31 22:22:08.280:INFO:oejr.Runner:main: Runner
2017-03-31 22:22:08.375:INFO:oejs.Server:main: jetty-9.2.11.v20150529
2017-03-31T22:22:13,068 INFO  [main][EventLogger] Dear Jumbune Member! Your Jumbune subscription license will expire in [38] day(s)
2017-03-31 22:22:14.102:INFO:oejsh.ContextHandler:main: Started [email protected]{/,file:/home/ashish/jumbunehome/modules/jumbune-web-1.0/,AVAILABLE}{file:/home/ashish/jumbunehome/modules/jumbune-web-1.0.war}
2017-03-31 22:22:14.104:WARN:oejsh.RequestLogHandler:main: !RequestLog
2017-03-31 22:22:14.109:INFO:oejs.ServerConnector:main: Started [email protected]{HTTP/1.1}{0.0.0.0:8080}
2017-03-31 22:22:14.110:INFO:oejs.Server:main: Started @5918ms

Thats it.

It will start jumbune container at port 8080. Now open your browser and hit address localhost:8080

Jumbune Home Page

Jumbune Home Page

Published in: Big Data
Originally Published On : Mar 31, 2017