private void addHBaseResources(Configuration jobConf,
      Map<String, String> newJobProperties) {
    Configuration conf = new Configuration(false);
    HBaseConfiguration.addHbaseResources(conf);
    for (Entry<String, String> entry : conf) {
      if (jobConf.get(entry.getKey()) == null) {
        newJobProperties.put(entry.getKey(), entry.getValue());
      }
    }
  }
Utility method to add hbase-default.xml and hbase-site.xml properties to a new map
if they are not already present in the jobConf.
@param jobConf Job configuration
@param newJobProperties  Map to which new properties should be added
hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java