<?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: Process for moving HDP Services manually in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97259#M60486</link>
    <description>&lt;P&gt;Answer from Ambari team for MapReduce History Server&lt;/P&gt;&lt;H3&gt;Delete Mapreduce History Server if server died&lt;/H3&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Service"},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}' &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2&lt;/A&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Component"},"Body":{"HostRoles":{"state":"INSTALLED"}}}' &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/hosts/&amp;lt;old-host-name&amp;gt;/host_components/HISTORYSERVER" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/hosts/&amp;lt;old-host-name&amp;gt;/host_components/HISTORYSERVER&lt;/A&gt;&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2/components/HISTORYSERVER" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2/components/HISTORYSERVER&lt;/A&gt;&lt;/P&gt;&lt;H3&gt;Add Mapreduce History Server to New Server&lt;/H3&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -i -X POST &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2/components/HISTORYSERVER" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2/components/HISTORYSERVER&lt;/A&gt;&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -i -X POST -d '{"host_components" : [{"HostRoles":{"component_name":"HISTORYSERVER"}}] }' &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/hosts?Hosts/host_name=&amp;lt;new-host-name&amp;gt;" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/hosts?Hosts/host_name=&amp;lt;new-host-name&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -i -X PUT -d '{"ServiceInfo": {"state" : "INSTALLED"}}' &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Go to Ambari Web &amp;gt; Services &amp;gt; MapReduce2 &amp;gt; Configs &amp;gt; Advanced, and modify mapreduce.jobhistory.address and mapreduce.jobhistory.webapp.address to point to the new History Server host.&lt;/P&gt;&lt;P&gt;Restart MapReduce2 Service after saving the configuration.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2015 12:57:47 GMT</pubDate>
    <dc:creator>vnair</dc:creator>
    <dc:date>2015-11-24T12:57:47Z</dc:date>
    <item>
      <title>Process for moving HDP Services manually</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97255#M60482</link>
      <description>&lt;P&gt;We are looking for a documented process for moving services that are currently not supported by Ambari.   The Services I am currently looking for information for:&lt;/P&gt;&lt;P&gt;1. HDFS Jornal Node&lt;/P&gt;&lt;P&gt;2. Map Reduce Job History Server&lt;/P&gt;&lt;P&gt;3. Spark History Server&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 05:59:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97255#M60482</guid>
      <dc:creator>vnair</dc:creator>
      <dc:date>2015-11-19T05:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Process for moving HDP Services manually</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97256#M60483</link>
      <description>&lt;P&gt;If there is no existing documentation covering the JournalNode, then here is my recommendation.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Bootstrap the new server by copying the contents of dfs.journalnode.edits.dir from an existing JournalNode.&lt;/LI&gt;&lt;LI&gt;Start JournalNode on the new server.&lt;/LI&gt;&lt;LI&gt;Reconfigure the NameNodes to include the new server in dfs.namenode.shared.edits.dir.&lt;/LI&gt;&lt;LI&gt;Restart standby NN and verify it remains healthy.&lt;/LI&gt;&lt;LI&gt;Restart active NN and verify it remains healthy.&lt;/LI&gt;&lt;LI&gt;Reconfigure the NameNodes to remove the old server from dfs.namenode.shared.edits.dir.&lt;/LI&gt;&lt;LI&gt;Restart standby NN and verify it remains healthy.&lt;/LI&gt;&lt;LI&gt;Restart active NN and verify it remains healthy.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Some might note that during the copy in step 1, it's possible that additional transactions are being logged concurrently, so the copy might be out-of-date immediately.  This is not a problem though.  The JournalNode is capable of "catching up" by synchronizing data from other running JournalNodes.  In fact, step 1 is really just an optimization of this "catching up".&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 06:07:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97256#M60483</guid>
      <dc:creator>cnauroth</dc:creator>
      <dc:date>2015-11-19T06:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Process for moving HDP Services manually</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97257#M60484</link>
      <description>&lt;P&gt;For Spark, there is no explicit move Spark history server feature in Ambari.&lt;/P&gt;&lt;P&gt;Just use the Ambari REST API to delete Spark component and re-install Spark History server onto a new node. &lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 06:53:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97257#M60484</guid>
      <dc:creator>vshukla</dc:creator>
      <dc:date>2015-11-19T06:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Process for moving HDP Services manually</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97258#M60485</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/332/vshukla.html" nodeid="332"&gt;@vshukla&lt;/A&gt; can you provide details on REST API  to be used ?  &lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 12:57:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97258#M60485</guid>
      <dc:creator>vnair</dc:creator>
      <dc:date>2015-11-24T12:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Process for moving HDP Services manually</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97259#M60486</link>
      <description>&lt;P&gt;Answer from Ambari team for MapReduce History Server&lt;/P&gt;&lt;H3&gt;Delete Mapreduce History Server if server died&lt;/H3&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Service"},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}' &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2&lt;/A&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Component"},"Body":{"HostRoles":{"state":"INSTALLED"}}}' &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/hosts/&amp;lt;old-host-name&amp;gt;/host_components/HISTORYSERVER" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/hosts/&amp;lt;old-host-name&amp;gt;/host_components/HISTORYSERVER&lt;/A&gt;&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2/components/HISTORYSERVER" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2/components/HISTORYSERVER&lt;/A&gt;&lt;/P&gt;&lt;H3&gt;Add Mapreduce History Server to New Server&lt;/H3&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -i -X POST &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2/components/HISTORYSERVER" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2/components/HISTORYSERVER&lt;/A&gt;&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -i -X POST -d '{"host_components" : [{"HostRoles":{"component_name":"HISTORYSERVER"}}] }' &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/hosts?Hosts/host_name=&amp;lt;new-host-name&amp;gt;" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/hosts?Hosts/host_name=&amp;lt;new-host-name&amp;gt;&lt;/A&gt;;&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By: ambari" -i -X PUT -d '{"ServiceInfo": {"state" : "INSTALLED"}}' &lt;A href="http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2" target="_blank"&gt;http://&amp;lt;ambari-server-name&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/MAPREDUCE2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Go to Ambari Web &amp;gt; Services &amp;gt; MapReduce2 &amp;gt; Configs &amp;gt; Advanced, and modify mapreduce.jobhistory.address and mapreduce.jobhistory.webapp.address to point to the new History Server host.&lt;/P&gt;&lt;P&gt;Restart MapReduce2 Service after saving the configuration.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 12:57:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97259#M60486</guid>
      <dc:creator>vnair</dc:creator>
      <dc:date>2015-11-24T12:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Process for moving HDP Services manually</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97260#M60487</link>
      <description>&lt;P&gt;See also &lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://community.hortonworks.com/articles/14612/process-for-moving-journal-nodes-from-one-host-to.html"&gt;https://community.hortonworks.com/articles/14612/process-for-moving-journal-nodes-from-one-host-to.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 09:33:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97260#M60487</guid>
      <dc:creator>amcbarnett</dc:creator>
      <dc:date>2016-02-05T09:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Process for moving HDP Services manually</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97261#M60488</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/276/vnair.html" nodeid="276"&gt;@Vinod&lt;/A&gt; : Here are the API details:&lt;/P&gt;&lt;P&gt;Delete SPARK Job Server: &lt;/P&gt;&lt;PRE&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Service"},"Body":{"ServiceInfo":{"state":"INSTALLED"}}}' &lt;A href="http://&amp;lt;localhost"&gt;http://:8080/api/v1/clusters/clustername/services/SPARK&lt;/A&gt;&amp;gt;:8080/api/v1/clusters/clustername/services/SPARK
curl -u admin:admin -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"Stop Component"},"Body":{"HostRoles":{"state":"INSTALLED"}}}' &lt;A href="http://&amp;lt;localhost"&gt;http://:8080/api/v1/clusters/clustername/services/SPARK&lt;/A&gt;&amp;gt;:8080/api/v1/clusters/clustername/hosts/&amp;lt;old-host&amp;gt;/host_components/SPARK_JOBHISTORYSERVER
curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE h&lt;A href="http://&amp;lt;localhost"&gt;ttp://:8080/api/v1/clusters/clustername/services/SPARK&lt;/A&gt;&amp;gt;:8080/api/v1/clusters/clustername/services/SPARK/components/SPARK_JOBHISTORYSERVER&lt;/PRE&gt;&lt;P&gt;
Add SPARK Job Server to New Server &lt;/P&gt;&lt;PRE&gt;curl -u admin:admin -H "X-Requested-By: ambari" -i -X POST &lt;A href="http://&amp;lt;localhost"&gt;http://:8080/api/v1/clusters/clustername/services/SPARK&lt;/A&gt;&amp;gt;:8080/api/v1/clusters/clustername/services/SPARK/components/SPARK_JOBHISTORYSERVER
curl -u admin:admin -H "X-Requested-By: ambari" -i -X POST -d '{"host_components" : [{"HostRoles":{"component_name":"SPARK_JOBHISTORYSERVER"}}] }' &lt;A href="http://&amp;lt;localhost"&gt;http://:8080/api/v1/clusters/clustername/services/SPARK&lt;/A&gt;&amp;gt;:8080/api/v1/clusters/clustername/hosts?Hosts/host_name=&amp;lt;new-host&amp;gt;
curl -u admin:admin -H "X-Requested-By: ambari" -i -X PUT -d '{"ServiceInfo": {"state" : "INSTALLED"}}' &lt;A href="http://&amp;lt;localhost"&gt;http://:8080/api/v1/clusters/clustername/services/SPARK&lt;/A&gt;&amp;gt;:8080/api/v1/clusters/clustername/services/SPARK&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Sep 2016 08:58:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Process-for-moving-HDP-Services-manually/m-p/97261#M60488</guid>
      <dc:creator>shashant_panwar</dc:creator>
      <dc:date>2016-09-29T08:58:12Z</dc:date>
    </item>
  </channel>
</rss>

