code: def __init__(
      self,
      skein_client,
      application_id,
      endpoint,
      is_client_managed=False,
  ):
      self._skein_client = skein_client
      self._is_client_managed = is_client_managed
      self._application_id = application_id
      self._endpoint = endpoint
      self._session = new_session(endpoint)
  
file_path: mars/mars/deploy/yarn/client.py
imports: import logging
  import random
  import time
  import uuid
  from ...session import new_session
  from ...utils import to_str, calc_size_by_str
  from ..utils import wait_services_ready
  from .config import MarsApplicationConfig, MarsSupervisorConfig, MarsWorkerConfig
label_desc: Use image node_id 1 to create a new YarnClusterClient object  with example: obj = YarnClusterClient(skein_client, application_id, endpoint, is_client_managed)