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] [Updated] (HDFS-10528) Add logging to successful standby checkpointing
Date Thu, 16 Jun 2016 23:32:05 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiaoyu Yao updated HDFS-10528:
------------------------------
    Status: Patch Available  (was: Open)

> 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
>         Attachments: HDFS-10528.00.patch
>
>
> 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