Description
Hadoop's metrics2 framework provides handy tools to write unit-tests for metrics sources. E.g. MetricsAsserts class. We want to use that too in HBase unit-tests.
Integration seems straightforward, wowever when integrating this piece we faced maven bug: http://jira.codehaus.org/browse/MRRESOURCES-53. Hence we decided to extract this into separate issue (originally was done in one of the patches of HBASE-6411).