fluo
fluo copied to clipboard
Make YarnAppRunner more robust to failure.
While reviewing #563 I noticed a more general issue. If any failure occurs before YarnAppRunner.java line 232 it could leave things in an inconsistent state where the Fluo command line tools do not work well.
It would be nice to make this more robust. One possible way to do this is to place a marker in zookeeper, before trying to start anything in Twill, that indicates that yarn startup is in progress. Other Fluo commands could use this to know if startup is in progress. Other Fluo command could offer users advice about running yarn commands if it seems that startup is taking to long.