hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: settin JAVA_HOME...
Date Mon, 02 Feb 2009 10:40:17 GMT
haizhou zhao wrote:
> hi Sandy,
> Every time I change the conf, i have to do the following to things:
> 1. kill all hadoop processes
> 2. manually delelte all the file under hadoop.tmp.dir
> to make sure hadoop runs correctly, otherwise it wont work.
> Is this cause'd by my using a JDK instead of sun java? 

No, you need to do that to get configuration changes picked up. There 
are scripts in hadoop/bin to help you

>and what do you mean
> by "sun-java", please?

Sandy means

* sun-java6-jdk: Sun's released JDK
* default-jdk ubuntu chooses. On 8.10, it is open-jdk
* open-jdk-6-jdk: the full open source version of the JDK. Worse font 
rendering code, but comes with more source

* Oracle JRockit: good 64-bit memory management, based on the sun JDK 
* IBM JVM unsupported. Based on the sun JDK
* Apache Harmony: clean room rewrite of everything. unsupported
* Kaffe. unsupported
* Gcj. unsupported

type java -version to get your java version


java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (buld 11.0-b14, mixed mode


java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
BEA JRockit(R) (build 
R27.4.0-90-89592-1.6.0_02-20070928-1715-linux-x86_64, compiled mode)

> 2009/1/31 Sandy <snickerdoodle08@gmail.com>
>> Hi Zander,
>> Do not use jdk. Horrific things happen. You must use sun java in order to
>> use hadoop.

View raw message