<?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: Format ZKFC(hdfs zkfc –formatZK ) in Kerberos environment in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-Run-hdfs-zkfc-formatZK-in-a-Kerberos-Enabled-Hadoop/m-p/224762#M255374</link>
    <description>&lt;P&gt;Reason for format ZKFC is, Adding service rpc port property in NN: Please look for service rpc port in below link. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/43838/scaling-the-hdfs-namenode-part-1.html"&gt;https://community.hortonworks.com/articles/43838/scaling-the-hdfs-namenode-part-1.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Oct 2017 03:10:45 GMT</pubDate>
    <dc:creator>dhirajk</dc:creator>
    <dc:date>2017-10-20T03:10:45Z</dc:date>
    <item>
      <title>How to Run hdfs zkfc -formatZK in a Kerberos-Enabled Hadoop Cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Run-hdfs-zkfc-formatZK-in-a-Kerberos-Enabled-Hadoop/m-p/224760#M255372</link>
      <description>&lt;P&gt;To reset ZKFC we have to stop both the ZKFC processes and run the following command as the hdfs super user : hdfs zkfc –formatZK&lt;/P&gt;
&lt;P&gt;Is this same for Kerberos enabled environment?&lt;/P&gt;
&lt;P&gt;Do we need to stop all HDFS Services and failover control?&lt;/P&gt;
&lt;P&gt;Where do we need to run this command in NN or anywhere?&lt;/P&gt;
&lt;P&gt;HDP Version - 2.4.3&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2026 16:14:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Run-hdfs-zkfc-formatZK-in-a-Kerberos-Enabled-Hadoop/m-p/224760#M255372</guid>
      <dc:creator>dhirajk</dc:creator>
      <dc:date>2026-06-30T16:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Format ZKFC(hdfs zkfc –formatZK ) in Kerberos environment</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Run-hdfs-zkfc-formatZK-in-a-Kerberos-Enabled-Hadoop/m-p/224761#M255373</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17363/dhirajbda.html" nodeid="17363"&gt;@Dhiraj&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Yes, it will be the same for even Kerberos environment and you need to have valid hdfs keytab before running the command.&lt;/P&gt;&lt;P&gt;Execute the following command on NN1:&lt;/P&gt;&lt;PRE&gt;hdfs zkfc -formatZK &lt;/PRE&gt;&lt;P&gt;This command creates a znode in ZooKeeper. The automatic failover system stores uses this znode for data storage.&lt;/P&gt;&lt;P&gt;Try this in lower environments before trying in prod. &lt;/P&gt;&lt;P&gt;Whats the reason to format znode?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 01:37:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Run-hdfs-zkfc-formatZK-in-a-Kerberos-Enabled-Hadoop/m-p/224761#M255373</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2017-10-20T01:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Format ZKFC(hdfs zkfc –formatZK ) in Kerberos environment</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Run-hdfs-zkfc-formatZK-in-a-Kerberos-Enabled-Hadoop/m-p/224762#M255374</link>
      <description>&lt;P&gt;Reason for format ZKFC is, Adding service rpc port property in NN: Please look for service rpc port in below link. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/43838/scaling-the-hdfs-namenode-part-1.html"&gt;https://community.hortonworks.com/articles/43838/scaling-the-hdfs-namenode-part-1.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 03:10:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Run-hdfs-zkfc-formatZK-in-a-Kerberos-Enabled-Hadoop/m-p/224762#M255374</guid>
      <dc:creator>dhirajk</dc:creator>
      <dc:date>2017-10-20T03:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Format ZKFC(hdfs zkfc –formatZK ) in Kerberos environment</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-Run-hdfs-zkfc-formatZK-in-a-Kerberos-Enabled-Hadoop/m-p/224763#M255375</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/17363/dhirajbda.html" nodeid="17363"&gt;@Dhiraj&lt;/A&gt;&lt;P&gt;I hope your just changing the ports here. Already rpc calls should be enabled on the cluster. If thats the case "&lt;EM&gt;Changing the service RPC port settings requires a restart of the NameNodes, DataNodes and ZooKeeper Failover Controllers to take full effect. If you have NameNode HA setup, you can restart the NameNodes one at a time followed by a rolling restart of the remaining components to avoid cluster downtime."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;Hope this helps you. &lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2017 08:21:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-Run-hdfs-zkfc-formatZK-in-a-Kerberos-Enabled-Hadoop/m-p/224763#M255375</guid>
      <dc:creator>bandarusridhar1</dc:creator>
      <dc:date>2017-10-20T08:21:04Z</dc:date>
    </item>
  </channel>
</rss>

