<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: how to force name node to be active in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216441#M178350</link>
    <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you instead do a &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# grep namenodes  /etc/hadoop/conf/hdfs-site.xml&lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Then get the values of the parameter &lt;STRONG&gt;dfs.ha.namenodes.xxxx&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Please let me know &lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Dec 2017 08:47:56 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2017-12-05T08:47:56Z</dc:date>
    <item>
      <title>how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216403#M178312</link>
      <description>&lt;P&gt;in our ambari cluster both name node are like standby&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42878-capture.png" style="width: 439px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16235iA837F02C285D07B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42878-capture.png" alt="42878-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;in order to force one of them to be active we do&lt;/P&gt;&lt;PRE&gt; hdfs haadmin -transitionToActive --forceactive master01 

Illegal argument: Unable to determine service address for namenode 'master01'&lt;/PRE&gt;&lt;P&gt;but we get - Unable to determine service address&lt;/P&gt;&lt;P&gt;what this is indicate ? and how to fix this issue ?  &lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 03:09:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216403#M178312</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-18T03:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216404#M178313</link>
      <description>&lt;P&gt;
	&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;
	The correct syntax should be &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;
	&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;PRE&gt;haadmin -failover -forceactive namenode1(active) namenode1(standby) &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;Note the &lt;STRONG&gt;active&lt;/STRONG&gt; and &lt;STRONG&gt;standby&lt;/STRONG&gt;  inputs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 19:16:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216404#M178313</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-12-04T19:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216405#M178314</link>
      <description>&lt;P&gt;we get that:&lt;/P&gt;&lt;P&gt;hdfs  haadmin -failover -forceactive master01 master03&lt;/P&gt;&lt;P&gt;
Illegal argument: Unable to determine service address for namenode 'master01'&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 19:28:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216405#M178314</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-04T19:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216406#M178315</link>
      <description>&lt;PRE&gt;# host master01 &lt;BR /&gt;master01.sys4.com has address 103.114.28.13 &lt;BR /&gt;# host master03&lt;BR /&gt;master03.sys4.com has address 103.114.28.12&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 19:31:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216406#M178315</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-04T19:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216407#M178316</link>
      <description>&lt;P&gt;why we get - Unable to determine service address for namenode   ? &lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 19:39:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216407#M178316</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-04T19:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216408#M178317</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From your screenshot, both namenodes are down hence the failure of the failover commands. Since you enabled NameNode HA using Ambari and the ZooKeeper service instances and &lt;STRONG&gt;ZooKeeper FailoverControllers&lt;/STRONG&gt; to be up and running.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Just restart the name nodes but its bizarre that none is marked (&lt;STRONG&gt;Active&lt;/STRONG&gt; and &lt;STRONG&gt;Standby&lt;/STRONG&gt;). Depending on the cluster use DEV or Prod please take the appropriate steps to restart the namenode because your cluster is now unusable anyway.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Using A&lt;STRONG&gt;mbari&lt;/STRONG&gt; use the HDFS &lt;STRONG&gt;restart all&lt;/STRONG&gt; command under  &lt;STRONG&gt;Service &lt;/STRONG&gt;&lt;STRONG&gt;actions&lt;/STRONG&gt; , &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:02:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216408#M178317</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-12-04T20:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216409#M178318</link>
      <description>&lt;P&gt;@Geoffrey , I already restart the HDFS but without good results after restart the status is as the current status , so I just thinking what are the next steps to resolve this problem ? &lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:15:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216409#M178318</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-04T20:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216410#M178319</link>
      <description>&lt;P&gt;@Geoffrey , according to my bad status , what else we can do , ( yesterday we restart all machines in the cluster , and start the services from Zk and HDFS and so on ) , so I am really stuck here &lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:22:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216410#M178319</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-04T20:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216411#M178320</link>
      <description>&lt;P&gt;we see from the logs also this&lt;/P&gt;&lt;PRE&gt;017-12-04 12:37:33,544 FATAL namenode.FSEditLog (JournalSet.java:mapJournalsAndReportErrors(398)) - Error: recoverUnfinalizedSegments failed for required journal (JournalAndStream(mgr=QJM to [100.14.28.153:8485, 100.14.28.152:8485, 100.14.27.162:8485], stream=null))
java.io.IOException: Timed out waiting 120000ms for a quorum of nodes to respond.


&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 20:46:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216411#M178320</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-04T20:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216412#M178321</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If this is a production environment I would advise you to contact hortonworks support. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;How many  nodes in your cluster?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;How many Journalnodes you have in cluster ? Make sure you have odd number. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Could you also confirm whether at any point after enabling the HA the Active and Standby namenodes ever functioned? &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Your log messages indicates that there was a timeout condition when the NameNode attempted to call the JournalNodes. The NameNode must successfully call a quorum of JournalNodes: at least 2 out of 3. This means that the call timed out to at least 2 out of 3 of them. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;This is a fatal condition for the NameNode, so by design, it aborts. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;There are multiple potential reasons for this timeout condition. Reviewing logs from the NameNodes and JournalNodes would likely reveal more details.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If its a none critical cluster ,you can follow the  below steps&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Stop the Hdfs service&lt;/STRONG&gt; if its running. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Start only the journal nodes&lt;/STRONG&gt; (as they will need to be made aware of the formatting) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;On the first namenode (as user hdfs) &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;# su - hdfs &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Format the namenode &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;$ hadoop namenode -format &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Initialize the Edits (for the journal nodes) &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;$ hdfs namenode -initializeSharedEdits -force &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Format Zookeeper (to force zookeeper to reinitialise) &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;$ hdfs zkfc -formatZK -force &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Using Ambari restart that first namenode &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;On the second namenode Sync (force synch with first namenode) &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;$ hdfs namenode -bootstrapStandby -force &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;On every datanode clear the data directory &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Restart the HDFS service &lt;/STRONG&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Hope that helps&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Dec 2017 21:25:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216412#M178321</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-12-04T21:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216413#M178322</link>
      <description>&lt;P&gt;on the namenode -format we get - &lt;/P&gt;&lt;PRE&gt;17/12/04 14:23:34 ERROR namenode.NameNode: Failed to start namenode.
