Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-1234

TestFileAppend shouldn't reuse client during testMultipleOutputStreamFailure()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.8.0
    • Component/s: tests
    • Labels:
      None

      Description

      For a multiple namenode scenario testMultipleOutputStreamFailure() should fail when trying to open a second output stream while previous file is still opened.

      The test can be modified to create a new DFSClient and perform the 2nd append call using the new client instead.

      1. BIGTOP-1234.patch
        2 kB
        Virginia Wang

        Activity

        Hide
        Virginia Wang Virginia Wang added a comment - - edited

        Patched attached. Passed both vanilla cluster and multi-namenode cluster.

        Show
        Virginia Wang Virginia Wang added a comment - - edited Patched attached. Passed both vanilla cluster and multi-namenode cluster.
        Hide
        cos Konstantin Boudnik added a comment -

        +1, patch looks good.

        Show
        cos Konstantin Boudnik added a comment - +1, patch looks good.
        Hide
        cos Konstantin Boudnik added a comment -

        Committed and pushed to master. Thanks Virginia!

        Show
        cos Konstantin Boudnik added a comment - Committed and pushed to master. Thanks Virginia!

          People

          • Assignee:
            Virginia Wang Virginia Wang
            Reporter:
            Virginia Wang Virginia Wang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development