[ https://issues.apache.org/jira/browse/MAPREDUCE-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Chen updated MAPREDUCE-1762: ---------------------------------- Attachment: MAPREDUCE-1762.txt Add a setValue(long) method in Counter.java and a simple unit test. > Add a setValue() method in Counter > ---------------------------------- > > Key: MAPREDUCE-1762 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1762 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Affects Versions: 0.22.0 > Reporter: Scott Chen > Assignee: Scott Chen > Fix For: 0.22.0 > > Attachments: MAPREDUCE-1762.txt > > > Counters are very useful because of the logging and transmitting are already > there. > It is very convenient to transmit and store numbers. But currently Counter > only has an increment() method. > It will be nice if there can be a setValue() method in this class that will > allow us to transmit wider variety of information through it. > What do you think? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.