Trivial-about hadoop2.2.0, trivial-hadoop2.2.0

Source: Internet
Author: User

Trivial-about hadoop2.2.0, trivial-hadoop2.2.0

HDFS module functions

  • Namenode: the master node that stores file metadata such as file names, file directory structures, and file attributes (generation time, number of copies, and file permissions) and the block list of each file and the datanode of the block;
  • Datanode: stores file block data in the local file system and verifies the block;
  • Secondary namenode: a secondary background program used to monitor the HDFS status. It obtains HDFS metadata snapshots at intervals;

 

YARN module functions

ResourceManager:

NodeManager:

ApplicationMaster:

Container:

  • Abstract The running environment of a task. It encapsulates information about the running of multiple resources such as CPU and memory, environment variables, startup commands, and other tasks;

 

 

 

MR module functions

......

 

Logs

  • Start the log file directory $ HADOOP_HOME/logs;
  • Log format. out and. log

. Log: Most application log information recorded through log4j;

. Out: records the standard output and standard error logs, with fewer logs.

  • Log naming rules

Framework name-user name-process name-host name-log format suffix

 

Notepad + FZ + SecureCRT combination is not bad

 

 

 


When the hadoop-220 is configured, execute start-dfssh to display the following, help solve

Grant hadoop users all permissions on/usr/local/hadoop

Hello, how do you configure local win7 in Eclipse to access hadoop220 under Centos?

For code access, you only need to configure the fs. default. name attribute. If you are using Eclipse to integrate the mapreduce plug-in, the main problem is the Eclispe version. You can either find a version online or try it on your own.

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.