I'm trying to configure the Splunk Hadoop Connect application with the following configurations:
HDFS URI: mynamenode:8020 HADOOP_HOME:
/usr/lib/jvm/java (tried also
/usr/java/latest) Namenode HTTP Port:
And I'm got the following error:
Unable to connect to Hadoop cluster 'hdfs://mynamenode:8020/' with principal 'None': Failed to run Hadoop CLI job command '-ls' with options 'hdfs://mynamenode:8020/' Error: Could not find or load main class org.apache.hadoop.fs.FsShell.
How can I solve this?
As you can see from this video ( https://www.youtube.com/watch?v=TmYHsabpk_Q )
When you setup the Java path and Hadoop path inside Splunk Hadoop Connect, you should not include the ' bin/hadoop or bin/java part
Can you share the output of these ' which hadoop ' and ' which java ' commands?