I just noticed on my test cluster that my master is using all my CPUs even though it's completely idle. 5 threads are doing this:
"AM.ZK.Worker-pool2-t34" daemon prio=10 tid=0x00007f68ac176800 nid=0x5251 runnable [0x00007f688cc83000]
Looking at the code, I see
HBASE-9095 introduced two HashMaps for tests only but they end up being used concurrently in the AM and are never cleaned up. It seems to me that any master running since that patch was committed has a time bomb in it.
I'm marking this as a blocker. Devaraj Kavali and Jimmy Xiang, you guys wanna take a look at this?