add configure zeppelin.jdbc.auth.kerberos.proxy for kerberos auth type to disable proxy behavior

This commit is contained in:
lei wang 2017-04-04 20:39:32 +08:00
parent c87fa53a3a
commit 067696aaea

View file

@ -371,7 +371,7 @@ public class JDBCInterpreter extends Interpreter {
switch (authType) {
case KERBEROS:
if (user == null) {
if (user == null || "false".equals(property.getProperty("zeppelin.jdbc.auth.kerberos.proxy.enable"))) {
connection = getConnectionFromPool(url, user, propertyKey, properties);
} else {
if (url.trim().startsWith("jdbc:hive")) {