@Override
    public void write(Kryo kryo, Output output, MapWork mapWork) {
      filterMapworkProperties(kryo, mapWork);
      super.write(kryo, output, mapWork);
    }
We use a custom {@link com.esotericsoftware.kryo.Serializer} for {@link MapWork} objects e.g. in
order to remove useless properties in execution time.
ql/src/java/org/apache/hadoop/hive/ql/exec/SerializationUtilities.java