Eclipse in Linux remotely runs mapreduce to a Hadoop cluster

Source: Internet
Author: User
Tags joins

Assume that the cluster is already configured.

On the development client Linux CentOS 6.5:

A. The client CentOS has an access user with the same name as the cluster: Huser.

B.vim/etc/hosts joins the Namenode and joins the native IP.

-------------------------

1. Install Hadoop cluster with the same version of JDK, Hadoop,

2.Eclipse compile and install the same version of Hadoop-plugin,

2.a setting preference->hadoop mr->hadoop install directory

2.b setting the IP and port number of the Hadoop-plugin

3. Copy the Hadoop configuration file Core-site.xml to the client's specified directory/home/huser

4. Create the Mr Project and import the Hadoop Lib

Create a WordCount class.

5.run Hadoop;run Config

================

Eclipse in Linux remotely runs mapreduce to a Hadoop cluster

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.