[jira] Updated: (MAPREDUCE-1762) Add a setValue() method in Counter
[ https://issues.apache.org/jira/browse/MAPREDUCE-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Chen updated MAPREDUCE-1762: -- Attachment: M1762-javadoc.patch Fixed the bad javadoc > 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: M1762-2.patch, M1762-javadoc.patch, > MAPREDUCE-1762.1.txt, 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.
[jira] Updated: (MAPREDUCE-1762) Add a setValue() method in Counter
[ https://issues.apache.org/jira/browse/MAPREDUCE-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated MAPREDUCE-1762: - Attachment: M1762-2.patch Implemented these minor tweaks; just moved the code and set the assertions. > 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: M1762-2.patch, MAPREDUCE-1762.1.txt, 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.
[jira] Updated: (MAPREDUCE-1762) Add a setValue() method in Counter
[ https://issues.apache.org/jira/browse/MAPREDUCE-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated MAPREDUCE-1762: - Status: Resolved (was: Patch Available) Hadoop Flags: [Reviewed] Resolution: Fixed +1 I committed this. Thanks, Scott! > 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: M1762-2.patch, MAPREDUCE-1762.1.txt, 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.
[jira] Updated: (MAPREDUCE-1762) Add a setValue() method in Counter
[ 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.1.txt Fixed a typo in the patch. > 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.1.txt, 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.
[jira] Updated: (MAPREDUCE-1762) Add a setValue() method in Counter
[ https://issues.apache.org/jira/browse/MAPREDUCE-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Chen updated MAPREDUCE-1762: -- Status: Patch Available (was: Open) > 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.
[jira] Updated: (MAPREDUCE-1762) Add a setValue() method in Counter
[ 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.