corrected wrong return value in hadoopDataGen