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.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment