宠物螃蟹吃什么| 备孕吃什么好| 怀孕生气对胎儿有什么影响| 钙化点是什么意思| 鼻头长痘痘什么原因| 灰指甲用什么药最有效| ea7是什么品牌| 吃什么头发能变黑| 虚岁30岁属什么生肖| iu什么意思| 海底椰是什么东西| 最难做的饭是什么| 什么是双高| 没有胆会有什么影响| 麻风病是什么| 艾滋病检查什么项目| 孕妇感染弓形虫有什么症状| 什么床品牌最好| 8023是什么意思啊| 海盐是什么盐| 胆红素是什么意思| 人生感悟是什么意思| 什么是格林巴利综合症| 什么是红眼病| 心力憔悴是什么意思| 后援团是什么意思| 人瘦了是什么原因| 负离子是什么| 肝气郁结是什么意思| 一月18号是什么星座| 梅核气西医叫什么| 墙内开花墙外香是什么意思| 射手男和什么星座最配| 县团委书记是什么级别| 截疟是什么意思| 大庭广众什么意思| smt是什么| 肝痛在什么位置| 五行水多代表什么| 拌凉菜需要什么调料| 老花眼是什么原因引起的| play是什么牌子| 小子是什么意思| 我的部首是什么| 痛风什么水果不能吃| 产妇可以吃什么水果| 维生素c高是什么原因| 什么样的草地| 1977年是什么命| 崩漏带下是什么症状| dior什么意思| 尿肌酐高是什么原因| 心服口服的意思是什么| 断桥是什么意思| 狐狸是什么动物| 感冒喉咙痛吃什么药好| 银行卡开户名是什么| 沙土地适合种什么农作物| 口字五行属什么| 次日是什么意思| 血压突然升高是什么原因| 更年期综合征吃什么药| 卡蒂罗属于什么档次| 为什么吃一点东西肚子就胀| 早孕反应什么时候开始| 胸口疼应该挂什么科| 上火了吃什么水果降火最快| 面瘫是什么意思| 胃胀反酸吃什么药| 花卉是什么意思| 翼字五行属什么| 湿疹是什么病| 老年人适合吃什么水果| 儿童咳嗽吃什么药| 毛豆不能和什么一起吃| 肾结石吃什么比较好| 艾拉是什么药这么贵| 蚕丝衣服用什么洗最好| 脾虚是什么原因引起的| 渴望是什么意思| 什么面什么方| 减肥吃什么玉米| 羊汤放什么调料| 是什么标点符号| 蛇床子是什么| 鲁迅的原名叫什么| 日龙包什么意思| ep是什么意思| 草单斤是什么字| 口臭为什么| 新生儿满月打什么疫苗| 什么样的土豆不能吃| surprise什么意思| 检出限是什么意思| 3月30号是什么星座| 胃疼吃什么水果| 吉星高照是什么生肖| 50年婚姻是什么婚| cm是什么| 过敏性结膜炎用什么药| 微恶风寒是什么意思| 三妻四妾是什么生肖| 涸的意思是什么| 什么叫托特包| 1974年属虎的是什么命| 胃肠造影主要检查什么| 干咳吃什么药好的快| 梦见钱包丢了是什么意思| 入户口需要什么资料| 暗代表什么生肖| crp是什么检查项目| 精液的主要成分是什么| 乙肝两对半阳性是什么意思| 食物中毒呕吐吃什么药| 天河水是什么意思| eps是什么意思| 吃什么食物治便秘| 口腔科主要看什么| 冰糖和白糖有什么区别| 什么情况下做胃镜| 97年属什么的生肖| 子宫脱垂是什么症状| 6月适合种什么菜| 为什么会得胆囊炎| 怀孕喝什么牛奶好| 栩是什么意思| 41年属什么生肖| 暗无天日是什么意思| 牛排炖什么好吃| 乳腺看什么科| 白是什么意思| 五指毛桃有什么功效| 盐糖水有什么功效作用| 双喜临门的临是什么意思| 离职什么意思| 针眼是什么原因引起的| 腰疼去医院挂什么科| 紫涵女装属于什么档次| 头孢和什么不能一起吃| 男人小腹疼痛是什么原因| 姓彭的女孩子取什么名字好| 三险一金是什么| cua是什么意思| 甲状腺腺体回声欠均匀是什么意思| 什么人不适合喝咖啡| 氟苯尼考兽药治什么病| 年上和年下是什么意思| 喝什么茶减肥最有效| 尿血是什么原因女性| 尿酸高吃什么蔬菜好| 早上起来眼睛肿是什么原因| 感冒嗓子疼吃什么药| hepes缓冲液是什么| 怀孕能吃什么水果| 积什么成什么| 寿司用什么米做好吃| 2005年属什么生肖| 二杠四星是什么军衔| 万事如意是什么生肖| 发烧腿疼是什么原因| 生地黄是什么| 蘑菇是什么菌| 女人梦见棺材代表什么| 1800年是什么朝代| 高密度脂蛋白胆固醇是什么意思| 手指盖空了是什么原因| 孕期腰疼是什么原因| 跳票什么意思| 怀孕十天左右有什么反应| 97年五行属什么| cip号是什么| 孕妇喝什么茶对胎儿好| 什么是会车| 白醋洗脸有什么效果| 凉烟都有什么牌子| 日本人什么时候投降的| 镇委书记是什么级别| 对等是什么意思| 血脂是指什么| 外泌体是什么| hitachi是什么品牌| 树菠萝什么时候成熟| 肛裂是什么样子的图片| 尿路感染吃什么药效果好| 酥油茶是什么做的| 西南方向五行属什么| 甲氰咪胍又叫什么| 怀孕初期能吃什么不能吃什么| 鼻炎不能吃什么| 射手座的幸运色是什么颜色| 肋骨下面是什么器官| 杨梅不能与什么同吃| 吃什么水果对心脏有好处| 脾主四肢是什么意思| 梦见大水是什么预兆| 庆生是什么意思| clot什么牌子| 莲雾什么季节成熟| 版心是什么| 维生素b4又叫什么| 南方有什么水果| 胆汁酸高吃什么降得快| egfr医学上是什么意思| 诺诺是什么意思| 竹者念什么| swag什么意思| 气短是什么原因| medicine什么意思| 紫玫瑰代表什么意思| 梦见很多肉是什么意思| 蚊子喜欢叮什么样的人| 香茅是什么| 逆时针是什么方向| 玉化是什么意思| 白羊属于什么象星座| 怀孕六个月出血是什么原因| 经常咬手指甲是什么原因| 艺字五行属什么| 四维彩超是检查什么| 为什么头疼| 地包天什么意思| 不想吃油腻的东西是什么原因| 酒糟鼻子是什么原因引起的| 忠武路演员是什么意思| 力排众议是什么意思| uniqlo是什么牌子| 血脂高什么东西不能吃| 狗吃什么蔬菜好| 孕反应最早什么时候开始| 梦见自己掉头发是什么意思| 夏天手上长小水泡是什么原因| 虎配什么生肖最好| 运动后恶心想吐是什么原因| 什么的诉说| 吃什么养肾| 隐形眼镜什么牌子好| 肝郁吃什么药| 高血压吃什么降的快| 湿气重的人适合吃什么| 毛囊长什么样子| 口腔溃疡什么时候能好| 7月27日什么星座| 鸡的祖先是什么| 体寒是什么原因引起的| 脚臭用什么泡脚效果好| 外溢是什么意思| 什么是肉刺图片大全| 4月4日是什么日子| 贪心不足蛇吞象什么意思| 磋磨什么意思| 泡脚有什么好处和坏处| 尿酸吃什么药| 挚爱适合用在什么人| 1933年属什么生肖| as材质是什么材料| 卵巢多囊样改变是什么意思| 发飙什么意思| 1908年中国发生了什么| 吃什么对胃好养胃的食物| 糖精是什么| ibs是什么单位| 透骨草长什么样| 跛子是什么意思| 包头古代叫什么| 百度Jump to content

1至2月份 河北省财政收支均呈两位数增长

From Wikipedia, the free encyclopedia
(Redirected from Amazon Elastic MapReduce)
Apache Hadoop
Original author(s)Doug Cutting, Mike Cafarella
Developer(s)Apache Software Foundation
Initial releaseApril 1, 2006; 19 years ago (2025-08-05)[1]
Stable release
2.10.x2.10.2 / May 31, 2022; 3 years ago (2025-08-05)[2]
3.4.x3.4.0 / March 17, 2024; 16 months ago (2025-08-05)[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-05
Unsupported: 0.11 0.11.2 2025-08-05
Unsupported: 0.12 2025-08-05 0.12.3 2025-08-05
Unsupported: 0.13 2025-08-05 0.13.1 2025-08-05
Unsupported: 0.14 2025-08-05 0.14.4 2025-08-05
Unsupported: 0.15 2025-08-05 0.15.3 2025-08-05
Unsupported: 0.16 2025-08-05 0.16.4 2025-08-05
Unsupported: 0.17 2025-08-05 0.17.2 2025-08-05
Unsupported: 0.18 2025-08-05 0.18.3 2025-08-05
Unsupported: 0.19 2025-08-05 0.19.2 2025-08-05
Unsupported: 0.20 2025-08-05 0.20.205.0 2025-08-05
Unsupported: 0.21 2025-08-05 0.21.0
Unsupported: 0.22 2025-08-05 0.22.0
Unsupported: 0.23 2025-08-05 0.23.11 2025-08-05
Unsupported: 1.0 2025-08-05 1.0.4 2025-08-05
Unsupported: 1.1 2025-08-05 1.1.2 2025-08-05
Unsupported: 1.2 2025-08-05 1.2.1 2025-08-05
Unsupported: 2.0 2025-08-05 2.0.6-alpha 2025-08-05
Unsupported: 2.1 2025-08-05 2.1.1-beta 2025-08-05
Unsupported: 2.2 2025-08-05 2.2.0
Unsupported: 2.3 2025-08-05 2.3.0
Unsupported: 2.4 2025-08-05 2.4.1 2025-08-05
Unsupported: 2.5 2025-08-05 2.5.2 2025-08-05
Unsupported: 2.6 2025-08-05 2.6.5 2025-08-05
Unsupported: 2.7 2025-08-05 2.7.7 2025-08-05
Unsupported: 2.8 2025-08-05 2.8.5 2025-08-05
Unsupported: 2.9 2025-08-05 2.9.2 2025-08-05
Supported: 2.10 2025-08-05 2.10.2 2025-08-05[25]
Unsupported: 3.0 2025-08-05[26] 3.0.3 2025-08-05[27]
Unsupported: 3.1 2025-08-05 3.1.4 2025-08-05[28]
Latest version: 3.2 2025-08-05 3.2.4 2025-08-05[29]
Latest version: 3.3 2025-08-05 3.3.6 2025-08-05[30]
Latest version: 3.4 2025-08-05 3.4.0 2025-08-05[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]

白带黄是什么原因 shipped是什么意思 梦见抓龙虾是什么意思 泡沫尿是什么原因 宝姿是什么档次的牌子
1215是什么星座 红烧肉是什么菜系 什么叫肌酸激酶 什么牌子的空调好 房性期前收缩是什么意思
bowdor是什么牌子的手表 女性尿酸高有什么症状表现 luxury什么牌子 四风是什么 女生经常手淫有什么危害
睡觉为什么会磨牙 堃怎么读什么意思 吃冬瓜有什么好处 来大姨妈适合吃什么水果 肝火旺盛是什么原因引起的
放疗后吃什么恢复快hcv9jop4ns0r.cn 火红的太阳像什么hcv8jop1ns0r.cn 快速补血吃什么baiqunet.com 军师是什么意思hcv9jop0ns2r.cn 电子烟是什么hcv9jop3ns1r.cn
早起嘴巴苦什么原因96micro.com 麻辣拌里面都有什么菜cl108k.com 忌口是什么意思hkuteam.com 多保重是什么意思zsyouku.com 舌头起泡什么原因hcv7jop9ns2r.cn
心什么诚服hcv9jop6ns2r.cn 胰岛素过高会导致什么hcv7jop7ns0r.cn 天王星代表什么hcv8jop2ns5r.cn ace什么意思hcv9jop3ns9r.cn 73岁属什么jiuxinfghf.com
柔然人是现在的什么人hcv7jop6ns7r.cn 一叶知秋是什么生肖wmyky.com 池字五行属什么travellingsim.com 味极鲜是什么hcv9jop2ns1r.cn 故作矜持的意思是什么hcv9jop0ns0r.cn
百度