金银花洗澡对婴儿有什么好处| 蚕丝衣服用什么洗最好| 八字不合是什么生肖| 大肠杆菌吃什么药| 开指是什么意思| 什么的小朋友填词语| 免疫力低下吃什么| 霏字五行属什么| 五脏六腑什么意思| 桑葚泡酒有什么功效| 青梅竹马什么意思| 109是什么意思| 胆囊壁固醇沉积是什么意思| 什么虫子咬了像针扎一样疼| 悠悠什么意思| aape是什么牌子| 小孩子腿疼是什么原因| cos代表什么意思| 梦见偷鸡是什么预兆| 2010年什么年| food什么意思| 供血不足吃什么药效果最好| 梦见打架是什么意思| 骨癌的前兆是什么症状| 男命七杀代表什么| 黄宗洛黄海波什么关系| 吃什么东西降尿酸| 澳大利亚位于什么板块| 吃什么能去黑眼圈| 胆囊炎有什么症状表现| 木色是什么颜色| 咳嗽痰多用什么药| 精神科主要看什么病| 做俯卧撑有什么好处| 钓鲈鱼用什么饵最好| 肠功能紊乱吃什么药| 大姨妈来了能吃什么水果| 什么是小男人| hov是什么意思| 人绒毛膜促性腺激素是查什么的| 跖疣长什么样| 梦到亲人死了是什么征兆| 6月14号是什么星座| 小儿外科主要看什么病| 贪污是什么意思| 阴蒂瘙痒是什么原因| 落寞是什么意思| 感染艾滋病有什么症状| 体寒的人吃什么食物好| 白色的玉是什么玉| 受凉咳嗽吃什么药| 一什么瓜地| 圆寂为什么坐着就死了| 双肺局限性气肿是什么病| 什么病必须戒酒| rock什么意思| 凿是什么意思| 生化全套主要检查什么| 警察和公安有什么区别| 眼发花是什么病的征兆| 我们在干什么| 色素沉着有什么办法可以去除| 呆子是什么意思| 马刺是什么意思| 中国的国花是什么| 白细胞中性粒细胞高是什么原因| 带状疱疹有什么症状| 一什么城市| 德国是什么人种| 吃红枣有什么好处| 冠状动脉肌桥是什么病| 80年出生属什么生肖| kenzo属于什么档次| 在屋顶唱着你的歌是什么歌| 天之骄子是什么意思| hr是什么单位| 挂急诊和门诊有什么区别| 呕什么意思| 脚为什么会臭| 甘油三酯偏高是什么意思| 肺热吃什么中成药| 为什么会梦见前男友| 身份证尾号代表什么| 8月23日是什么星座| 师傅和师父有什么区别| 宫颈纳氏囊肿是什么| 天蝎座什么星象| 特约演员什么意思| 钙片什么时候吃| 6月15日是什么星座| 摆脱是什么意思| 广东有什么城市| 长得标致是什么意思| 杨梅泡酒有什么功效和作用| 申五行属什么| 买车选什么品牌| 花斑癣用什么药膏好| 糜烂型脚气用什么药最好| 肝硬化是什么引起的| 婊子是什么生肖| 后年是什么年| 骨折长骨痂有什么反应| 清热败火的败是什么意思| 蚂蝗吃什么| 垫脚石是什么意思| 什么叫梅核气| 老公护着家人说明什么| torch什么意思| 哺乳期感冒能吃什么药| 叶公好龙是什么故事| 哗众取宠是什么意思| 胎儿宫内窘迫是什么意思| 颈椎应该挂什么科| 下海的意思是什么| 腿肚子抽筋是什么原因| 外阴白斑是什么症状| 什么食物对眼睛视力好| 969368是什么电话| 令人发指是什么意思| 什么水果是热性的| 秋千为什么叫秋千| 帝王蟹什么季节吃最好| 一天两包烟会导致什么后果| 勾芡用什么淀粉| 孩子为什么要躲百天| 法会是什么意思| 吃什么清肝火最快| 吃东西没有味道是什么原因| 宝宝消化不良吃什么药| trendiano什么牌子| 天生丽质难自弃是什么意思| 喝蜂蜜水不能吃什么| 吃生蚝有什么好处和坏处| inr医学上是什么意思| 咖色裤子配什么颜色上衣| 什么叫根管治疗牙齿| 三句半是什么意思| 活性印染是什么意思| m k是什么牌子| 复方木尼孜其颗粒治什么病| 站着说话不腰疼是什么意思| 黄油是什么意思| 右眼皮跳有什么预兆| 粽子叶是什么植物的叶子| 肿气肿用什么药比较好| 一月二十五号是什么星座| 走路脚后跟疼是什么原因| 炸鸡翅裹什么粉| 老师的老公叫什么| 什么的滋味| 创伤急救的原则是什么| 牙齿挂什么科| 百叶是什么| 霍山石斛有什么作用| gin什么意思| 眉茶属于什么茶| 上半身皮肤痒什么原因| 双脚发热是什么原因| 打破伤风针挂什么科| hbv是什么意思| 畅字五行属什么| 面部神经吃什么药| cs和cf有什么区别| 逼格什么意思| 负数是什么意思| 白头发有什么方法变黑| c5是什么意思| 一的五行属性是什么| 生完孩子吃什么补身体| 北属于五行的什么| 12月20日是什么星座| 澳门什么时候回归祖国| 米线和米粉有什么区别| 上火耳鸣吃什么药最好| 领空是什么意思| nt检查是什么意思| 意境是什么意思| 做肠镜有什么危害| champion是什么牌子| 诺氟沙星胶囊治什么病| 农历十月初五是什么星座| 痔疮吃什么药好得快| 女人五行缺水是什么命| 党的执政理念是什么| 卫戍部队是什么意思| 子宫内膜厚是什么意思| 吃什么容易便秘| 胀气是什么原因引起的| 吃牛油果有什么好处和坏处| 汗为什么是咸的| 头上的旋有什么说法| 肺部条索灶是什么意思| 端午节喝什么酒| 去火喝什么茶| 蓝莓什么时候开花结果| 散漫是什么意思| 什么什么什么花的成语| 口述是什么意思| 舍本逐末是什么意思| 检出限是什么意思| 什么为笑| 虚有其表的意思是什么| 查淋巴挂什么科| 为什么总是想吐| 桃子不能跟什么一起吃| 回煞是什么意思| 蚊子吃什么| 血沉高是什么病| 犯口舌是什么意思| 老鹰的绝症是什么| 同型半胱氨酸高有什么症状| 电子烟是什么| 看食道挂什么科室| 全身检查要挂什么科| 什么叫继发性高血压| 口腔经常溃疡是什么原因| 冠脉cta主要检查什么| 食用植物油是什么油| 初心是什么| 念旧的人属于什么性格| 慢性结膜炎用什么眼药水| 通奸是什么意思| 量程是什么| 张予曦为什么像混血| 人的五官是什么| 小便痒痒是什么原因女| 南京市徽为什么是貔貅| 仕途是什么意思| 蟑螂喜欢什么样的环境| 高原反应吃什么药| 文爱什么意思| 单核细胞高是什么原因| 体型最大的恐龙是什么| 胆囊切除后对身体有什么影响| 头皮毛囊炎用什么洗发水| 耳鼻喉属于什么科| 大姨妈期间不能吃什么东西| 直肠炎吃什么药| 挽联是什么意思| 大型血小板比率偏低是什么意思| 胸部有硬块挂什么科| 喊6个1是什么意思| 慢性萎缩性胃炎c2是什么意思| 蛇缠腰是什么病| 吃什么大便能特别通畅| 吃菠萝蜜有什么好处| 牛牛是什么| 多吃蔬菜对身体有什么好处| 明心见性是什么意思| 魇是什么意思| 尿频尿急是什么症状| 烂好人是什么意思| 谛听是什么| 为什么牛肝便宜没人吃| 天秤女和什么星座最配| 血淀粉酶是检查什么的| 查脂肪肝做什么检查| 榴莲与什么食物相克| 哭有什么好处| diptyque属于什么档次| 7.14日是什么日子| 女人右眼跳是什么意思| 痒是什么原因引起的| 步长是什么意思| 百度Jump to content

新余新闻--江西频道--人民网

From Wikipedia, the free encyclopedia
Apache Hadoop
Original author(s)Doug Cutting, Mike Cafarella
Developer(s)Apache Software Foundation
Initial releaseApril 1, 2006; 19 years ago (2025-08-06)[1]
Stable release
2.10.x2.10.2 / May 31, 2022; 3 years ago (2025-08-06)[2]
3.4.x3.4.0 / March 17, 2024; 16 months ago (2025-08-06)[2]
Repositorygithub.com/apache/hadoop
Written inJava
Operating systemCross-platform
TypeDistributed file system
LicenseApache License 2.0
Websitehadoop.apache.org Edit this at Wikidata
百度 面皮是什么做的

Apache Hadoop (/h??du?p/) is a collection of open-source software utilities for reliable, scalable, distributed computing. It provides a software framework for distributed storage and processing of big data using the MapReduce programming model. Hadoop was originally designed for computer clusters built from commodity hardware, which is still the common use.[3] It has since also found use on clusters of higher-end hardware.[4][5] All the modules in Hadoop are designed with a fundamental assumption that hardware failures are common occurrences and should be automatically handled by the framework.[6]

Overview

[edit]

The core of Apache Hadoop consists of a storage part, known as Hadoop Distributed File System (HDFS), and a processing part which is a MapReduce programming model. Hadoop splits files into large blocks and distributes them across nodes in a cluster. It then transfers packaged code into nodes to process the data in parallel. This approach takes advantage of data locality,[7] where nodes manipulate the data they have access to. This allows the dataset to be processed faster and more efficiently than it would be in a more conventional supercomputer architecture that relies on a parallel file system where computation and data are distributed via high-speed networking.[8][9]

The base Apache Hadoop framework is composed of the following modules:

  • Hadoop Common - contains libraries and utilities needed by other Hadoop modules;
  • Hadoop Distributed File System (HDFS) - a distributed file-system that stores data on commodity machines, providing very high aggregate bandwidth across the cluster;
  • Hadoop YARN - (introduced in 2012) is a platform responsible for managing computing resources in clusters and using them for scheduling users' applications;[10][11]
  • Hadoop MapReduce - an implementation of the MapReduce programming model for large-scale data processing.
  • Hadoop Ozone - (introduced in 2020) An object store for Hadoop

The term Hadoop is often used for both base modules and sub-modules and also the ecosystem,[12] or collection of additional software packages that can be installed on top of or alongside Hadoop, such as Apache Pig, Apache Hive, Apache HBase, Apache Phoenix, Apache Spark, Apache ZooKeeper, Apache Impala, Apache Flume, Apache Sqoop, Apache Oozie, and Apache Storm.[13]

Apache Hadoop's MapReduce and HDFS components were inspired by Google papers on MapReduce and Google File System.[14]

The Hadoop framework itself is mostly written in the Java programming language, with some native code in C and command line utilities written as shell scripts. Perl language can be easily used with Hadoop Streaming to implement the map and reduce parts of the user's program.[15]

History

[edit]

According to its co-founders, Doug Cutting and Mike Cafarella, the idea of Hadoop was conceived in the Google File System paper that was published in October 2003.[16][17] The concept was extended in the Google paper "MapReduce: Simplified Data Processing on Large Clusters".[18] Development started on the Apache Nutch project, but was moved to the new Hadoop subproject in January 2006.[19] Doug Cutting, who was working at Yahoo! at the time, named it after his son's toy elephant.[20] The initial code that was factored out of Nutch consisted of about 5,000 lines of code for HDFS and about 6,000 lines of code for MapReduce.

In March 2006, Owen O'Malley was the first committer to add to the Hadoop project;[21] Hadoop 0.1.0 was released in April 2006.[22] It continues to evolve through contributions that are being made to the project.[23] The first design document for the Hadoop Distributed File System was written by Dhruba Borthakur in 2007.[24]

Version Original release date Latest version Release date
Unsupported: 0.10 0.10.1 2025-08-06
Unsupported: 0.11 0.11.2 2025-08-06
Unsupported: 0.12 2025-08-06 0.12.3 2025-08-06
Unsupported: 0.13 2025-08-06 0.13.1 2025-08-06
Unsupported: 0.14 2025-08-06 0.14.4 2025-08-06
Unsupported: 0.15 2025-08-06 0.15.3 2025-08-06
Unsupported: 0.16 2025-08-06 0.16.4 2025-08-06
Unsupported: 0.17 2025-08-06 0.17.2 2025-08-06
Unsupported: 0.18 2025-08-06 0.18.3 2025-08-06
Unsupported: 0.19 2025-08-06 0.19.2 2025-08-06
Unsupported: 0.20 2025-08-06 0.20.205.0 2025-08-06
Unsupported: 0.21 2025-08-06 0.21.0
Unsupported: 0.22 2025-08-06 0.22.0
Unsupported: 0.23 2025-08-06 0.23.11 2025-08-06
Unsupported: 1.0 2025-08-06 1.0.4 2025-08-06
Unsupported: 1.1 2025-08-06 1.1.2 2025-08-06
Unsupported: 1.2 2025-08-06 1.2.1 2025-08-06
Unsupported: 2.0 2025-08-06 2.0.6-alpha 2025-08-06
Unsupported: 2.1 2025-08-06 2.1.1-beta 2025-08-06
Unsupported: 2.2 2025-08-06 2.2.0
Unsupported: 2.3 2025-08-06 2.3.0
Unsupported: 2.4 2025-08-06 2.4.1 2025-08-06
Unsupported: 2.5 2025-08-06 2.5.2 2025-08-06
Unsupported: 2.6 2025-08-06 2.6.5 2025-08-06
Unsupported: 2.7 2025-08-06 2.7.7 2025-08-06
Unsupported: 2.8 2025-08-06 2.8.5 2025-08-06
Unsupported: 2.9 2025-08-06 2.9.2 2025-08-06
Supported: 2.10 2025-08-06 2.10.2 2025-08-06[25]
Unsupported: 3.0 2025-08-06[26] 3.0.3 2025-08-06[27]
Unsupported: 3.1 2025-08-06 3.1.4 2025-08-06[28]
Latest version: 3.2 2025-08-06 3.2.4 2025-08-06[29]
Latest version: 3.3 2025-08-06 3.3.6 2025-08-06[30]
Latest version: 3.4 2025-08-06 3.4.0 2025-08-06[31]
Legend:
Unsupported
Supported
Latest version
Preview version
Future version

Architecture

[edit]

Hadoop consists of the Hadoop Common package, which provides file system and operating system level abstractions, a MapReduce engine (either MapReduce/MR1 or YARN/MR2)[32] and the Hadoop Distributed File System (HDFS). The Hadoop Common package contains the Java Archive (JAR) files and scripts needed to start Hadoop.

For effective scheduling of work, every Hadoop-compatible file system should provide location awareness, which is the name of the rack, specifically the network switch where a worker node is. Hadoop applications can use this information to execute code on the node where the data is, and, failing that, on the same rack/switch to reduce backbone traffic. HDFS uses this method when replicating data for data redundancy across multiple racks. This approach reduces the impact of a rack power outage or switch failure; if any of these hardware failures occurs, the data will remain available.[33]

Hadoop cluster
A multi-node Hadoop cluster

A small Hadoop cluster includes a single master and multiple worker nodes. The master node consists of a Job Tracker, Task Tracker, NameNode, and DataNode. A slave or worker node acts as both a DataNode and TaskTracker, though it is possible to have data-only and compute-only worker nodes. These are normally used only in nonstandard applications.[34]

Hadoop requires the Java Runtime Environment (JRE) 1.6 or higher. The standard startup and shutdown scripts require that Secure Shell (SSH) be set up between nodes in the cluster.[35]

In a larger cluster, HDFS nodes are managed through a dedicated NameNode server to host the file system index, and a secondary NameNode that can generate snapshots of the namenode's memory structures, thereby preventing file-system corruption and loss of data. Similarly, a standalone JobTracker server can manage job scheduling across nodes. When Hadoop MapReduce is used with an alternate file system, the NameNode, secondary NameNode, and DataNode architecture of HDFS are replaced by the file-system-specific equivalents.

File systems

[edit]

Hadoop distributed file system

[edit]

The Hadoop distributed file system (HDFS) is a distributed, scalable, and portable file system written in Java for the Hadoop framework. A Hadoop instance is divided into HDFS and MapReduce. HDFS is used for storing the data and MapReduce is used for processing data. HDFS has five services as follows:

  1. Name Node
  2. Secondary Name Node
  3. Job tracker
  4. Data Node
  5. Task Tracker

Top three are Master Services/Daemons/Nodes and bottom two are Slave Services. Master Services can communicate with each other and in the same way Slave services can communicate with each other. Name Node is a master node and Data node is its corresponding Slave node and can talk with each other.

Name Node: HDFS consists of only one Name Node that is called the Master Node. The master node can track files, manage the file system and has the metadata of all of the stored data within it. In particular, the name node contains the details of the number of blocks, locations of the data node that the data is stored in, where the replications are stored, and other details. The name node has direct contact with the client.

Data Node: A Data Node stores data in it as blocks. This is also known as the slave node and it stores the actual data into HDFS which is responsible for the client to read and write. These are slave daemons. Every Data node sends a Heartbeat message to the Name node every 3 seconds and conveys that it is alive. In this way when Name Node does not receive a heartbeat from a data node for 2 minutes, it will take that data node as dead and starts the process of block replications on some other Data node.

Secondary Name Node: This is only to take care of the checkpoints of the file system metadata which is in the Name Node. This is also known as the checkpoint Node. It is the helper Node for the Name Node. The secondary name node instructs the name node to create & send fsimage & editlog file, upon which the compacted fsimage file is created by the secondary name node.[36]

Job Tracker: Job Tracker receives the requests for Map Reduce execution from the client. Job tracker talks to the Name Node to know about the location of the data that will be used in processing. The Name Node responds with the metadata of the required processing data.

Task Tracker: It is the Slave Node for the Job Tracker and it will take the task from the Job Tracker. It also receives code from the Job Tracker. Task Tracker will take the code and apply on the file. The process of applying that code on the file is known as Mapper.[37]

Hadoop cluster has nominally a single namenode plus a cluster of datanodes, although redundancy options are available for the namenode due to its criticality. Each datanode serves up blocks of data over the network using a block protocol specific to HDFS. The file system uses TCP/IP sockets for communication. Clients use remote procedure calls (RPC) to communicate with each other.

HDFS stores large files (typically in the range of gigabytes to terabytes[38]) across multiple machines. It achieves reliability by replicating the data across multiple hosts, and hence theoretically does not require redundant array of independent disks (RAID) storage on hosts (but to increase input-output (I/O) performance some RAID configurations are still useful). With the default replication value, 3, data is stored on three nodes: two on the same rack, and one on a different rack. Data nodes can talk to each other to rebalance data, to move copies around, and to keep the replication of data high. HDFS is not fully POSIX-compliant, because the requirements for a POSIX file-system differ from the target goals of a Hadoop application. The trade-off of not having a fully POSIX-compliant file-system is increased performance for data throughput and support for non-POSIX operations such as Append.[39]

In May 2012, high-availability capabilities were added to HDFS,[40] letting the main metadata server called the NameNode manually fail-over onto a backup. The project has also started developing automatic fail-overs.

The HDFS file system includes a so-called secondary namenode, a misleading term that some might incorrectly interpret as a backup namenode when the primary namenode goes offline. In fact, the secondary namenode regularly connects with the primary namenode and builds snapshots of the primary namenode's directory information, which the system then saves to local or remote directories. These checkpointed images can be used to restart a failed primary namenode without having to replay the entire journal of file-system actions, then to edit the log to create an up-to-date directory structure. Because the namenode is the single point for storage and management of metadata, it can become a bottleneck for supporting a huge number of files, especially a large number of small files. HDFS Federation, a new addition, aims to tackle this problem to a certain extent by allowing multiple namespaces served by separate namenodes. Moreover, there are some issues in HDFS such as small file issues, scalability problems, Single Point of Failure (SPoF), and bottlenecks in huge metadata requests. One advantage of using HDFS is data awareness between the job tracker and task tracker. The job tracker schedules map or reduce jobs to task trackers with an awareness of the data location. For example: if node A contains data (a, b, c) and node X contains data (x, y, z), the job tracker schedules node A to perform map or reduce tasks on (a, b, c) and node X would be scheduled to perform map or reduce tasks on (x, y, z). This reduces the amount of traffic that goes over the network and prevents unnecessary data transfer. When Hadoop is used with other file systems, this advantage is not always available. This can have a significant impact on job-completion times as demonstrated with data-intensive jobs.[41]

HDFS was designed for mostly immutable files and may not be suitable for systems requiring concurrent write operations.[39]

HDFS can be mounted directly with a Filesystem in Userspace (FUSE) virtual file system on Linux and some other Unix systems.

File access can be achieved through the native Java API, the Thrift API (generates a client in a number of languages e.g. C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, Smalltalk, and OCaml), the command-line interface, the HDFS-UI web application over HTTP, or via 3rd-party network client libraries.[42]

HDFS is designed for portability across various hardware platforms and for compatibility with a variety of underlying operating systems. The HDFS design introduces portability limitations that result in some performance bottlenecks, since the Java implementation cannot use features that are exclusive to the platform on which HDFS is running.[43] Due to its widespread integration into enterprise-level infrastructure, monitoring HDFS performance at scale has become an increasingly important issue. Monitoring end-to-end performance requires tracking metrics from datanodes, namenodes, and the underlying operating system.[44] There are currently several monitoring platforms to track HDFS performance, including Hortonworks, Cloudera, and Datadog.

Other file systems

[edit]

Hadoop works directly with any distributed file system that can be mounted by the underlying operating system by simply using a file:// URL; however, this comes at a price – the loss of locality. To reduce network traffic, Hadoop needs to know which servers are closest to the data, information that Hadoop-specific file system bridges can provide.

In May 2011, the list of supported file systems bundled with Apache Hadoop were:

  • HDFS: Hadoop's own rack-aware file system.[45] This is designed to scale to tens of petabytes of storage and runs on top of the file systems of the underlying operating systems.
  • Apache Hadoop Ozone: HDFS-compatible object store targeting optimized for billions of small files.
  • FTP file system: This stores all its data on remotely accessible FTP servers.
  • Amazon S3 (Amazon Simple Storage Service) object storage: This is targeted at clusters hosted on the Amazon Elastic Compute Cloud server-on-demand infrastructure. There is no rack-awareness in this file system, as it is all remote.
  • Windows Azure Storage Blobs (WASB) file system: This is an extension of HDFS that allows distributions of Hadoop to access data in Azure blob stores without moving the data permanently into the cluster.

A number of third-party file system bridges have also been written, none of which are currently in Hadoop distributions. However, some commercial distributions of Hadoop ship with an alternative file system as the default – specifically IBM and MapR.

  • In 2009, IBM discussed running Hadoop over the IBM General Parallel File System.[46] The source code was published in October 2009.[47]
  • In April 2010, Parascale published the source code to run Hadoop against the Parascale file system.[48]
  • In April 2010, Appistry released a Hadoop file system driver for use with its own CloudIQ Storage product.[49]
  • In June 2010, HP discussed a location-aware IBRIX Fusion file system driver.[50]
  • In May 2011, MapR Technologies Inc. announced the availability of an alternative file system for Hadoop, MapR FS, which replaced the HDFS file system with a full random-access read/write file system.

JobTracker and TaskTracker: the MapReduce engine

[edit]

Atop the file systems comes the MapReduce Engine, which consists of one JobTracker, to which client applications submit MapReduce jobs. The JobTracker pushes work to available TaskTracker nodes in the cluster, striving to keep the work as close to the data as possible. With a rack-aware file system, the JobTracker knows which node contains the data, and which other machines are nearby. If the work cannot be hosted on the actual node where the data resides, priority is given to nodes in the same rack. This reduces network traffic on the main backbone network. If a TaskTracker fails or times out, that part of the job is rescheduled. The TaskTracker on each node spawns a separate Java virtual machine (JVM) process to prevent the TaskTracker itself from failing if the running job crashes its JVM. A heartbeat is sent from the TaskTracker to the JobTracker every few minutes to check its status. The Job Tracker and TaskTracker status and information is exposed by Jetty and can be viewed from a web browser.

Known limitations of this approach are:

  1. The allocation of work to TaskTrackers is very simple. Every TaskTracker has a number of available slots (such as "4 slots"). Every active map or reduce task takes up one slot. The Job Tracker allocates work to the tracker nearest to the data with an available slot. There is no consideration of the current system load of the allocated machine, and hence its actual availability.
  2. If one TaskTracker is very slow, it can delay the entire MapReduce job – especially towards the end, when everything can end up waiting for the slowest task. With speculative execution enabled, however, a single task can be executed on multiple slave nodes.

Scheduling

[edit]

By default Hadoop uses FIFO scheduling, and optionally 5 scheduling priorities to schedule jobs from a work queue.[51] In version 0.19 the job scheduler was refactored out of the JobTracker, while adding the ability to use an alternate scheduler (such as the Fair scheduler or the Capacity scheduler, described next).[52]

Fair scheduler
[edit]

The fair scheduler was developed by Facebook.[53] The goal of the fair scheduler is to provide fast response times for small jobs and Quality of service (QoS) for production jobs. The fair scheduler has three basic concepts.[54]

  1. Jobs are grouped into pools.
  2. Each pool is assigned a guaranteed minimum share.
  3. Excess capacity is split between jobs.

By default, jobs that are uncategorized go into a default pool. Pools have to specify the minimum number of map slots, reduce slots, as well as a limit on the number of running jobs.

Capacity scheduler
[edit]

The capacity scheduler was developed by Yahoo. The capacity scheduler supports several features that are similar to those of the fair scheduler.[55]

  1. Queues are allocated a fraction of the total resource capacity.
  2. Free resources are allocated to queues beyond their total capacity.
  3. Within a queue, a job with a high level of priority has access to the queue's resources.

There is no preemption once a job is running.

Difference between Hadoop 1 and Hadoop 2 (YARN)

[edit]

The biggest difference between Hadoop 1 and Hadoop 2 is the addition of YARN (Yet Another Resource Negotiator), which replaced the MapReduce engine in the first version of Hadoop. YARN strives to allocate resources to various applications effectively. It runs two daemons, which take care of two different tasks: the resource manager, which does job tracking and resource allocation to applications, the application master, which monitors progress of the execution.

Difference between Hadoop 2 and Hadoop 3

[edit]

There are important features provided by Hadoop 3. For example, while there is one single namenode in Hadoop 2, Hadoop 3, enables having multiple name nodes, which solves the single point of failure problem.

In Hadoop 3, there are containers working in principle of Docker, which reduces time spent on application development.

One of the biggest changes is that Hadoop 3 decreases storage overhead with erasure coding.

Also, Hadoop 3 permits usage of GPU hardware within the cluster, which is a very substantial benefit to execute deep learning algorithms on a Hadoop cluster.[56]

Other applications

[edit]

The HDFS is not restricted to MapReduce jobs. It can be used for other applications, many of which are under development at Apache. The list includes the HBase database, the Apache Mahout machine learning system, and the Apache Hive data warehouse. Theoretically, Hadoop could be used for any workload that is batch-oriented rather than real-time, is very data-intensive, and benefits from parallel processing. It can also be used to complement a real-time system, such as lambda architecture, Apache Storm, Flink, and Spark Streaming.[57]

Commercial applications of Hadoop include:[58]

  • Log or clickstream analysis
  • Marketing analytics
  • Machine learning and data mining
  • Image processing
  • XML message processing
  • Web crawling
  • Archival work for compliance, including of relational and tabular data

Prominent use cases

[edit]

On 19 February 2008, Yahoo! Inc. launched what they claimed was the world's largest Hadoop production application. The Yahoo! Search Webmap is a Hadoop application that runs on a Linux cluster with more than 10,000 cores and produced data that was used in every Yahoo! web search query.[59] There are multiple Hadoop clusters at Yahoo! and no HDFS file systems or MapReduce jobs are split across multiple data centers. Every Hadoop cluster node bootstraps the Linux image, including the Hadoop distribution. Work that the clusters perform is known to include the index calculations for the Yahoo! search engine. In June 2009, Yahoo! made the source code of its Hadoop version available to the open-source community.[60]

In 2010, Facebook claimed that they had the largest Hadoop cluster in the world with 21 PB of storage.[61] In June 2012, they announced the data had grown to 100 PB[62] and later that year they announced that the data was growing by roughly half a PB per day.[63]

As of 2013, Hadoop adoption had become widespread: more than half of the Fortune 50 companies used Hadoop.[64]

Hadoop hosting in the cloud

[edit]

Hadoop can be deployed in a traditional onsite datacenter as well as in the cloud.[65] The cloud allows organizations to deploy Hadoop without the need to acquire hardware or specific setup expertise.[66]

Commercial support

[edit]

A number of companies offer commercial implementations or support for Hadoop.[67]

Branding

[edit]

The Apache Software Foundation has stated that only software officially released by the Apache Hadoop Project can be called Apache Hadoop or Distributions of Apache Hadoop.[68] The naming of products and derivative works from other vendors and the term "compatible" are somewhat controversial within the Hadoop developer community.[69]

Papers

[edit]

Influential papers on the birth, growth, and curation of Hadoop and big data processing include: Jeffrey Dean, Sanjay Ghemawat (2004) MapReduce: Simplified Data Processing on Large Clusters, Google. This paper inspired Doug Cutting to develop an open-source implementation of the Map-Reduce framework. He named it Hadoop, after his son's toy elephant.

See also

[edit]

References

