SPARK-3082. yarn.Client.logClusterResourceDetails throws NPE if requeste...

...d queue doesn't exist
Also, is it safe to call `appContext.setQueue(null)` in L81? (and setApplicationName)