jerryshao/apache-spark — pull request #10 by JoshRosen (2014-12-16 20:03:33+00:00)
Title: Guard against misuse of MetricsSystem methods

This commit adds some defensive checks to `MetricsSystem` which would have caught the error fixed by #3444.

/cc @jerryshao