Getting Data In

Is it expected behavior for Hunk to delete files as they age from the dispatch directory used for MapReduce?

splunkIT
Splunk Employee
Splunk Employee

We are using Hunk with MapR. There is a dispatch directory that Hunk uses for the reduce of the map reduce. /mapr/tmp/dispatch.

We are seeing files deleted from this directory while the search is progressing: First the heartbeat file, and then the sub directories.
The search has not completed and this hangs the search job forever.

Is this part of Hunk to delete these files as they age? If so, what is the delete age and or setting to control it?

We are also seeing any non hunk file being deleted from this directory. Is Hunk deleting them?

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

Overall – yes this is expected. Hunk deletes the files under the Hunk HDFS working directory.
What is not expected, is that it will delete these files before the job is completed and these files are still needed

0 Karma

ddrillic
Ultra Champion

How does the directory structure look under /mapr/tmp/dispatch? Each search job should have its own directory...

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

Do you have two instances of Hunk pointing to the same Hunk working directory in HDFS?

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 ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...