You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2014/09/23 03:37:34 UTC
[jira] [Created] (HDFS-7131) During HA upgrade, JournalNode should
also copy the committedTxnId file into the current directory
Jing Zhao created HDFS-7131:
-------------------------------
Summary: During HA upgrade, JournalNode should also copy the committedTxnId file into the current directory
Key: HDFS-7131
URL: https://issues.apache.org/jira/browse/HDFS-7131
Project: Hadoop HDFS
Issue Type: Bug
Affects Versions: 2.4.0
Reporter: Jing Zhao
Assignee: Jing Zhao
Currently while doing HA upgrade, we do not create a new committedTxnId file in the new current directory of JournalNode. And before we have the fix in HDFS-7042, since the file channel is never closed, for any new journal we're actually updating the committedTxnId file in the previous directory. This can cause NN to fail to start while rollback.
HDFS-7042 fixes the main part of the issue: the file channel inside of the committedTxnId object gets closed thus later a new file can be created in the current directory. But maybe it is still better to copy the content file during the upgrade so that we can always use it for sanity check.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)