[edit]
  1. ^ "Hadoop Releases". apache.org. Apache Software Foundation. Archived from the original on 28 April 2019. Retrieved 28 April 2019.
  2. ^ a b "Apache Hadoop". Archived from the original on 1 June 2022. Retrieved 27 September 2022.
  3. ^ Judge, Peter (22 October 2012). "Doug Cutting: Big Data Is No Bubble". silicon.co.uk. Retrieved 11 March 2018.
  4. ^ Woodie, Alex (12 May 2014). "Why Hadoop on IBM Power". datanami.com. Datanami. Retrieved 11 March 2018.
  5. ^ Hemsoth, Nicole (15 October 2014). "Cray Launches Hadoop into HPC Airspace". hpcwire.com. Retrieved 11 March 2018.
  6. ^ "Welcome to Apache Hadoop!". hadoop.apache.org. Archived from the original on 23 September 2017. Retrieved 25 August 2016.
  7. ^ "What is the Hadoop Distributed File System (HDFS)?". ibm.com. IBM. Retrieved 12 April 2021.
  8. ^ Malak, Michael (19 September 2014). "Data Locality: HPC vs. Hadoop vs. Spark". datascienceassn.org. Data Science Association. Archived from the original on 10 September 2017. Retrieved 30 October 2014.
  9. ^ Wang, Yandong; Goldstone, Robin; Yu, Weikuan; Wang, Teng (October 2014). "Characterization and Optimization of Memory-Resident MapReduce on HPC Systems". 2014 IEEE 28th International Parallel and Distributed Processing Symposium. IEEE. pp. 799–808. doi:10.1109/IPDPS.2014.87. ISBN 978-1-4799-3800-1. S2CID 11157612.
  10. ^ "Resource (Apache Hadoop Main 2.5.1 API)". apache.org. Apache Software Foundation. 12 September 2014. Archived from the original on 6 October 2014. Retrieved 30 September 2014.
  11. ^ Murthy, Arun (15 August 2012). "Apache Hadoop YARN – Concepts and Applications". hortonworks.com. Hortonworks. Archived from the original on 11 September 2017. Retrieved 30 September 2014.
  12. ^ "Continuuity Raises $10 Million Series A Round to Ignite Big Data Application Development Within the Hadoop Ecosystem". finance.yahoo.com. Marketwired. 14 November 2012. Archived from the original on 10 September 2017. Retrieved 30 October 2014.
  13. ^ "Hadoop-related projects at". Hadoop.apache.org. Archived from the original on 23 September 2017. Retrieved 17 October 2013.
  14. ^ Data Science and Big Data Analytics: Discovering, Analyzing, Visualizing and Presenting Data. John Wiley & Sons. 19 December 2014. p. 300. ISBN 9781118876220. Retrieved 29 January 2015.
  15. ^ "Using Hadoop streaming with perl for map reduce". Stack Overflow. 29 July 2025. Retrieved 1 August 2025.
  16. ^ Cutting, Mike; Cafarella, Ben; Lorica, Doug (31 March 2016). "The next 10 years of Apache Hadoop". O'Reilly Media. Retrieved 12 October 2017.
  17. ^ Ghemawat, Sanjay; Gobioff, Howard; Leung, Shun-Tak (2003). "The Google File System". pp. 20–43. Archived from the original on 2 December 2017. Retrieved 5 March 2016.
  18. ^ Dean, Jeffrey; Ghemawat, Sanjay (2004). "MapReduce: Simplified Data Processing on Large Clusters" (PDF). pp. 137–150.
  19. ^ Cutting, Doug (28 January 2006). "new mailing lists request: hadoop". issues.apache.org. The Lucene PMC has voted to split part of Nutch into a new sub-project named Hadoop
  20. ^ Vance, Ashlee (17 March 2009). "Hadoop, a Free Software Program, Finds Uses Beyond Search". The New York Times. Archived from the original on 30 August 2011. Retrieved 20 January 2010.
  21. ^ Cutting, Doug (30 March 2006). "[RESULT] VOTE: add Owen O'Malley as Hadoop committer". hadoop-common-dev (Mailing list).
  22. ^ "Index of /dist/hadoop/core". archive.apache.org. Retrieved 11 December 2017.
  23. ^ "Who We Are". hadoop.apache.org. Retrieved 11 December 2017.
  24. ^ Borthakur, Dhruba (2006). "The Hadoop Distributed File System: Architecture and Design" (PDF). Apache Hadoop Code Repository.
  25. ^ "Release 2.10.2 available". hadoop.apache.org.
  26. ^ "Release 3.0.0 generally available". hadoop.apache.org.
  27. ^ "Release 3.0.3 available". hadoop.apache.org.
  28. ^ "Release 3.1.4 available". hadoop.apache.org.
  29. ^ "Release 3.2.4 available". hadoop.apache.org.
  30. ^ "Release 3.3.6 available". hadoop.apache.org.
  31. ^ "Release 3.4.0 available". hadoop.apache.org.
  32. ^ Chouraria, Harsh (21 October 2012). "MR2 and YARN Briefly Explained". Cloudera.com. Archived from the original on 22 October 2013. Retrieved 23 October 2013.
  33. ^ "HDFS User Guide". Hadoop.apache.org. Retrieved 4 September 2014.
  34. ^ "Running Hadoop on Ubuntu Linux System(Multi-Node Cluster)".
  35. ^ "Running Hadoop on Ubuntu Linux (Single-Node Cluster)". Retrieved 6 June 2013.
  36. ^ Balram. "Big Data Hadoop Tutorial for Beginners". www.gyansetu.in. Retrieved 11 March 2021.
  37. ^ "Apache Hadoop 2.7.5 – HDFS Users Guide". Archived from the original on 23 October 2019. Retrieved 19 June 2020.
  38. ^ "HDFS Architecture". Retrieved 1 September 2013.
  39. ^ a b Pessach, Yaniv (2013). Distributed Storage: Concepts, Algorithms, and Implementations. OL 25423189M.
  40. ^ "Version 2.0 provides for manual failover and they are working on automatic failover". Hadoop.apache.org. Archived from the original on 1 June 2022. Retrieved 30 July 2013.
  41. ^ "Improving MapReduce performance through data placement in heterogeneous Hadoop Clusters" (PDF). Eng.auburn.ed. April 2010.
  42. ^ "Mounting HDFS". Archived from the original on 14 May 2014. Retrieved 5 August 2016.
  43. ^ Shafer, Jeffrey; Rixner, Scott; Cox, Alan. "The Hadoop Distributed Filesystem: Balancing Portability and Performance" (PDF). Rice University. Retrieved 19 September 2016.
  44. ^ Mouzakitis, Evan (21 July 2016). "How to Collect Hadoop Performance Metrics". Retrieved 24 October 2016.
  45. ^ "HDFS Users Guide – Rack Awareness". Hadoop.apache.org. Archived from the original on 13 November 2013. Retrieved 17 October 2013.
  46. ^ "Cloud analytics: Do we really need to reinvent the storage stack?" (PDF). IBM. June 2009.
  47. ^ "HADOOP-6330: Integrating IBM General Parallel File System implementation of Hadoop Filesystem interface". IBM. 23 October 2009.
  48. ^ "HADOOP-6704: add support for Parascale filesystem". Parascale. 14 April 2010. Archived from the original on 16 June 2012. Retrieved 16 January 2012.
  49. ^ "HDFS with CloudIQ Storage". Appistry, Inc. 6 July 2010. Archived from the original on 5 April 2014. Retrieved 10 December 2013.
  50. ^ "High Availability Hadoop". HP. 9 June 2010. Archived from the original on 22 June 2010. Retrieved 6 July 2010.
  51. ^ "Hadoop Commands Guide". 9 October 2024. Archived from the original on 17 August 2011. Retrieved 17 November 2024.
  52. ^ "Refactor the scheduler out of the JobTracker". Hadoop Common. Apache Software Foundation. Retrieved 9 June 2012.
  53. ^ Jones, M. Tim (6 December 2011). "Scheduling in Hadoop". ibm.com. IBM. Archived from the original on 5 April 2014. Retrieved 20 November 2013.
  54. ^ "Hadoop Fair Scheduler Design Document" (PDF). apache.org. Retrieved 12 October 2017.
  55. ^ "CapacityScheduler Guide". Hadoop.apache.org. Retrieved 31 December 2015.
  56. ^ "How Apache Hadoop 3 Adds Value Over Apache Hadoop 2". hortonworks.com. 7 February 2018. Archived from the original on 16 November 2018. Retrieved 11 June 2018.
  57. ^ Chintapalli, Sanket; Dagit, Derek; Evans, Bobby; Farivar, Reza; Graves, Thomas; Holderbaugh, Mark; Liu, Zhuo; Nusbaum, Kyle; Patil, Kishorkumar; Peng, Boyang Jerry; Poulosky, Paul (May 2016). "Benchmarking Streaming Computation Engines: Storm, Flink and Spark Streaming". 2016 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW). IEEE. pp. 1789–1792. doi:10.1109/IPDPSW.2016.138. ISBN 978-1-5090-3682-0. S2CID 2180634.
  58. ^ ""How 30+ enterprises are using Hadoop", in DBMS2". Dbms2.com. 10 October 2009. Archived from the original on 17 February 2010. Retrieved 17 October 2013.
  59. ^ "Yahoo! Launches World's Largest Hadoop Production Application". Yahoo. 19 February 2008. Archived from the original on 7 March 2016. Retrieved 31 December 2015.
  60. ^ "Hadoop and Distributed Computing at Yahoo!". Yahoo!. 20 April 2011. Archived from the original on 14 August 2011. Retrieved 17 October 2013.
  61. ^ "HDFS: Facebook has the world's largest Hadoop cluster!". Hadoopblog.blogspot.com. 9 May 2010. Retrieved 23 May 2012.
  62. ^ "Under the Hood: Hadoop Distributed File system reliability with Namenode and Avatarnode". Facebook. Retrieved 13 September 2012.
  63. ^ "Under the Hood: Scheduling MapReduce jobs more efficiently with Corona". Facebook. Retrieved 9 November 2012.
  64. ^ "Altior's AltraSTAR – Hadoop Storage Accelerator and Optimizer Now Certified on CDH4 (Cloudera's Distribution Including Apache Hadoop Version 4)" (Press release). Eatontown, NJ: Altior Inc. 18 December 2012. Retrieved 30 October 2013.
  65. ^ "Hadoop - Microsoft Azure". azure.microsoft.com. Archived from the original on 11 September 2017. Retrieved 11 December 2017.
  66. ^ "Hadoop". Azure.microsoft.com. Archived from the original on 11 September 2017. Retrieved 22 July 2014.
  67. ^ "Why the Pace of Hadoop Innovation Has to Pick Up". Gigaom.com. 25 April 2011. Archived from the original on 29 April 2011. Retrieved 17 October 2013.
  68. ^ "Defining Hadoop". Wiki.apache.org. 30 March 2013. Retrieved 17 October 2013.
  69. ^ "Defining Hadoop Compatibility: revisited". Mail-archives.apache.org. 10 May 2011. Retrieved 17 October 2013.
  70. ^ "Apache Accumulo User Manual: Security". apache.org. Apache Software Foundation. Retrieved 3 December 2014.

