Esempio n. 1
0
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)
Esempio n. 2
0
File: client.py Progetto: ymping/hue
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)