@Override
    public int getPartition(Object key, Object value, int numPartitions) {
      return (value.hashCode() & 2147483647) % numPartitions;
    }
Given two vertices and the configuration for the source vertex, createEdge
will create an Edge object that connects the two.

@param vConf JobConf of the first (source) vertex
@param v The first vertex (source)
@param w The second vertex (sink)
@return
ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java