Is this necessary? You seem to be called yarnClient.getApplicationReport directly.