further work on YARN adaptor and bootstrapping
further work on YARN adaptor and bootstrapping