@Override public List<InputSplit> getSplits(JobContext context) throws IOException, InterruptedException {
Configuration conf = context.getConfiguration();
RiakLocation[] locations = RiakConfig.getRiakLocatons(conf);
if (locations.length == 0) {
throw new NoRiakLocationsException();
}
final KeyLister keyLister = RiakConfig.getKeyLister(conf);
try {