hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rakesh Radhakrishnan <rake...@apache.org>
Subject Re: Cannot run Hadoop on Windows
Date Mon, 08 Aug 2016 15:03:28 GMT
Hi Atri,

I doubt the problem is due to space in the path -> "Program Files".
Instead of C:\Program Files\Java\jdk1.8.0_101, please copy JDK dir to
C:\java\jdk1.8.0_101 and try once.

Rakesh
Intel

On Mon, Aug 8, 2016 at 4:34 PM, Atri Sharma <atri.jiit@gmail.com> wrote:

> Hi All,
>
> I am trying to run a compiled Hadoop jar on Windows but ran into the
> following error when running hdfs-format:
>
> JAVA_HOME is incorrectly set.
>
> I echoed the path being set in etc/Hadoop-env.cmd and it echoes the
> correct path:
>
> C:\Program Files\Java\jdk1.8.0_101
>
> Please advise.
>
> Regards,
>
> Atri
>
>

Mime
View raw message