[
https://issues.apache.org/jira/browse/HDFS-11290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erik Krogen updated HDFS-11290:
-------------------------------
Attachment: HDFS-11290.001.patch
Thanks for the pointer [~ajisakaa]! I missed that completely. I've attached a
v001 patch with the suggested change.
> TestFSNameSystemMBean should wait until the cache is cleared
> ------------------------------------------------------------
>
> Key: HDFS-11290
> URL: https://issues.apache.org/jira/browse/HDFS-11290
> Project: Hadoop HDFS
> Issue Type: Test
> Components: test
> Affects Versions: 2.8.0
> Reporter: Akira Ajisaka
> Assignee: Erik Krogen
> Attachments: HDFS-11290.000.patch, HDFS-11290.001.patch
>
>
> 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 [~xkrogen] in HDFS-11180.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]