List of usage examples for org.apache.hadoop.mapred JobConf reloadConfiguration
public synchronized void reloadConfiguration()
From source file:org.wonderbee.elasticsearch.hive.ElasticSearchHiveInputFormat.java
License:Apache License
@Override public RecordReader getRecordReader(InputSplit inputSplit, JobConf conf, Reporter reporter) throws IOException { ElasticSearchRecordReader reader = new ElasticSearchRecordReader(); LOG.info("getRecordReader called with conf containing hostport " + conf.get(ES_HOSTPORT)); conf.reloadConfiguration(); reader.initialize(inputSplit, conf); return reader; }