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

...d queue doesn't exist
What makes you think that?  amQueue gets set with:
> var amQueue = sparkConf.get("QUEUE", "default")

So I don't think it can end up null.