[YARN] properly set diagnostics messages on failures
[FLINK-968] Add slot parameter to YARN client