Hunk Tutorial

Download manual as PDF

Download topic as PDF

Step 3: Set up an HDFS directory for Hunk access

Next, we will create a new HDFS directory that gives the root user access. This is needed for this specific example because we will install Splunk as root, and Splunk must have permissions for an HDFS directory. (If you are not following this example exactly and plan to set up Splunk as one of the users that already has HDFS permissions, you may skip this step.)

Here is an example of how we did it:

su - hdfs -c "hadoop fs -mkdir /user/root"
su - hdfs -c "hadoop fs -chown root:root /user/root"
hadoop fs -mkdir /user/root/splunkmr

Run the following command to see the new directory and permissions:

hadoop fs -ls -R /user/<hunk user>
Step 2: Set up your data
Step 4: Configure your search head

This documentation applies to the following versions of Hunk®(Legacy): 6.0, 6.0.1, 6.0.2, 6.0.3, 6.1, 6.1.1, 6.1.2, 6.1.3, 6.2, 6.2.1, 6.2.2, 6.2.3, 6.2.4, 6.2.5, 6.2.6, 6.2.7, 6.2.8, 6.2.9, 6.2.10, 6.2.11, 6.2.12, 6.2.13, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.3.4, 6.3.5, 6.3.6, 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6, 6.4.7, 6.4.8, 6.4.9, 6.4.10, 6.4.11

Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters