Specialized IT Services focused on Data Management | Speak with Us 877-634-9222
Untangling YARN – What Is It?
YARN, or MapReduce 2.0, opens up Hadoop beyond MapReduce. Because it now separates resource management from the processing components of Hadoop, YARN enables users to interact in more varied and useful ways with their data.
YARN provides cluster resource management and allows applications and services to run natively in Hadoop. In the application stack, for example, YARN sits atop the Hadoop distributed file system, as do Tez — the execution engine for interactive SQL queries — Storm, Giraph, and HBase.
MapReduce previously sent jobs one-by-one to the Hadoop distributed file system (HDFS). Then, it extracted useful information from the data. Now, multiple search tools can be used simultaneously to search data within the HDFS storage system. Multiple applications can be run in Hadoop with YARN.
It also, for example, separates the two primary responsibilities that were in the MapReduce JobTracker component — resource management and job scheduling/monitoring — into separate applications. This allows users to better manage the cluster resources within Hadoop than they could previously.
Another way to think of it is that YARN packages the resource management capabilities that were in MapReduce such that new engines can use them.
Rohit Bakhshi, product manager at Hortonworks, told InfoQ:
YARN is but a larger part of the Hadoop ecosystem. InfoWorld explains:
Several organizations are now building applications on YARN, according to Hortonworks.
This latest iteration of Hadoop was in development for about four years. Among the organizations reportedly using Hadoop include Amazon Web Services, AOL, Apple, eBay, Facebook, Netflix, and Hewlett-Packard.