hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-1045) Improve toString implementation for PBImpls
Date Fri, 16 Aug 2013 13:29:55 GMT

    [ https://issues.apache.org/jira/browse/YARN-1045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742203#comment-13742203
] 

Hudson commented on YARN-1045:
------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk #1493 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1493/])
Update CHANGES.txt to move YARN-1045 and MAPREDUCE-5352 to the correct version. (sseth: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1514432)
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt

                
> Improve toString implementation for PBImpls
> -------------------------------------------
>
>                 Key: YARN-1045
>                 URL: https://issues.apache.org/jira/browse/YARN-1045
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.0.4-alpha
>            Reporter: Siddharth Seth
>            Assignee: Jian He
>             Fix For: 2.1.0-beta
>
>         Attachments: YARN-1045.1.patch, YARN-1045.patch
>
>
> The generic toString implementation that is used in most of the PBImpls {code}getProto().toString().replaceAll("\\n",
", ").replaceAll("\\s+", " ");{code} is rather inefficient - replacing "\n" and "\s" to generate
a one line string. Instead, we can use {code}TextFormat.shortDebugString(getProto());{code}.
> If we can get this into 2.1.0 - great, otherwise the next release.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message