What Slider Does
Slider is a framework for deployment and management of these long-running data access applications in Hadoop.
Slider leverages YARN’s resource management capabilities to deploy those applications, to manage their lifecycles and scale them up or down–even while the application is running. Slider “slides” existing long-running services (like Apache HBase, Apache Accumulo and Apache Storm) onto YARN, so that they have enough resources to handle changing amounts of data, without tying up more processing resources than they need.
Apache Slider allows users to create and run different versions of heterogeneous long-running applications in Hadoop with YARN. Each application instance can be configured differently, with its operational life cycle managed individually. On an on-demand basis, Slider can expand or shrink application instances while they are running. In the case of container failure, Slider transparently leverages YARN facilities to manage application recovery. All of this is available on Linux or Windows platforms.
These Apache Slider features provide three key benefits to enterprises running Hadoop:
|Turnkey YARN enablement||Enables long-running applications to take advantage of YARN’s benefits without code changes:
|Hadoop integration||Applications running with Apache Slider cooperate with the Enterprise Hadoop ecosystem in an integrated way--leveraging Hadoop’s data and processing resources, as well as its security, governance, and operations capabilities|
|Lifecycle management||Automatically makes applications manageable through Apache Ambari without any additional work|
How Slider Works
Apache Slider views any application, as a set of components and each component is a daemon or executable with its own configuration, scripts, and data files. Components may have one or more instances. Slider manages applications by managing their component instances.
To manage application component instances, Slider launches a YARN application master for each instance. After the launching an application master, Slider can allocate or de-allocate resources and stop or start an application instance. This can be done based on the application admin’s request through the Slider client or through YARN’s resource scheduling pre-emptions.