[ 
https://issues.apache.org/jira/browse/HADOOP-4516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12642621#action_12642621
 ] 

Amar Kamat commented on HADOOP-4516:
------------------------------------

bq. makeCompactString should be deprecated
+1

bq. The makeEscapeCompactString should be refactored to a non-public class.
What will be reason for doing so? There might a user code that might need to 
stringify a local counter to write it to a file. The api to de-stringify can be 
used by the applications that process job logs externally and want to 
reconstruct the counter.

> Counter formatting for the user logs should be pulled out of the public 
> Counters API
> ------------------------------------------------------------------------------------
>
>                 Key: HADOOP-4516
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4516
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: mapred
>            Reporter: Owen O'Malley
>             Fix For: 0.20.0
>
>
> Currently the mapred.Counters class includes an obsolete format 
> (makeCompactString) and a format that is only used by the user logs 
> (makeEscapeCompactString). makeCompactString should be deprecated and later 
> removed.The makeEscapeCompactString should be refactored to a non-public 
> class.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to