public static String getVertexCounterName(String counter, String vertexName) {
    if (vertexName != null && !vertexName.isEmpty()) {
      vertexName = "_" + vertexName.replace(" ", "_");
    }
    return counter + vertexName;
  }
Appends vertex name to specified counter name.

@param counter counter to be appended with
@param vertexName   vertex name
@return counter name with vertex name appended
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java