code: public static void diagnose(String applicationId, String queueName, int numNodes, int nodeMemoryMb, int numNodesStarted) throws Exception {
          H2OYarnDiagnostic client = new H2OYarnDiagnostic();
          client.applicationId = applicationId;
          client.queueName = queueName;
          client.numNodes = numNodes;
          client.nodeMemoryMb = nodeMemoryMb;
          client.nodeVirtualCores = 1;
          client.numNodesStarted = numNodesStarted;
          client.run();
      }
docs: The assumption is this method doesn't get called unless a problem occurred.
  
  @param queueName YARN queue name
  @param numNodes Requested number of worker containers (not including AM)
  @param nodeMemoryMb Requested worker container size
  @param numNodesStarted Number of containers that actually got started before giving up
  @throws Exception