All Apps and Add-ons

Invalid Hadoop CLI command path Why?

lpolo
Motivator

While trying to configure hadoop connectivity to splunk hadoop app, we see the following error:

Invalid Hadoop CLI command path /usr/local/hadoop/hadoop-0.20.2/bin/hadoop 

How to configure splunk which user to use logging into the hadoop server. Hadoop server in our environment runs as user "hadoop". We have shared the ssh keys between the splunk and hadoop server, we are still getting the above error message.

In other words, under "dd new HDFS Cluster" in splunk what value should be provided for HADOOP_HOME?

Thanks,
Lp

0 Karma

bosburn_splunk
Splunk Employee
Splunk Employee

Just to double check - this is for Splunk App for HadoopOps and NOT Hadoop Connect?

Unfortunately, there's no way to configure which user will run those Hadoop Commands. It will run as the Splunk user, just as most other scripts do.

Brian

0 Karma

bosburn_splunk
Splunk Employee
Splunk Employee

Judging by the error, it looks like you haven't installed the CLI commands onto the system that is running Hadoop Connect.

Please check out the documentation here - http://docs.splunk.com/Documentation/HadoopConnect/latest/DeployHadoopConnect/HadoopCLI

You have to install the CLI on the Splunk instance you are running Hadoop Connect because it connects remotely to the HDFS file system.

0 Karma

lpolo
Motivator

This is for Hadoop Connect.
Is there a work around that you may think of?
I will not be able to use the haddop account...

Thanks,
Lp

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...