Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2493

TestDistcpMain deletes action.xml from wrong filesystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.3.0
    • tests

    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

        1. OOZIE-2493-03.patch
          1 kB
          Abhishek Bafna
        2. OOZIE-2493-02.patch
          0.7 kB
          Abhishek Bafna
        3. OOZIE-2493.patch
          0.6 kB
          Abhishek Bafna

        Issue Links

          Activity

            People

              abhishekbafna Abhishek Bafna
              abhishekbafna Abhishek Bafna
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: