hadoop-common-user mailing list archives

Hi:
I am in the process of installing hadoop on non-clustered single node
windows xp. SSH installed and running.
Java version: java version "1.5.0_15" it is installed in c:\Program
Files\Java\jdk1.5.0_15
hadoop-env.sh
export JAVA_HOME=/cygdrive/c/Program\ Files/Java/jdk1.5.0_15
When I am executing the command
bin/hadoop namenode -format
I am getting the following error, how to escape "Program Files"?
Error:
==============
$ bin/hadoop namenode -format
cygpath: can't convert empty path
/usr/local/hadoop-0.22.0/bin/hadoop-config.sh: line 194:
/cygdrive/c/Program: No such file or directory
cygpath: can't convert empty path
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
cygpath: can't convert empty path
C:\cygwin\usr\local\hadoop-0.22.0\/bin/hadoop-config.sh: line 194:
/cygdrive/c/Program: No such file or directory
cygpath: can't convert empty path
java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Exception in thread "main"
NOTE: My previous message was not complete at all, I apologize.
Regards,
Arup
--
View this message in context: http://old.nabble.com/Getting-error-during-namenode--format-tp33123705p33123705.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.