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

TestQuorumJournalManager#testChangeWritersLogsOutOfSync2 occasionally fails

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None

    Description

      From https://builds.apache.org/job/Hadoop-Hdfs-trunk/1695/testReport/junit/org.apache.hadoop.hdfs.qjournal.client/TestQuorumJournalManager/testChangeWritersLogsOutOfSync2/ :

      Leaked thread: "IPC Client (26533782) connection to /127.0.0.1:57898 from jenkins" Id=590 RUNNABLE
       at java.lang.System.arraycopy(Native Method)
       at java.lang.ThreadGroup.remove(ThreadGroup.java:885)
       at java.lang.Thread.exit(Thread.java:672)
      

      The following check should give more time for the threads to shutdown:

          // Should not leak clients between tests -- this can cause flaky tests.
          // (See HDFS-4643)
          GenericTestUtils.assertNoThreadsMatching(".*IPC Client.*");
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: