HADOOP-2.0 Catalogue Introduction

Source: Internet
Author: User

Hadoop-2.0 Catalog Introduction

I. Directory structure

Unzip the downloaded compressed package:

After unpacking the folder as follows:

Second, the folder directory structure

1. bin:hadoop2.0 the most basic management script and the directory where the script is used . These scripts are the underlying implementation of the management scripts in the Sbin directory, and we can manage and use Hadoop directly with these scripts.

2, etc: The files in this directory as long as people who have access to Hadoop are very familiar with. The Hadoop configuration file directory . The first is the three files inherited from Hadoop1.0 core-site.xml,hdfs-site.xml,mapred-site.xml, Then there is a Hadoop2.0 new configuration file yarn-site.xml.

3, include: This is a foreign-provided programming library header file , the specific dynamic library and static library in the Lib directory. These header files are defined in C + +. People who have learned the C + + language can access HDFs or write a mapreduce program in the C + + language.

(yes, that's what we're familiar with. h files.) )

4. lib: This directory contains the programming dynamic libraries and static libraries provided by Hadoop, which are used in conjunction with the header files in the Include directory.


5, Libexec: This is the corresponding Shell configuration file for each service directory, can be used to configure the log output directory, startup parameters (such as JVM parameters) and other basic information.

6, Sbin:hadoop Management script is located in the directory, mainly including HDFs and yarn in the various types of services in the startup and shutdown scripts.

7. Share:hadoop the directory where each module is compiled with the jar package .

In this directory: Hadoop-2.4.0\share\doc\hadoop\api\index.html can view the API.


HADOOP-2.0 Catalogue Introduction

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.