Description
In the TestDistcpMain#testMain test case, it is deleting a file using HDFS FileSystem instance which actually created on a local FileSystem.
// getting file hadoop system instance FileSystem fs = getFileSystem(); ... // creating a storing file on local file system File actionXml = new File(getTestCaseDir(), "action.xml"); ... // Now trying to delete the file on hadoop file system fs.delete(new Path(getTestCaseDir(), "action.xml"), true);
Attachments
Attachments
Issue Links
- links to