hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-10264) Logging improvements in FSImageFormatProtobuf.Saver
Date Wed, 06 Apr 2016 01:22:25 GMT

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

Konstantin Shvachko commented on HDFS-10264:
--------------------------------------------

Add the following to {{FSImageFormatProtobuf.Saver.save()}}
# {{LOG.info("Saving image file " + newFile + " using " + compression);}}
# {code}LOG.info("Image file " + newFile + " of size " + newFile.length() +
          " bytes saved in " + (now() - startTime)/1000 + " seconds.");{code}

> Logging improvements in FSImageFormatProtobuf.Saver
> ---------------------------------------------------
>
>                 Key: HDFS-10264
>                 URL: https://issues.apache.org/jira/browse/HDFS-10264
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.6.0
>            Reporter: Konstantin Shvachko
>              Labels: newbie
>
> There are two missing LOG messages in {{FSImageFormat.Saver}} that are missing in {{FSImageFormatProtobuf.Saver}},
which mark start and end of fsimage saving. Would be good to have them logged for protobuf
images as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message