hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amar Kamat (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4516) Counter formatting for the user logs should be pulled out of the public Counters API
Date Sat, 25 Oct 2008 13:25:44 GMT

    [ 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.


Mime
View raw message