MapReduce-------------Win7 use Eclipse to play the Linux side Mapreduce__linux

Source: Internet
Author: User
Tags hadoop fs

Important Reference URL: http://www.powerxing.com/hadoop-build-project-using-eclipse/

The following points need to be noted in the configuration process:

1. Eclipse needs to download: Hadoop-common-2.7.3.jar and Hadoop-eclipse-plugin-2.7.0.jar to Win7 directory: E:\Eclipse64\eclipse\plugins ( Be sure to pay attention to the version).

2, WIN7 need to configure the Linux system with the matching Hadoop.dll and Winutils.exe files to the Win7 directory: E:\hadoop\hadoop-2.7.3\bin (must pay attention to the version of the corresponding).

3. The port of define Hadoop location->map/reduce (V2) master, which needs to be set in Eclipse, is in the Linux side Mapred-site.xml " Mapreduce.jobtracker.address the property port.

4, must be the Linux side of the Core-site.xml, Hdfs-site.xml and log4j.properties three files copied to the project src file directory.

5, the occurrence of permission denied error is not configured: Hadoop_home system variables. or add in Java Program: System.setproperty ("Hadoop.home.dir", "e:\\hadoop\\hadoop-2.7.3");

6. Note that the working directory in the HDFs that eclipse needs to operate is set to be readable and writable by all users: Hadoop fs-chmod-r 777/user/hadoop/hw2/



Related Article

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.