You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2021/06/10 17:19:00 UTC

[jira] [Created] (HDFS-16063) Add toString to EditLogFileInputStream

David Mollitor created HDFS-16063:
-------------------------------------

             Summary: Add toString to EditLogFileInputStream
                 Key: HDFS-16063
                 URL: https://issues.apache.org/jira/browse/HDFS-16063
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: David Mollitor


The class {{EditLogFileInputStream}} is logged at DEBUG level, but has no {{toString}} method, so the logging is of limited value.  Also, put the DEBUG statement behind some guards since it's printing an unbounded list of items.

https://github.com/apache/hadoop/blob/eefa664fea1119a9c6e3ae2d2ad3069019fbd4ef/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImage.java#L895



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org