I installed HortonWorks and the latest version of Splunk on the same Windows 2008 Server VMWare machine. Within Splunk Web, I installed the latest Hadoop Connect for Windows. When I add a new HDFS Cluster, it is telling me that it "Cannot find Java command under bin directory JAVA_HOME='C:\java\jdk1.6.0_31\'. I know this is the correct directory for I can navigate to that directory on that machine and that directory does have a 'bin' directory with all the java executables. I also tried to reformat the JAVA_HOME entry field to be any of the following:
and it still gives the same error.
What am I to enter to make this work?
In the configuration section you should have the following:
I did as instructed.
UDFS URI: 192.168.195.130:8020
Namenode HTTP Port: 50070
The above directories are correct for I tested them in a Command Prompt and the HDFS URI is correct for the following works:
hadoop fs -ls hdfs://192.168.195.130:8020/
The entire error response I am receiving is:
Unable to connect to Hadoop cluster 'hdfs://192.168.195.130:8020/' with principal 'None': Invalid JAVA_HOME. Cannot find Java command under bin directory JAVA_HOME='C:\java\jdk1.6.0_31'..
What should I do to fix this error?