All Apps and Add-ons

Splunk Haddop Export Fails

Anmar0293
Path Finder

I installed Hadoop Connect and integrated with Hadoop CLI. Everything seems to be good, but when I run the export it fails with the error message below:

Error in 'runexport' command: Failed to run Hadoop CLI job command '-mkdir' with options '-p,hdfs://<hadoopServer>:8020/': mkdir: Permission denied: user=jhondoe, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x.

Why this is happening?

0 Karma

rdagan_splunk
Splunk Employee
Splunk Employee

Your first issue was as you point out the HDFS location.

I have not seen the second issue before, but browse these past answers, they all pointing into the Free license as being the issue when you see the 402 error:
https://answers.splunk.com/search.html?f=&redirect=search%2Fsearch&sort=relevance&q=402&type=questio...
And
https://answers.splunk.com/answers/594868/splunk-db-connect-splunkd-error-http-402-requires.html

0 Karma

harsmarvania57
SplunkTrust
SplunkTrust

Hi,

It is because user jhondoe does not have write access in Hadoop server path to create new directory.

0 Karma

Anmar0293
Path Finder

@harsmarvania57 Thanks for your comment.
I changed the HDFS Base Path, and yet i get another error which is:

Error in 'runexport' command: [HTTP 402] Current license does not allow the requested action

why is that?

0 Karma

harsmarvania57
SplunkTrust
SplunkTrust

I am not aware of any license requirement for Hadoop Connect, are you running Splunk Instance with Enterprise License ?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...