@Override
  public boolean equals(Object obj) {
    return toString().equals(String.valueOf(obj));
  }
Provide metrics on the type and number of tasks executed by the HiveServer
@param metrics
ql/src/java/org/apache/hadoop/hive/ql/exec/Task.java