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

TestRequestHedgingProxyProvider is flaky

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6.4
    • 2.8.0, 3.0.0-alpha2
    • test
    • None

    Description

      This test fails occasionally with an error like this:

      org.apache.hadoop.hdfs.server.namenode.ha.TestRequestHedgingProxyProvider.testHedgingWhenOneFails
      
      
      Error Message
      
      Wanted but not invoked:
      namenodeProtocols.getStats();
      -> at org.apache.hadoop.hdfs.server.namenode.ha.TestRequestHedgingProxyProvider.testHedgingWhenOneFails(TestRequestHedgingProxyProvider.java:78)
      Actually, there were zero interactions with this mock.
      Stacktrace
      
      org.mockito.exceptions.verification.WantedButNotInvoked: 
      Wanted but not invoked:
      namenodeProtocols.getStats();
      -> at org.apache.hadoop.hdfs.server.namenode.ha.TestRequestHedgingProxyProvider.testHedgingWhenOneFails(TestRequestHedgingProxyProvider.java:78)
      Actually, there were zero interactions with this mock.
      
      	at org.apache.hadoop.hdfs.server.namenode.ha.TestRequestHedgingProxyProvider.testHedgingWhenOneFails(TestRequestHedgingProxyProvider.java:78)
      Standard Output
      
      2016-09-26 15:26:02,234 WARN  hdfs.DFSUtil (DFSUtil.java:getAddressesForNameserviceId(689)) - Namenode for mycluster-26780990 remains unresolved for ID nn1.  Check your hdfs-site.xml file to ensure namenodes are configured properly.
      2016-09-26 15:26:02,340 WARN  hdfs.DFSUtil (DFSUtil.java:getAddressesForNameserviceId(689)) - Namenode for mycluster-26780990 remains unresolved for ID nn2.  Check your hdfs-site.xml file to ensure namenodes are configured properly.
      

      Attachments

        1. HDFS-10962.001.patch
          2 kB
          Andrew Wang
        2. HDFS-10962.002.patch
          6 kB
          Andrew Wang

        Activity

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

          People

            andrew.wang Andrew Wang
            andrew.wang Andrew Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment