HBASE-7829 zookeeper kerberos conf keytab and principal parameters interchanged (Francis)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1445213 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Zhihong Yu 2013-02-12 15:48:24 +00:00
parent 8bd7bffb36
commit bab0e00880

View File

@ -213,7 +213,7 @@ public class ZKUtil {
// If keyTab is not specified use the Ticket Cache.
// and set the zookeeper login context name.
JaasConfiguration jaasConf = new JaasConfiguration(loginContextName,
keytabFilename, principalName);
principalName, keytabFilename);
javax.security.auth.login.Configuration.setConfiguration(jaasConf);
System.setProperty(loginContextProperty, loginContextName);
}