All Apps and Add-ons

Config Error in Splunk Hadoop Connect

Explorer

Hi

I am trying to configure the Splunk Hadoop Connect app. When I try to add a new cluster, I get the following error:

> Failed to get entities' object ''.

The Splunk server works as a Hadoop CLI (everything on this page is working: http://docs.splunk.com/Documentation/HadoopConnect/latest/DeployHadoopConnect/HadoopCLI)

Any help appreciated 🙂

Thanks

Nick

1 Solution

Explorer

Hi

I think I've worked this out...

I had entered my hdfs uri as: hdfs://<< node name >:<< port >
and is should be: << node name >:<< port >

In other words, you don't need to specify the hdfs://

Regards

Nick

View solution in original post

Explorer

Hi

I think I've worked this out...

I had entered my hdfs uri as: hdfs://<< node name >:<< port >
and is should be: << node name >:<< port >

In other words, you don't need to specify the hdfs://

Regards

Nick

View solution in original post

Path Finder

Removing the hdfs:// scheme worked for me as well. They really should update the documentation for this.

0 Karma

Splunk Employee
Splunk Employee

We missed this conversation when it happened but have now belatedly updated the documentation.

0 Karma

New Member

Unable to connect to Hadoop cluster 'hdfs://<>:8020/' with principal 'None': Invalid HADOOP_HOME. Cannot find Hadoop command under bin directory HADOOP_HOME='/home/hduser/hadoop-2.6.0-cdh5.4.2'.

Please help to fix this error

0 Karma

Splunk Employee
Splunk Employee

On the Splunk node, Are you using the same user, same hadoop home, and same java home as your CLI?
What distribution of Hadoop are you using?

0 Karma

New Member

I have different Java_Home & Hadoop_Home in Splunk vs my Hadoop client...is that the problem too for getting that error

Unable to connect to Hadoop cluster 'hdfs://<>:8020/' with principal 'None': Invalid HADOOP_HOME. Cannot find Hadoop command under bin directory HADOOP_HOME='/home/hduser/hadoop-2.6.0-cdh5.4.2'.

0 Karma

Path Finder

Hi folks,

were you able to get this resolved? i am running into issues as well and posted question on it.

https://answers.splunk.com/answers/550641/error-configuring-hadoop-connect-app-failed-to-fin-1.html

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!