spec.setMaxReattempts(0);
JobId jobId = hcc.startJob(spec, EnumSet.of(JobFlag.PROFILE_RUNTIME));
if (hds == null) {
hds = new HyracksDataset(hcc, spec.getFrameSize(), opts.threads);
}
ByteBuffer buffer = ByteBuffer.allocate(spec.getFrameSize());
IHyracksDatasetReader reader = hds.createReader(jobId, ccb.getResultSetId());
IFrameTupleAccessor frameTupleAccessor = new ResultFrameTupleAccessor(spec.getFrameSize());
buffer.clear();