@Override
 public void init() {
   // Make sure that the metrics system doesn't throw an exception when
   // registering a source with the same name
   DefaultMetricsSystem.setMiniClusterMode(true);
 }
 static {
   DefaultMetricsSystem.setMiniClusterMode(true);
 }