<?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 do I find the serviceId of a name node to use &amp;quot;hdfs haadmin getServiceState &amp;lt;service in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-find-the-serviceId-of-a-name-node-to-use-quot-hdfs/m-p/25285#M5149</link>
    <description>&lt;P&gt;Found it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;serviceid&amp;gt; is one of the values defined for property&lt;/P&gt;&lt;P&gt;dfs.ha.namenodes.mycluster in hdfs-site.xml&lt;/P&gt;</description>
    <pubDate>Wed, 04 Mar 2015 20:09:33 GMT</pubDate>
    <dc:creator>dsraman</dc:creator>
    <dc:date>2015-03-04T20:09:33Z</dc:date>
    <item>
      <title>How do I find the serviceId of a name node to use "hdfs haadmin getServiceState &lt;serviceId&gt;" ?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-find-the-serviceId-of-a-name-node-to-use-quot-hdfs/m-p/25139#M5148</link>
      <description>&lt;P&gt;I am writing a script that uses the following command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hdfs haadmin getServiceState &amp;lt;serviceId&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the serviceId?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:22:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-find-the-serviceId-of-a-name-node-to-use-quot-hdfs/m-p/25139#M5148</guid>
      <dc:creator>dsraman</dc:creator>
      <dc:date>2022-09-16T09:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find the serviceId of a name node to use "hdfs haadmin getServiceState &lt;service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-find-the-serviceId-of-a-name-node-to-use-quot-hdfs/m-p/25285#M5149</link>
      <description>&lt;P&gt;Found it!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;serviceid&amp;gt; is one of the values defined for property&lt;/P&gt;&lt;P&gt;dfs.ha.namenodes.mycluster in hdfs-site.xml&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2015 20:09:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-find-the-serviceId-of-a-name-node-to-use-quot-hdfs/m-p/25285#M5149</guid>
      <dc:creator>dsraman</dc:creator>
      <dc:date>2015-03-04T20:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find the serviceId of a name node to use "hdfs haadmin getServiceState &lt;service</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-find-the-serviceId-of-a-name-node-to-use-quot-hdfs/m-p/38728#M5150</link>
      <description>&lt;P&gt;Yes, you are correct&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@host1 20376-hdfs-NAMENODE]# hdfs haadmin -getServiceState namenode1&lt;BR /&gt;standby&lt;BR /&gt;[root@host1&amp;nbsp;20376-hdfs-NAMENODE]# hdfs haadmin -getServiceState namenode2&lt;BR /&gt;active&lt;BR /&gt;[root@host2&amp;nbsp;20376-hdfs-NAMENODE]#&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:50:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-find-the-serviceId-of-a-name-node-to-use-quot-hdfs/m-p/38728#M5150</guid>
      <dc:creator>zc11</dc:creator>
      <dc:date>2016-03-16T11:50:49Z</dc:date>
    </item>
  </channel>
</rss>

