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

TestFSNameSystemMBean should wait until JMX cache is cleared

    Details

    • Hadoop Flags:
      Reviewed

      Description

      TestFSNamesystemMBean#testWithFSNamesystemWriteLock and #testWithFSEditLogLock get metrics after locking FSNameSystem/FSEditLog, but when the metrics are cached, the tests success even if the metrics acquire the locks. The tests should wait until the cache is cleared.
      This issue was reported by Erik Krogen in HDFS-11180.

        Attachments

        1. HDFS-11290.001.patch
          2 kB
          Erik Krogen
        2. HDFS-11290.000.patch
          2 kB
          Erik Krogen

          Issue Links

            Activity

              People

              • Assignee:
                xkrogen Erik Krogen
                Reporter:
                ajisakaa Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: