<?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 Cannot create a HA cluster (active and standby name node) using Ambari blueprint.   -  Ambari 2.2.1.1 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132058#M94742</link>
    <description>&lt;P&gt;Wanted to set up HA (active name node and standby name node)cluster. We did not want to have a secondary name node to be present. Just two name nodes and one of them will be active and the other as standby. Used  the Ambari blueprint exactly as outlined in the link:  &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Getting an error:&lt;/P&gt;&lt;P&gt;{\n  "status" : 400,\n  "message" :
"Cluster Topology validation failed.  Invalid service component
count: [&lt;STRONG&gt;SECONDARY_NAMENODE(actual=0, required=1)&lt;/STRONG&gt;].  To disable topology
validation and create the blueprint, add the following to the end of the url:
\'?validate_topology=false\'"\n}&lt;/P&gt;&lt;P&gt;Tried to disable topology validation with validate_topology=false,
Blueprint registered but while creating cluster creation failed with the error given below&lt;/P&gt;&lt;P&gt;java.util.concurrent.ExecutionException: java.lang.Exception:
java.lang.IllegalArgumentException: Unable to update configuration property
'dfs.namenode.https-address' with topology information. Component 'NAMENODE' is
mapped to an invalid number of hosts '2'.&lt;/P&gt;&lt;P&gt;Any pointers to sort this out will be very helpful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mohan&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2016 15:33:28 GMT</pubDate>
    <dc:creator>mohanamurali_gu</dc:creator>
    <dc:date>2016-06-10T15:33:28Z</dc:date>
    <item>
      <title>Cannot create a HA cluster (active and standby name node) using Ambari blueprint.   -  Ambari 2.2.1.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132058#M94742</link>
      <description>&lt;P&gt;Wanted to set up HA (active name node and standby name node)cluster. We did not want to have a secondary name node to be present. Just two name nodes and one of them will be active and the other as standby. Used  the Ambari blueprint exactly as outlined in the link:  &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Blueprint+Support+for+HA+Clusters&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Getting an error:&lt;/P&gt;&lt;P&gt;{\n  "status" : 400,\n  "message" :
"Cluster Topology validation failed.  Invalid service component
count: [&lt;STRONG&gt;SECONDARY_NAMENODE(actual=0, required=1)&lt;/STRONG&gt;].  To disable topology
validation and create the blueprint, add the following to the end of the url:
\'?validate_topology=false\'"\n}&lt;/P&gt;&lt;P&gt;Tried to disable topology validation with validate_topology=false,
Blueprint registered but while creating cluster creation failed with the error given below&lt;/P&gt;&lt;P&gt;java.util.concurrent.ExecutionException: java.lang.Exception:
java.lang.IllegalArgumentException: Unable to update configuration property
'dfs.namenode.https-address' with topology information. Component 'NAMENODE' is
mapped to an invalid number of hosts '2'.&lt;/P&gt;&lt;P&gt;Any pointers to sort this out will be very helpful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mohan&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 15:33:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132058#M94742</guid>
      <dc:creator>mohanamurali_gu</dc:creator>
      <dc:date>2016-06-10T15:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create a HA cluster (active and standby name node) using Ambari blueprint.   -  Ambari 2.2.1.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132059#M94743</link>
      <description>&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;Have you started from the example blueprint from &lt;A href="https://cwiki.apache.org/confluence/download/attachments/55151584/hdfs_ha_blueprint.json?version=4&amp;amp;modificationDate=1434548806000&amp;amp;api=v2" target="_blank"&gt;https://cwiki.apache.org/confluence/download/attachments/55151584/hdfs_ha_blueprint.json?version=4&amp;amp;modificationDate=1434548806000&amp;amp;api=v2&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;You'll need to have a ZKFC component where you have the NAMENODE component:&lt;/P&gt;&lt;PRE&gt;        { "name": "NAMENODE" },
        { "name": "ZKFC" },&lt;/PRE&gt;&lt;P&gt;And 3 of JOURNALNODE:&lt;/P&gt;&lt;PRE&gt;        { "name": "JOURNALNODE" },
&lt;/PRE&gt;&lt;P&gt;If that's the case, can you attach your blueprint and cluster creation template please?&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 16:32:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132059#M94743</guid>
      <dc:creator>aanghel</dc:creator>
      <dc:date>2016-06-10T16:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create a HA cluster (active and standby name node) using Ambari blueprint.   -  Ambari 2.2.1.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132060#M94744</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/4917-hdfs-ha-blueprint.txt"&gt;hdfs-ha-blueprint.txt&lt;/A&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/4918-clustertemplate.txt"&gt;clustertemplate.txt&lt;/A&gt;@Alexandru Anghel: Thanks for a quick revert. Saw the link that you posted. It is something similar to the ones that we had tried. Yes, the ZKFC component is installed in the same host where the NAMENODE component is installed. Attaching two files: blueprint and the template&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 17:20:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132060#M94744</guid>
      <dc:creator>mohanamurali_gu</dc:creator>
      <dc:date>2016-06-10T17:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create a HA cluster (active and standby name node) using Ambari blueprint.   -  Ambari 2.2.1.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132061#M94745</link>
      <description>&lt;P&gt;Hi Mohan,&lt;/P&gt;&lt;P&gt;Looks like you're missing the following from hdfs-site properties:&lt;/P&gt;&lt;PRE&gt;"dfs.nameservices" : "mycluster"&lt;/PRE&gt;&lt;P&gt;Which is quite important as it defines the HA HDFS logical name.&lt;/P&gt;&lt;P&gt;Hope it works once you add it.&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 17:30:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132061#M94745</guid>
      <dc:creator>aanghel</dc:creator>
      <dc:date>2016-06-10T17:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create a HA cluster (active and standby name node) using Ambari blueprint.   -  Ambari 2.2.1.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132062#M94746</link>
      <description>&lt;P&gt;Hello Alexandru, Great. Think that it should be the reason - 100% :-). Will verify the same and get back to mark this as an answer. Your quick pointer to the issue has been really really helpful. Thank you so much.&lt;/P&gt;&lt;P&gt;brgds, Mohan&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 17:38:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132062#M94746</guid>
      <dc:creator>mohanamurali_gu</dc:creator>
      <dc:date>2016-06-10T17:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create a HA cluster (active and standby name node) using Ambari blueprint.   -  Ambari 2.2.1.1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132063#M94747</link>
      <description>&lt;P&gt;Hello Alexandru, It worked. Thank you.Now, I am checking for similar properties for Resource Manager, Hive, Oozie to make them highly available from the blueprint itself rather than creating the cluster using Ambari and then manually making it HA for those services. Thanks, Mohan&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 18:57:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cannot-create-a-HA-cluster-active-and-standby-name-node/m-p/132063#M94747</guid>
      <dc:creator>mohanamurali_gu</dc:creator>
      <dc:date>2016-06-10T18:57:55Z</dc:date>
    </item>
  </channel>
</rss>

