hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3925) Prettify PipelineAck#toString() for printing to a log
Date Thu, 13 Sep 2012 14:00:19 GMT

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

Hudson commented on HDFS-3925:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #1195 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1195/])
    HDFS-3925. Prettify PipelineAck#toString() for printing to a log. Contributed by Andrew
Wang. (Revision 1384078)

     Result = SUCCESS
todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1384078
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/PipelineAck.java

                
> Prettify PipelineAck#toString() for printing to a log
> -----------------------------------------------------
>
>                 Key: HDFS-3925
>                 URL: https://issues.apache.org/jira/browse/HDFS-3925
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.0.3-alpha
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>            Priority: Minor
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: hdfs-3925-1.patch
>
>
> The current PipelineAck#toString() calls TextFormat#print(), which results in a newline
per field in the protobuf. This looks messy when printed to the log (e.g. DFSOutputStream.java:667)
and makes grepping messier. A nicer print format would put all of this on one line.

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