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

Reply via email to