@Override
  public void write(DataOutput out) throws IOException {
    Properties props = getProps();
    WritableUtils.writeVInt(out, props.size());
    for(Entry<Object, Object> item: props.entrySet()) {
      org.apache.hadoop.io.Text.writeString(out, (String) item.getKey());
      org.apache.hadoop.io.Text.writeString(out, (String) item.getValue());
      WritableUtils.writeCompressedStringArray(out,
          updatingResource.get(item.getKey()));
    }
  }
@ Override public void write ( DataOutput out ) throws IOException { Properties props = getProps ( ) ; WritableUtils . writeVInt ( out , props . size ( ) ) ; for ( Entry < Object , Object > item : props . entrySet ( ) ) { org . apache . hadoop . io . Text . writeString ( out , ( String ) item . getKey ( ) ) ; org . apache . hadoop . io . Text . writeString ( out , ( String ) item . getValue ( ) ) ; WritableUtils . writeCompressedStringArray ( out , updatingResource . get ( item . getKey ( ) ) ) ; } }
@Override