@Override
 public void accept(ByteBuffer buffer) {
   JobId jobId = new JobId(buffer.getLong());
   int partition = buffer.getInt();
   if (LOGGER.isLoggable(Level.FINE)) {
     LOGGER.fine(
         "Received initial dataset partition read request for JobId: "
             + jobId
             + " partition: "
             + partition
             + " on channel: "
             + ccb);
   }
   noc = new NetworkOutputChannel(ccb, 1);
   try {
     partitionManager.initializeDatasetPartitionReader(jobId, partition, noc);
   } catch (HyracksException e) {
     noc.abort();
   }
 }
 @Override
 public void error(int ecode) {
   if (noc != null) {
     noc.abort();
   }
 }