String[] dataArray = new String[] { DATA10 };
// use configuration which would not work for hdfs
TextFileWriter writer = new TextFileWriter(failConfiguration, testDefaultPath, null);
writer.afterPropertiesSet();
writer.start();
// restore configuration after writer lifecycle has been started
TestUtils.setField("configuration", writer, getConfiguration());
TestUtils.writeData(writer, dataArray);