<In-Progress>
Pre-requisites
- OpenJDK8
- Zookeeper
- git
- maven@v3.3.9
Install OpenJDK
...
$ sudo apt-get install openjdk-8-jdk
...
$ java -version
...
<In-Progress>
Pre-requisites
- OpenJDK8
- Zookeeper
- git
- maven@v3.3.9
Install OpenJDK
|
Make sure you have the right OpenJDK version
|
It should display 1.8.0_111
Set JAVA_HOME
|
...
|
Configure zookeeper
Now, Create the directory zookeeper
To make an ensemble with Master-slave architecture, we needed to have odd number of zookeeper server .i.e.{1, 3 ,5,7....etc}.
Now, Create the directory zookeeper
under /var/lib
folder which will serve as Zookeeper data directory and create another zookeeper
directory under /var/log
where all the Zookeeper logs will be captured. Both of the directory ownership need to be changed as zookeeper.
...
Edit zoo.cfg and the below
$ vi zoo.cfg |
|
Now, do the below changes in log4.properties
file as follows.
$ vi log4j.properties |
zookeeper.log.dir=/var/log/zookeeperzookeeper.tracelog.dir=/var/log/zookeeperlog4j.rootLogger=INFO, CONSOLE, ROLLINGFILE |
...
$ /home/zookeeper/zookeeper-3.4.13/bin/zkServer.sh status |
Zookeeper Service Status Check.
In Zookeeper ensemble If you have 3 nodes, out of them, one will be in leader mode and other two will be in follower mode. You can check the status by running the following commands. If you have just one then it will be standalone.
...
WatchedEvent state:SyncConnected type:None path:null
[zk: :2181(CONNECTED) 0]
Install Pre-requities for Build
...
) 0]
Install Pre-requisites for Build
|
Setup environment
Add environment variables to profile file
|
$ source ~/.bashrc |
Hooking up upstream Maven 3.
...
6.
...
0 (for Debian Jessie only)
|
Clone and Build Apache Drill
|
To build .deb package
|
To build .deb package <This still fails, working on it>rpm package
|
After successful compilation. Edit your computer /etc/hosts file and make sure that the loopback is commented. e.g. and replace with your host <IP-Address>
...