Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

finalizeUpgrade: Timed out waiting for doFinalize response

Highlighted

finalizeUpgrade: Timed out waiting for doFinalize response

we are before HDP upgrade to version 2.6.4 on ambari cluster ,

remark - ambari upgrade already done succsfuly

one of the steps before the HDP upgrade is to perform:

hdfs dfsadmin -finalizeUpgrade

from some unclear reason we get

finalizeUpgrade: Timed out waiting for doFinalize() response

please advice what could be the problem here?

from the log:

more  hadoop-hdfs-journalnode-master02.sys67.com.log
2018-03-27 09:28:52,051 INFO  server.Journal (Journal.java:doFinalize(1060)) - Finalizing upgrade for journal /hadoop/hdfs/journal/hdfsha.
   cur LV = -63; cur CTime = 0
2018-03-27 09:28:52,051 INFO  namenode.NNUpgradeUtil (NNUpgradeUtil.java:doFinalize(87)) - Directory /hadoop/hdfs/journal/hdfsha/previous does not exist.
2018-03-27 09:28:52,052 INFO  namenode.NNUpgradeUtil (NNUpgradeUtil.java:doFinalize(88)) - Finalize upgrade for /hadoop/hdfs/journal/hdfsha is not required.
2018-03-27 09:29:52,097 INFO  namenode.FileJournalManager (FileJournalManager.java:finalizeLogSegment(142)) - Finalizing edits file /hadoop/hdfs/journal/hdfsha/current/edits_inprogress_0000
000000000115282 -> /hadoop/hdfs/journal/hdfsha/current/edits_0000000000000115282-0000000000000115332
Michael-Bronson
3 REPLIES 3
Highlighted

Re: finalizeUpgrade: Timed out waiting for doFinalize response

@Michael Bronson,

1) Was HDFS running before running the command.?

2) Did you run this command on the active namenode host ? . If not, run it on active namenode host and check

3) Did you run it as hdfs user? If not, run it as hdfs user

su hdfs
hdfs dfsadmin -finalizeUpgrade

If you have met all the above conditions, then please attach the namenode logs

Thanks,

Aditya

Highlighted

Re: finalizeUpgrade: Timed out waiting for doFinalize response

Was HDFS running before running the command - YES

Did you run this command on the active namenode host - YES

Did you run it as hdfs user? If not, run it as hdfs user - YES

Michael-Bronson
Highlighted

Re: finalizeUpgrade: Timed out waiting for doFinalize response

Can you please attach namenode logs for more info

Don't have an account?
Coming from Hortonworks? Activate your account here