}
@Override
public List<InputSplit> getSplits(JobContext jobContext) throws IOException, InterruptedException {
ZooKeeperItf zk = null;
LilyClient lilyClient = null;
Configuration hbaseConf = null;
List<InputSplit> inputSplits = Lists.newArrayList();
try {
zk = ZkUtil.connect(zkConnectString, 30000);
// Need connection to Lily to parse RecordScan (a bit lame)
lilyClient = null;
try {
lilyClient = new LilyClient(zk);
} catch (Exception e) {
throw new IOException("Error setting up LilyClient", e);
}
LRepository repository = lilyClient.getRepository(repositoryName);
RecordScan scan = getScan(repository);
// Determine start and stop row
byte[] startRow;
if (scan.getRawStartRecordId() != null) {