<?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: Ambari blueprints and Namenode metadata in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112696#M16419</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/392/rbalam.html" nodeid="392"&gt;@rbalam&lt;/A&gt; has this been resolved? Can you provide a solution or accept the best answer?&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2016 10:19:19 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-02-04T10:19:19Z</dc:date>
    <item>
      <title>Ambari blueprints and Namenode metadata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112692#M16415</link>
      <description>&lt;P&gt;A few questions on ambari blueprint and Rest API&lt;/P&gt;&lt;P&gt;Can someone please answer these questions?&lt;/P&gt;&lt;P&gt;1) After installing an HA cluster via blueprint, do we need to initialize the metadata on secondary namenode manually?&lt;/P&gt;&lt;P&gt;2) The same question in case we reboot the secondary namenode.&lt;/P&gt;&lt;P&gt;3) Can we monitor the status of Ambari agents through REST API?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 00:20:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112692#M16415</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2016-01-27T00:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari blueprints and Namenode metadata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112693#M16416</link>
      <description>&lt;P&gt;If you install HDFS HA via blueprint, you dont have to initialize anything manually afterwards, its all done during the blueprint rollout.&lt;/P&gt;&lt;P&gt;You can monitor the status of Ambari Agents or hosts via &lt;/P&gt;&lt;PRE&gt;&lt;A href="http://&amp;lt;ambari" target="_blank"&gt;http://&amp;lt;ambari&lt;/A&gt; server&amp;gt;:8080/api/v1/hosts/&amp;lt;hostname&amp;gt;&lt;/PRE&gt;&lt;P&gt;This will return a lot of information about the host, e.g. disk info, running services (inkl. process id), last heartbeat of ambari agent, health status, etc.&lt;/P&gt;&lt;PRE&gt;{
  "href" : "http://example.com:8080/api/v1/hosts/horton01.example.com",
  "Hosts" : {
    "cluster_name" : "bigdata",
    "cpu_count" : 2,
    "desired_configs" : null,
    "disk_info" : [
      {
        "available" : "5922140",
        "device" : "/dev/vda1",
        "used" : "13670764",
        "percent" : "70%",
        "size" : "20641404",
        "type" : "ext3",
        "mountpoint" : "/"
      ...
    ],
    "host_health_report" : "",
    "host_name" : "horton01.cloud.hortonworks.com",
    "host_state" : "HEALTHY",
    "host_status" : "HEALTHY",
    "ip" : "172.24.68.17",
....
....

	"agentTimeStampAtReporting" : 1453826633797,
        "serverTimeStampAtReporting" : 1453826633829,
        "liveServices" : [
          ...
        ]
      },
      "umask" : 18,
      ....
    },
    "last_heartbeat_time" : 1453826643874,
    "last_registration_time" : 1452849291890,
    "os_arch" : "x86_64",
    "os_family" : "redhat6",
    "os_type" : "centos6",
    "ph_cpu_count" : 2,
    "public_host_name" : "horton01.example.com",
    "rack_info" : "/14",
    "recovery_report" : {
      "summary" : "DISABLED",
      "component_reports" : [ ]
    },
    "recovery_summary" : "DISABLED",
    "total_mem" : 7543576
  },
  "alerts_summary" : {
    "CRITICAL" : 0,
    "MAINTENANCE" : 0,
    "OK" : 18,
    "UNKNOWN" : 0,
    "WARNING" : 1
  }&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Jan 2016 00:48:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112693#M16416</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-01-27T00:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari blueprints and Namenode metadata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112694#M16417</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt; Thanks for your quick reply but could you also answer the question # 2&lt;/P&gt;&lt;P&gt;The same question in case we reboot the secondary namenode?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 01:00:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112694#M16417</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2016-01-27T01:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari blueprints and Namenode metadata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112695#M16418</link>
      <description>&lt;P&gt;Just to avoid confusion, there is no Secondary Namenode, there will only be a Namenode-1 and Namenode-2, one of these two namenodes is always the active one, the other one will be a standby NN.&lt;/P&gt;&lt;P&gt;During the Blueprint rollout Ambari will execute several steps (&lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_hadoop-ha/content/ha-nn-deploy-nn-cluster.html%29"&gt;see here&lt;/A&gt;) to initialize the Journalnodes, format ZK Znode and distribute all the metadata (fsimage,etc.). These steps are &lt;EM&gt;only executed once&lt;/EM&gt;. If you restart an active Namenode, it will transition to a standby state first and make the other NN the active one, once thats done it restarts, so the metadata is not reinitialized again.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 01:56:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112695#M16418</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2016-01-27T01:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari blueprints and Namenode metadata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112696#M16419</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/392/rbalam.html" nodeid="392"&gt;@rbalam&lt;/A&gt; has this been resolved? Can you provide a solution or accept the best answer?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 10:19:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112696#M16419</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-04T10:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari blueprints and Namenode metadata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112697#M16420</link>
      <description>&lt;P&gt;"see here" link is unavailable now. Could you please have an updated link? &lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am installing HDP3.0 HA using ambari 2.7 blueprint. The namenodes failed to start due to error "NameNode is not formatted." This did not happen to HDP 2.6 using almost the same blueprint. Look like ambari rollout failed to distribute the metadata. Is there way to get the root cause? The log did not help much. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 06:16:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112697#M16420</guid>
      <dc:creator>jiangok2006</dc:creator>
      <dc:date>2018-08-01T06:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari blueprints and Namenode metadata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112698#M16421</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;A href="@Lian Jiang"&gt;@Lian Jiang&lt;/A&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Can you share your blueprint after stripping iit of site specific info?&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 06:47:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112698#M16421</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-08-01T06:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari blueprints and Namenode metadata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112699#M16422</link>
      <description>&lt;P&gt;Geoffrey,&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/jiangok2006/fb20e459883d4abede1ffb4389c76074" target="_blank"&gt;blueprint for HDP3.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Aug 2018 22:51:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112699#M16422</guid>
      <dc:creator>jiangok2006</dc:creator>
      <dc:date>2018-08-01T22:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari blueprints and Namenode metadata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112700#M16423</link>
      <description>&lt;P&gt;By understanding ambari source code, the problem is solved. I need to specify below in blueprint:
&lt;/P&gt;&lt;PRE&gt;	 "cluster-env": {
	  "properties": {
	  "dfs_ha_initial_namenode_active": "%HOSTGROUP::master_host_group%",
	  "dfs_ha_initial_namenode_standby": "%HOSTGROUP::master2_host_group%"
	  }
	 }
	 &lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Aug 2018 03:42:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-blueprints-and-Namenode-metadata/m-p/112700#M16423</guid>
      <dc:creator>jiangok2006</dc:creator>
      <dc:date>2018-08-09T03:42:48Z</dc:date>
    </item>
  </channel>
</rss>

