hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanisha Koneru (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-11879) Fix JN sync interval in case of exception
Date Wed, 24 May 2017 19:22:04 GMT
Hanisha Koneru created HDFS-11879:

             Summary: Fix JN sync interval in case of exception
                 Key: HDFS-11879
                 URL: https://issues.apache.org/jira/browse/HDFS-11879
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Hanisha Koneru
            Assignee: Hanisha Koneru

Currently, if there is an exception in _JournalNodeSyncer#syncJournal_, the sync daemon does
not wait the specified interval before the next sync attempt. 

In the following code block in _JournalNodeSyncer#startSyncJournalsDaemon_, Thread.sleep should
be moved to a separate try catch block from _syncJournal()_ to avoid skipping it in case of
        try {
          if (!journal.isFormatted()) {
            LOG.warn("Journal cannot sync. Not formatted.");
          } else {
        } catch (Throwable t) {

This message was sent by Atlassian JIRA

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

View raw message