Use the YARN Services API
The YARN Services API helps in creating and managing the life cycle of YARN services.
Previously, deploying a new service on YARN was not a simple experience. The APIs of existing frameworks were either too low level (native YARN), required writing new code (for frameworks with programmatic APIs), or required writing a complex specification (for declarative frameworks). Apache Slider was developed to run services such as HBase, Storm, Accumulo, and Solr on YARN by exposing higher-level APIs that supported running these services on YARN without modification.
The new YARN Services API greatly simplifies the deployment and management of YARN services.