Remove the metrics in method to avoid the NPE.
Merge branch 'hbase-11339-metrics' of https://github.com/JingchengDu/hbase into hbase-11339-metrics