def _make_adls_client(identifier): client_conf = conf.ADLS_CLUSTERS[identifier] azure_client = CLIENT_CACHE["azure"][identifier] return WebHdfs.from_config(client_conf, azure_client)
def _make_adls_client(identifier, user): auth_provider = get_credential_provider(identifier, user) client_conf = conf.ADLS_CLUSTERS[identifier] return WebHdfs.from_config(client_conf, auth_provider)