Hi all, I m trying to get hadoop running on ubuntu and I get this error while trying to format, infact its only a warning and the format is successful according to the trace. But could anybody tell me how to fix this -
the warning is : Warning: no leading - on line 19 of `/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/jvm.cfg' Warning: missing VM type on line 19 of `/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/jvm.cfg' The contents of the jvm.cfg file is : # # @(#)jvm.cfg 1.9 05/11/17 # # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. # List of JVMs that can be used as an option to java, javac, etc. # Order is important -- first in this list is the default JVM. # NOTE that this both this file and its format are UNSUPPORTED and # WILL GO AWAY in a future release. # # You may also select a JVM in an arbitrary location with the # "-XXaltjvm=<jvm_dir>" option, but that too is unsupported # and may not be available in a future release. # /usr/lib/jvm/java-6-sun -client IF_SERVER_CLASS -server -server KNOWN -hotspot ALIASED_TO -client -classic WARN -native ERROR -green ERROR Is there s mistake in the way default JVM has been included in the file??? The following is the trace ------------------ r...@ubuntu:/usr/local# /usr/local/hadoop/bin/hadoop namenode -format Warning: no leading - on line 19 of `/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/jvm.cfg' Warning: missing VM type on line 19 of `/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/jvm.cfg' Warning: no leading - on line 20 of `/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/jvm.cfg' Warning: missing VM type on line 20 of `/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/jvm.cfg' Warning: no leading - on line 21 of `/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/jvm.cfg' Warning: missing VM type on line 21 of `/usr/lib/jvm/java-6-sun-1.6.0.16/jre/lib/i386/jvm.cfg' 09/10/24 19:46:37 INFO namenode.NameNode: STARTUP_MSG: /************************************************************ STARTUP_MSG: Starting NameNode STARTUP_MSG: host = ubuntu/127.0.1.1 STARTUP_MSG: args = [-format] STARTUP_MSG: version = 0.20.1 STARTUP_MSG: build = http://svn.apache.org/repos/asf/hadoop/common/tags/release-0.20.1-rc1 -r 810220; compiled by 'oom' on Tue Sep 1 20:55:56 UTC 2009 ************************************************************/ 09/10/24 19:46:38 INFO namenode.FSNamesystem: fsOwner=root,root 09/10/24 19:46:38 INFO namenode.FSNamesystem: supergroup=supergroup 09/10/24 19:46:38 INFO namenode.FSNamesystem: isPermissionEnabled=true 09/10/24 19:46:38 INFO common.Storage: Image file of size 94 saved in 0 seconds. 09/10/24 19:46:38 INFO common.Storage: Storage directory /usr/local/hadoop-datastore/hadoop-hadoop /dfs/name has been successfully formatted. 09/10/24 19:46:38 INFO namenode.NameNode: SHUTDOWN_MSG: /************************************************************ SHUTDOWN_MSG: Shutting down NameNode at ubuntu/127.0.1.1 ************************************************************/ -- Hari
