[
https://issues.apache.org/jira/browse/HDFS-10273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237672#comment-15237672
]
Hudson commented on HDFS-10273:
-------------------------------
FAILURE: Integrated in Hadoop-trunk-Commit #9598 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/9598/])
HDFS-10273. Remove duplicate logSync() and log message in (cmccabe: rev
600d129bb8d52ae820e7b74b8ce363aabd69d25c)
*
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
> Remove duplicate logSync() and log message in FSN#enterSafemode()
> -----------------------------------------------------------------
>
> Key: HDFS-10273
> URL: https://issues.apache.org/jira/browse/HDFS-10273
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.9.0
> Reporter: Vinayakumar B
> Assignee: Vinayakumar B
> Priority: Minor
> Fix For: 2.9.0
>
> Attachments: HDFS-10273-01.patch
>
>
> Remove duplicate logSync() and log message in FSN#enterSafemode()
> {code:title=FSN#enterSafemode(..)}
> // Before Editlog is in OpenForWrite mode, editLogStream will be null.
> So,
> // logSyncAll call can be called only when Edlitlog is in OpenForWrite
> mode
> if (isEditlogOpenForWrite) {
> getEditLog().logSyncAll();
> }
> setManualAndResourceLowSafeMode(!resourcesLow, resourcesLow);
> NameNode.stateChangeLog.info("STATE* Safe mode is ON.\n" +
> getSafeModeTip());
> if (isEditlogOpenForWrite) {
> getEditLog().logSyncAll();
> }
> NameNode.stateChangeLog.info("STATE* Safe mode is ON" +
> getSafeModeTip());
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)