//
// Write some data out to a flat file
//
FileInputFormat.setInputPaths(job, dir);
ds = fs.create(file);
Serializer serializer = new JavaSerialization().getSerializer(null);
// construct some data and write it
serializer.open(ds);
for (int i = 0; i < 10; i++) {
serializer.serialize(new JavaTestObjFlatFileInputFormat("Hello World! "