All Apps and Add-ons

What does this error mean (java.io.IOException: Hunk timed out while waiting for package=/tmp/splunk/splunk-1/hunk-6.2.2-257696-linux-2.6-x86_64.tgz to be installed)?

jaredlaney
Contributor

Each time I run a Hunk job, I get this error and I'm guessing the IOException comes from not finding the file. We're running this on Yarn, CDH 5.3

Tags (1)
1 Solution

rdagan_splunk
Splunk Employee
Splunk Employee

You need read/write/execute permissions in the operating system /tmp directory on each DataNode (around 50-100 mb space per DataNode). It stores subset of Hunk ERP binaries and knowledge bundles. If /tmp is mounted without execute permissions please change/set vix.splunk.home.datanode to a different datanode directory or enable /tmp permission and enough space

View solution in original post

rdagan_splunk
Splunk Employee
Splunk Employee

You need read/write/execute permissions in the operating system /tmp directory on each DataNode (around 50-100 mb space per DataNode). It stores subset of Hunk ERP binaries and knowledge bundles. If /tmp is mounted without execute permissions please change/set vix.splunk.home.datanode to a different datanode directory or enable /tmp permission and enough space

heroku_curzonj
Explorer

I'm running against AWS EMR and I get this same error. /tmp is a symlink to /mnt/tmp and has the correct permissions, plenty of space, and is executable. What are other causes of this error?

0 Karma

kpawar_splunk
Splunk Employee
Splunk Employee

If you are getting this message, event after having correct permissions and enough space, then issue could be happening because of timeout while copying package to the data nodes. The default timeout for the package copy is 20sec.
Setting for this in Hunk Provider is mentioned below.
vix.splunk.setup.package.setup.timelimit = time limit (in milliseconds)
Try after increasing timeout to 2 minutes.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...