@zjffdu review comments

This commit is contained in:
Prabhjyot Singh 2017-06-14 16:56:19 +05:30
parent 7c539ef2eb
commit ee741e483a

View file

@ -97,7 +97,8 @@ public class ShellInterpreter extends Interpreter {
} catch (ExecuteException e) {
if (isGSSInit &&
contextInterpreter.out != null &&
contextInterpreter.out.getCurrentOutput().toString().contains("GSS")) {
StringUtils.containsIgnoreCase(contextInterpreter.out.getCurrentOutput().toString(),
"GSSException")) {
isGSSInit = false;
if (!StringUtils.isAnyEmpty(getProperty("zeppelin.shell.auth.type"))) {
ShellSecurityImpl.createSecureConfiguration(getProperty(), shell);