hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Renault <orena...@hortonworks.com>
Subject Re: Issue with setting JAVA_HOME
Date Fri, 22 May 2015 13:52:47 GMT
You should install the JDK and set JAVA_HOME to the folder of your JDK. FYI, the JDK includes
the JRE.
https://docs.oracle.com/javase/7/docs/webnotes/install/

Olivier

From: Divya Ravichandran
Reply-To: "user@hadoop.apache.org<mailto:user@hadoop.apache.org>"
Date: Friday, 22 May 2015 14:47
To: "user@hadoop.apache.org<mailto:user@hadoop.apache.org>"
Subject: Issue with setting JAVA_HOME


Hello,

I am trying to run sqoop and yarn on the same machine.

Sqoop needs JAVA_HOME be set to JDK whereas yarn requires JRE(which is the recommended setting).

Can this setting be changed dynamically so it can pick up JDK for sqoop and JRE for yarn?

Or any workarounds possible?

Please let me know!

Thanks,
Divya
Mime
View raw message