Hi,
I think you should check you JAVA_HOME and the folders under the JAVA_HOME
like this:

[EMAIL PROTECTED] MyMapreduce]$ echo $JAVA_HOME
/usr/java/jdk1.5.0_07
[EMAIL PROTECTED] MyMapreduce]$ ls $JAVA_HOME
bin  COPYRIGHT  demo  include  jre  lib  LICENSE  man  README.html  sample
src.zip  THIRDPARTYLICENSEREADME.txt

Kevin


On Sun, Apr 20, 2008 at 1:11 PM, Ahmad Humayun <[EMAIL PROTECTED]>
wrote:

> Hi there people,
>
> I was trying get the namenode formatted....and I keep getting this Java VM
> init error.
>
> The only configuration I have made is in hadoop-env.sh as said in the
> docs:
> export JAVA_HOME=/usr/lib/jvm/jre
>
> but everytime I do "bin/hadoop namenode -format" I get this error:
> Error occurred during initialization of VM
>
> Any ideas?
>
>
> Regards,
>
>
> --
> Ahmad Humayun
> Research Assistant
> Computer Science Dpt., LUMS
> +92 321 4457315
>

Reply via email to