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 "Xiaoyu Yao (JIRA)" <ji...@apache.org> on 2016/06/14 23:08:30 UTC

[jira] [Created] (HDFS-10528) Add logging to successful standby checkpointing

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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org