Build spark+hadoop development environment under Windows

Source: Internet
Author: User

Just make sure your computer is installed in the Java environment, and you're ready to start.

I. Preparatory work

1. Download the Hadoop2.7.1 version (write Spark and Hadoop are mostly used yarn, so Hadoop must be installed)

: HTTP://APACHE.FAYEA.COM/HADOOP/COMMON/HADOOP-2.7.1/

Download the hadoop-2.7.1.tar.gz and unzip it to a fixed directory as the Hadoop installation directory.

2. Download the support plugin

: Https://github.com/ShixiangWan/winutils, which has a lot of hadoop versions, here we take the Hadoop2.7.1 stable version as an example.

After downloading, the files in the bin of the Hadoop2.7.1 are overwritten and copied to the bin of the above installation directory.

3. Cover Hadoop.dll

Copy the Hadoop.dll under the plug-in bin directory to C:\Window\System32.

Two. Environment variable configuration

1. Add the environment variable hadoop_home, point to the Hadoop installation root directory;

2. Add%hadoop_home%\bin to the path variable;

3. Restart eclipse or IntelliJ to run the MAVEN project directly from Spark or Hadoop.

Resources:

http://blog.csdn.net/shenshendeai/article/details/57962167

Build spark+hadoop development environment under Windows

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.