[ https://issues.apache.org/jira/browse/HDFS-15485?focusedWorklogId=509538&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-509538 ]
ASF GitHub Bot logged work on HDFS-15485: ----------------------------------------- Author: ASF GitHub Bot Created on: 10/Nov/20 06:39 Start Date: 10/Nov/20 06:39 Worklog Time Spent: 10m Work Description: Deegue commented on pull request #2162: URL: https://github.com/apache/hadoop/pull/2162#issuecomment-724493386 > looks reasonable. Can you add a unit test? Thanks for your review @jojochuang , I think present UTs can cover this case and it's hard to add another one for this. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 509538) Remaining Estimate: 0h Time Spent: 10m > Fix outdated properties of JournalNode when performing rollback > --------------------------------------------------------------- > > Key: HDFS-15485 > URL: https://issues.apache.org/jira/browse/HDFS-15485 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Deegue > Assignee: Deegue > Priority: Minor > Time Spent: 10m > Remaining Estimate: 0h > > When rollback HDFS cluster, properties in JNStorage won't be refreshed after > the storage dir changed. It leads to exceptions when starting namenode. > The exception like: > {code:java} > 2020-07-09 19:04:12,810 FATAL [IPC Server handler 105 on 8022] > org.apache.hadoop.hdfs.server.namenode.FSEditLog: Error: > recoverUnfinalizedSegments failed for required journal > (JournalAndStream(mgr=QJM to [10.0.118.217:8485, 10.0.117.208:8485, > 10.0.118.179:8485], stream=null)) > org.apache.hadoop.hdfs.qjournal.client.QuorumException: Got too many > exceptions to achieve quorum size 2/3. 3 exceptions thrown: > 10.0.118.217:8485: Incompatible namespaceID for journal Storage Directory > /mnt/vdc-11176G-0/dfs/jn/nameservicetest1: NameNode has nsId 647617129 but > storage has nsId 0 > at > org.apache.hadoop.hdfs.qjournal.server.JNStorage.checkConsistentNamespace(JNStorage.java:236) > at > org.apache.hadoop.hdfs.qjournal.server.Journal.newEpoch(Journal.java:300) > at > org.apache.hadoop.hdfs.qjournal.server.JournalNodeRpcServer.newEpoch(JournalNodeRpcServer.java:136) > at > org.apache.hadoop.hdfs.qjournal.protocolPB.QJournalProtocolServerSideTranslatorPB.newEpoch(QJournalProtocolServerSideTranslatorPB.java:133) > at > org.apache.hadoop.hdfs.qjournal.protocol.QJournalProtocolProtos$QJournalProtocolService$2.callBlockingMethod(QJournalProtocolProtos.java:25417) > at > org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:617) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1073) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2278) > at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2274) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at > org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1924) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2274) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org