In order to start exploring Hadoop data, we have to install Hunk on top of our Hadoop Cluster. Hunk is easy to install and configure. Let's learn how to deploy Hunk version 6.2.1 on top of an existing CDH cluster. It's assumed that your VM is up and running.
Run
ls -la
to see the list of files in your home directory:[cloudera@quickstart ~]$ cd ~ [cloudera@quickstart ~]$ ls -la | grep hunk -rw-r--r-- 1 root root 113913609 Mar 23 04:09 hunk-6.2.1-249325-Linux-x86_64.tgz
Unpack the archive:
cd /opt sudo tar xvzf /home/cloudera/hunk-6.2.1-249325-Linux-x86_64.tgz -C /opt
It's time to set the
SPLUNK_HOME
environment variable. This variable has already been added to the profile:export SPLUNK_HOME=/opt/hunk
Use the default
splunk-launch.conf
. This is the basic properties file used by the Hunk service. We don't have to change anything special, so let's use the default settings...