예제 #1
0
  @Override
  public void write(DataOutput out) throws IOException {
    LOG.debug("WRITE : " + this);

    Bytes.writeByteArray(out, Bytes.toBytes(splits.size()));

    for (HBaseTableSplit hbts : splits) {
      Bytes.writeByteArray(out, SerializationUtils.serialize(hbts));
    }

    LOG.debug("WROTE : " + out.toString());
  }