Bibliography

[edit]
[edit]

刮腻子是什么意思 耳毛念什么 拔河是什么意思 model是什么牌子 秦始皇的母亲叫什么名字
什么是比例 肾积水挂什么科 名媛是什么意思 1991年是什么年 什么是腺样体面容
肝风内动是什么意思 什么是白内障症状 hi是什么意思 头孢过敏什么症状 喜欢喝冰水是什么原因
宫内妊娠是什么意思 miniso是什么意思 肌酸激酶高是什么原因 鼻屎多是什么原因 裸睡有什么好处
柯字五行属什么hcv8jop3ns9r.cn 中性粒细胞绝对值偏高是什么原因sscsqa.com 盛夏什么意思hcv8jop5ns6r.cn 老公生日送什么礼物hcv8jop4ns2r.cn 为什么会长阴虱hcv8jop0ns3r.cn
什么人招蚊子hcv8jop0ns9r.cn 巴适是什么意思hcv9jop7ns9r.cn 怀孕了想打掉吃什么药hcv7jop7ns4r.cn 九牛一毛指什么生肖hcv8jop3ns8r.cn 怒发冲冠是什么意思hcv9jop5ns6r.cn
什么是甲状腺结节hcv8jop7ns4r.cn 小狗发烧吃什么药hcv9jop5ns0r.cn 屈光检查是什么hcv8jop1ns2r.cn 茉莉花茶属于什么茶hcv7jop6ns0r.cn 农历3月14日是什么星座hcv9jop2ns5r.cn
蔡字五行属什么dayuxmw.com 痔疮吃什么消炎药好得快hcv8jop3ns2r.cn 口蘑炒什么好吃hcv9jop4ns9r.cn fml什么意思hcv8jop5ns7r.cn 吃鸡什么意思hcv8jop1ns5r.cn
百度