Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8412

Fix the test failures in HTTPFS: In some tests setReplication called after fs close.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • fs
    • None
    • Reviewed

    Description

      Currently 2 HTTFS test cases failing due to filesystem open check in fs operations

      This is the JIRA fix these failures.

      Failure seems like
      test case is closing fs first and then doing operation. Ideally such test could pas earlier as dfsClient was just contacting with NN directly. But that particular closed client will not be useful for any other ops like read/write. So, usage should be corrected here IMO.

       fs.close();
          fs.setReplication(path, (short) 2);
      

      Attachments

        1. HDFS-8412-0.patch
          0.8 kB
          Uma Maheswara Rao G

        Issue Links

          Activity

            People

              umamaheswararao Uma Maheswara Rao G
              umamaheswararao Uma Maheswara Rao G
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: