You can use the YARN
        Services API to manage long-running YARN applications. 
        You can use the YARN Services API to deploy and manage the YARN services.
        - 
                Use the YARN Services API to run a POST operation on your application,
                    specifying a long or unlimited lifetime in the POST attributes.
            
 - 
                Use the YARN Services API to manage your application.
                
                    
                        
                            - Increase or decrease the number of application instances.
 
                            - Perform other application life cycle tasks.