a metric for java based on hadoop metric