...
Code Block | ||
---|---|---|
| ||
# Connecting to Impala by providing Impala host ip and port (21050 by default),credentials and a Webhdfs client hdfs = ibis.hdfs_connect(host=os.environ['IP_HDFS'], port=50070) client = ibis.impala.connect(host=os.environ['IP_IMPALA'], port=21050, hdfs_client=hdfs, user=os.environ['LDAP_USER'], password=os.environ['LDAP_PASSWORD'], auth_mechanism='PLAIN') |
Info | ||
---|---|---|
| ||
If your Impala is secured with SSL, you have to add the following parameters to your ibis.impala.connect() command:
|
How to write an Impala table with Python ?
...