public static String getMasterAddresses(Configuration conf) throws IOException {
    // Use the table property if it exists.
    String masterAddresses = conf.get(KUDU_MASTER_ADDRS_KEY);
    if (StringUtils.isEmpty(masterAddresses)) {
      // Fall back to the default configuration.
      masterAddresses = HiveConf.getVar(conf, HiveConf.ConfVars.HIVE_KUDU_MASTER_ADDRESSES_DEFAULT);
    }
    if (StringUtils.isEmpty(masterAddresses)) {
      throw new IOException("Kudu master addresses are not specified in the table property (" +
          KUDU_MASTER_ADDRS_KEY + "), or default configuration (" +
          HiveConf.ConfVars.HIVE_KUDU_MASTER_ADDRESSES_DEFAULT.varname + ").");
    }
    return masterAddresses;
  }
Returns the union of the configuration and table properties with the
table properties taking precedence.
kudu-handler/src/java/org/apache/hadoop/hive/kudu/KuduHiveUtils.java