hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10528) Add logging to successful standby checkpointing
Date Tue, 14 Jun 2016 23:08:30 GMT
Xiaoyu Yao created HDFS-10528:
---------------------------------

             Summary: Add logging to successful standby checkpointing
                 Key: HDFS-10528
                 URL: https://issues.apache.org/jira/browse/HDFS-10528
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: namenode
            Reporter: Xiaoyu Yao
            Assignee: Xiaoyu Yao


This ticket is opened to add INFO log for a successful standby checkpointing in the code below
for troubleshooting.

{code}
if (needCheckpoint) {
            doCheckpoint();
            // reset needRollbackCheckpoint to false only when we
finish a ckpt
            // for rollback image
            if (needRollbackCheckpoint
                && namesystem.getFSImage().hasRollbackFSImage())
{
              namesystem.setCreatedRollbackImages(true);
              namesystem.setNeedRollbackFsImage(false);
            }
            lastCheckpointTime = now;
          }
        } catch (SaveNamespaceCancelledException ce) {
{code}



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

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


Mime
View raw message