Hadoop (hadoop,hbase) components import to eclipse

Source: Internet
Author: User

1. Introduction:

Import the source code to eclipse to easily read and modify the source.

2. Description of the environment:

Mac

MVN Tools (Apache Maven 3.3.3)

3.hadoop (CDH5.4.2)

1. Go to the Hadoop root and execute:

MVN org.apache.maven.plugins:maven-eclipse-plugin:2.6: eclipse-ddownloadsources=true - Ddownloadjavadocs=tru

Note:

If you do not specify the version number of Eclipse, you will get the following error, which should be a compatibility issue with version 2.8.

 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-eclipse-plugin:2.8 : Eclipse (default -cli) on project Hadoop-common:request to the merge when Span style= "color: #800000;" > '  

2. Open Eclipse, import the project

  

4.HBase (CDH5.4.2) 

1. Go to the root directory and execute:

MVN Eclipse:eclipse

2. Open Eclipse for import:

     

Hadoop (hadoop,hbase) components import to eclipse

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.