Implement cluster-coefficient calculation on Hadoop with MapReduce