@Override
    public void write(DataOutput out) throws IOException {
      super.write(out);
      Bytes.writeByteArray(out, serializedScanToken);
      out.writeInt(locations.length);
      for (String location : locations) {
        byte[] str = Bytes.fromString(location);
        Bytes.writeByteArray(out, str);
      }
    }
Tablet server locations which host the tablet to be scanned.
kudu-handler/src/java/org/apache/hadoop/hive/kudu/KuduInputFormat.java