for (int i = 0; i < chunks; ++i) {
long start = i * chunkSize;
long end =
((i + 1) == chunks) ? Long.MAX_VALUE : (i * chunkSize) + chunkSize;
RexsterInputSplit split = new RexsterInputSplit(start, end);
splits.add(split);
if (LOG.isDebugEnabled()) {
LOG.debug(String.format("Chunk: start %d; end %d;", start, end));
LOG.debug(String.format("Chunk: size %d;", chunkSize));