checkpointing, changes for sending request to YARN