Is it possible to run Hadoop jobs (like the WordCount sample) in the local mode on Windows without Cygwin?

前端 未结 2 2117
甜味超标
甜味超标 2020-12-11 09:02

I have Windows 7, Java 8, Maven and Eclipse. I\'ve created a Maven project and used almost exactly the same code as here.

It\'s just a simple \"word count\" sample.

2条回答
  •  不思量自难忘°
    2020-12-11 09:42

    1. Download Hadoop 2.6.0 or 2.7.1 compiled for Windows
    2. Create HADOOP_HOME environment variable pointing to the unzipped dir
    3. Add %HADOOP_HOME%\bin to PATH env var

    Source: https://stackoverflow.com/a/27394808/543836

提交回复
热议问题