Member since
10-12-2016
37
Posts
3
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
8907 | 03-13-2017 06:16 PM |
05-15-2018
05:25 PM
Sudo to infra-solr user su - infra-solr kinit -kt <solr-keytab> and run source /etc/ambari-infra-solr/conf/infra-solr-env.sh /usr/lib/ambari-infra-solr/server/scripts/cloud-scripts/zkcli.sh --zkhost "${ZK_HOST}" -cmd list
... View more
08-14-2018
11:57 AM
2 Kudos
Hey @J Koppole, I connected to hive using JayDeBeApi python package. To establish JDBC Connection, Download Hive Uber JDBC Jar created by @Tim Veil. Steps to connect has been mentioned on JayDeBeApi link: I am pasting sample code snippet below import jaydebeapi;
conn = jaydebeapi.connect("org.apache.hive.jdbc.HiveDriver","<hive_jdbc_url>",["<username>", "<password>"],"/path/to/hive-jdbc-uber-<version>.jar")
curs = conn.cursor();
curs.execute("select * from some_table");
curs.close()
... View more
10-02-2018
05:42 PM
Not a kerberized cluster. maybe: https://stackoverflow.com/questions/40595332/how-to-connect-to-a-kerberos-secured-apache-phoenix-data-source-with-wildfly
... View more