Hongyu Cai created HADOOP-17662: ----------------------------------- Summary: Hadoop Customed Counter Key: HADOOP-17662 URL: https://issues.apache.org/jira/browse/HADOOP-17662 Project: Hadoop Common Issue Type: Task Reporter: Hongyu Cai
I have run a hadoop job and set multiple reducers in the reduce phase, then I have customize a counter to sum the results of multiple reducers. However, the data type of the result in each reducer is double, while the increment method of conuter only supports the long data type. If the conversion from double to long is forced, the precision will be lost. How can I solve this problem? -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org