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

Add HDFS HA tests

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • tests
    • None

    Description

      In this patch, I am adding 2 tests and a test util class.

      1) TestHAFailover: Fails over between the NameNodes a configurable number of times. Checks the service state of each NN after each failover to ensure that the service state is correct.

      2) TestKilLNNFailover: Kills the Active NN. Waits and fails over to the standby NN. Waits and checks that the former standby is now active. Restarts the killed NN and checks that it is now standby. Goes through this process a configurable number of times.

      3) HATestUtil: Helper methods to fail over and kill the NameNodes.

      Attachments

        1. bigtop-614.patch
          12 kB
          Sujay Rau
        2. bigtop-614.patch
          12 kB
          Sujay Rau
        3. HATests.patch
          11 kB
          Stephen Chu

        Issue Links

          Activity

            People

              schu Stephen Chu
              schu Stephen Chu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: