public static void loadKrb5Conf(Map<String, Object> config) {
        String krb5conf = MapUtils.getString(config, KEY_JAVA_SECURITY_KRB5_CONF);
        checkOpt(krb5conf, KEY_JAVA_SECURITY_KRB5_CONF);
        String krb5FilePath = System.getProperty("user.dir") + File.separator + MapUtils.getString(config, KEY_JAVA_SECURITY_KRB5_CONF);
        DtFileUtils.checkExists(krb5FilePath);
        System.setProperty(KEY_JAVA_SECURITY_KRB5_CONF, krb5FilePath);
        LOG.info("{} is set to {}", KEY_JAVA_SECURITY_KRB5_CONF, krb5FilePath);
    }
The utility class of HBase connection

Date: 2019/12/24
Company: www.dtstack.com
@author maqi
hbase/hbase-side/hbase-side-core/src/main/java/com/dtstack/flink/sql/side/hbase/utils/HbaseConfigUtils.java