public static void login(String keytabLocation, String pricipalName) throws IOException {
    SecureHadoopUser.login(keytabLocation, pricipalName);
  }
Login with the given keytab and principal.
@param keytabLocation path of keytab
@param pricipalName   login principal
@throws IOException underlying exception from UserGroupInformation.loginUserFromKeytab
hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java