Update JDBCInterpreter.java

change equals to equalsIgnoreCase
This commit is contained in:
LeiWang 2017-04-05 09:22:43 +08:00 committed by GitHub
parent ea11ce4168
commit 444b6ab78b

View file

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