Thanks for caching this. 

I will wrap the call in a Try. e.g.
```
Try(YarnConfiguration.DEFAULT_YARN_APPLICATION_CLASSPATH).toOption
```