}
private static ReaderContext runsInMaster(Map<String, String> config) throws HCatException {
ReadEntity.Builder builder = new ReadEntity.Builder();
ReadEntity entity = builder.withTable(config.get("table")).build();
HCatReader reader = DataTransferFactory.getHCatReader(entity, config);
ReaderContext cntxt = reader.prepareRead();
return cntxt;
}