Github user rja1 commented on the issue: https://github.com/apache/zeppelin/pull/1157 Thanks for your work @prabhjyotsingh... Still unable to get this to work with hive (haven't tried phoenix yet)... Looks like it's related to the hive.url, doesn't appear that we have discovery mode enabled. Any direction you can give is much appreciated.. hive.url: jdbc:hive2://data03.hadoop.test.company.com:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2 Error: org.apache.hive.jdbc.ZooKeeperHiveClientException: Unable to read HiveServer2 uri from ZooKeeper hive.url: jdbc:hive2://cms02.hadoop.test.company.com:10000 Error: Could not open client transport with JDBC Uri: jdbc:hive2://cms02.hadoop.test.company.com:10000: Peer indicated failure: Unsupported mechanism type PLAIN hive.url: jdbc:hive2://cms02.hadoop.test.company.com:10000/default;principal=hive/_h...@hadoop.test.company.com Error while compiling statement: FAILED: ParseException line 1:11 extraneous input ';' expecting EOF near '<EOF>' Settings: "2BRGRRCBW": { "id": "2BRGRRCBW", "name": "jdbc", "group": "jdbc", "properties": { "phoenix.user": "phoenixuser", "hive.url": "jdbc:hive2://cms02.hadoop.test.company.com:10000/default;principal=hive/_h...@hadoop.test.company.com", "default.driver": "org.postgresql.Driver", "phoenix.driver": "org.apache.phoenix.jdbc.PhoenixDriver", "hive.user": "hive", "psql.password": "", "psql.user": "phoenixuser", "psql.url": "jdbc:postgresql://localhost:5432/", "default.user": "gpadmin", "phoenix.hbase.client.retries.number": "1", "phoenix.url": "jdbc:phoenix:localhost:2181:/hbase-unsecure", "tajo.url": "jdbc:tajo://localhost:26002/default", "tajo.driver": "org.apache.tajo.jdbc.TajoDriver", "psql.driver": "org.postgresql.Driver", "default.password": "", "zeppelin.interpreter.localRepo": "/opt/zeppelin-ZEPPELIN-1146/local-repo/2BRGRRCBW", "zeppelin.jdbc.auth.type": "KERBEROS", "hive.password": "", "zeppelin.jdbc.concurrent.use": "true", "hive.driver": "org.apache.hive.jdbc.HiveDriver", "common.max_count": "1000", "zeppelin.jdbc.keytab.location": "/opt/zeppelin-ZEPPELIN-1146/conf/zeppelin.keytab", "phoenix.password": "", "zeppelin.jdbc.principal": "zeppe...@hadoop.test.company.com", "zeppelin.jdbc.concurrent.max_connection": "10", "default.url": "jdbc:postgresql://localhost:5432/" }, "interpreterGroup": [ { "name": "sql", "class": "org.apache.zeppelin.jdbc.JDBCInterpreter" } ], "dependencies": [ { "groupArtifactVersion": "/opt/cloudera/CDH/jars/hive-jdbc-1.1.0-cdh5.5.2.jar", "local": false }, { "groupArtifactVersion": "/opt/cloudera/CDH/jars/hadoop-common-2.6.0-cdh5.5.2.jar", "local": false }, { "groupArtifactVersion": "/opt/cloudera/CDH/jars/hive-shims-0.23-1.1.0-cdh5.5.2.jar", "local": false, "exclusions": [] }, { "groupArtifactVersion": "/opt/cloudera/CDH/jars/hive-jdbc-1.1.0-cdh5.5.2-standalone.jar", "local": false } ], "option": { "remote": true, "port": -1, "perNoteSession": false, "perNoteProcess": false, "isExistingProcess": false } I'm then testing the notebook as follows: %jdbc(hive) show tables;
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---