java.io.IOException: Timed out waiting for response from loggers&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Dec 2017 22:25:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216413#M178322</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-04T22:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216414#M178323</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you attach your namenode log How's your /etc/hosts entry?&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;103.114.28.13  master01.sys4.com 
103.114.28.12 master03.sys4.com &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt; or IP/hostname /Alias &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;103.114.28.13  master01.sys4.com   master01
103.114.28.12 master03.sys4.com    master03 &lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;What is the output of&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;$ zkCli.sh&lt;BR /&gt;[zk: localhost:2181(CONNECTED) 0] ls &lt;BR /&gt;/hadoop-ha&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;I&gt;If this cluster is not critical then you might have to  have to go through these &lt;A target="_blank" href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.2/bk_hadoop-high-availability/content/ha-nn-deploy-nn-cluster.html"&gt; steps &lt;/A&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:00:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216414#M178323</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-12-05T06:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216415#M178324</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42902-capture.png" style="width: 469px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16234i200B460FB4DAF95F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42902-capture.png" alt="42902-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I do it on the first machine - master01 ( this is standby machine ) &lt;/P&gt;&lt;P&gt;localhost:2181(CONNECTED) 2] ls /hadoop-ha&lt;/P&gt;&lt;P&gt;
[hdfsha]&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 03:08:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216415#M178324</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-18T03:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216416#M178325</link>
      <description>&lt;P&gt;my feeling is that no mater which namenode we start , every namenode became to standby and this is the big problem &lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:14:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216416#M178325</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-05T06:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216417#M178326</link>
      <description>&lt;P&gt;&lt;EM&gt;@&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;localhost:2181(CONNECTED) 2] ls /hadoop-ha
[hdfsha]&lt;/PRE&gt;&lt;P&gt;Next&lt;/P&gt;&lt;PRE&gt;localhost:2181(CONNECTED) 2] get /hadoop-ha/hdfsha/ActiveStandbyElectorLock&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;What output do you get ?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:22:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216417#M178326</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-12-05T06:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216418#M178327</link>
      <description>&lt;P&gt;regarding to the host file , we not use it , we have DNS server , and all hosts are resolved . we already check that , and all ip's point to the right hostnames &lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:23:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216418#M178327</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-05T06:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216419#M178328</link>
      <description>&lt;PRE&gt;[zk: localhost:2181(CONNECTED) 6] ls /hadoop-ha/hdfsha/ActiveStandbyElectorLock
Node does not exist: /hadoop-ha/hdfsha/ActiveStandbyElectorLock
[zk&lt;BR /&gt;: localhost:2181(CONNECTED) 7] get /hadoop-ha/hdfsha/ActiveStandbyElectorLock &lt;BR /&gt;Node does not exist: /hadoop-ha/hdfsha/ActiveStandbyElectorLock
[zk: &lt;BR /&gt;localhost:2181(CONNECTED) 8] ls /hadoop-ha/hdfsha &lt;BR /&gt;[]
[zk: localhost:2181(CONNECTED) 9]&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:25:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216419#M178328</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-05T06:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216420#M178329</link>
      <description>&lt;P&gt;&lt;EM&gt; @&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;Michael Bronson&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you delete the entry in zookeeper and restart &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[zk: localhost:2181(CONNECTED) 1] rmr /hadoop-ha&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Validate that there is no &lt;STRONG&gt;hadoop-ha &lt;/STRONG&gt;entry, &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;[zk: localhost:2181(CONNECTED) 2] ls /&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Then restart the all components HDFS service. This will create a new ZNode with correct lock(of Failover controller). &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Also see &lt;A target="_blank" href="https://community.hortonworks.com/questions/12942/how-to-clean-up-files-in-zookeeper-directory.html#"&gt;https://community.hortonworks.com/questions/12942/how-to-clean-up-files-in-zookeeper-directory.html#&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:34:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216420#M178329</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-12-05T06:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216421#M178330</link>
      <description>&lt;P&gt;we removed the &lt;EM&gt;/hadoop-ha from master01 machine , ans restart HDFS , I will update soon , from my expiriance its takes time around 20min &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2017 06:38:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216421#M178330</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-12-05T06:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to force name node to be active</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216422#M178331</link>
      <description>&lt;P&gt;this is the status after full HDFS restart as you see we get both standby -:(&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="42904-capture.png" style="width: 416px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16233i2C60292A4BF1474B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="42904-capture.png" alt="42904-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 03:08:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-force-name-node-to-be-active/m-p/216422#M178331</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-18T03:08:50Z</dc:date>
    </item>
  </channel>
</rss>

