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

Provide testing support for DFSClient to drop RPC responses

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 2.1.1-beta
    • None
    • None
    • Reviewed
    • Hide
      Used for testing when NameNode HA is enabled. Users can use a new configuration property "dfs.client.test.drop.namenode.response.number" to specify the number of responses that DFSClient will drop in each RPC call. This feature can help testing functionalities such as NameNode retry cache.
      Show
      Used for testing when NameNode HA is enabled. Users can use a new configuration property "dfs.client.test.drop.namenode.response.number" to specify the number of responses that DFSClient will drop in each RPC call. This feature can help testing functionalities such as NameNode retry cache.

    Description

      We plan to add capability to DFSClient so that the client is able to intentionally drop responses of NameNode RPC calls according to settings in configuration. In this way we can do better system test for NameNode retry cache, especially when NN failover happens.

      Attachments

        1. HDFS-5118.000.patch
          12 kB
          Jing Zhao
        2. HDFS-5118.001.patch
          12 kB
          Jing Zhao
        3. HDFS-5118.002.patch
          14 kB
          Jing Zhao
        4. HDFS-5118.003.patch
          15 kB
          Jing Zhao
        5. HDFS-5118.004.patch
          15 kB
          Jing Zhao

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: