<?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 I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105186#M21487</link>
    <description>&lt;P&gt;I decommissioned 4 data nodes and node managers out of 8 data nodes and node.managers. I checked dfs.exclude fie, it contains the decommissioned nodes host names. I restarted the Namenode. Still dashboard is showing 8 data nodes live and 4 nodemanagers live. Why it is not effecting data nodes part?&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2016 03:18:41 GMT</pubDate>
    <dc:creator>prasad4u_com</dc:creator>
    <dc:date>2016-03-02T03:18:41Z</dc:date>
    <item>
      <title>I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105186#M21487</link>
      <description>&lt;P&gt;I decommissioned 4 data nodes and node managers out of 8 data nodes and node.managers. I checked dfs.exclude fie, it contains the decommissioned nodes host names. I restarted the Namenode. Still dashboard is showing 8 data nodes live and 4 nodemanagers live. Why it is not effecting data nodes part?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:18:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105186#M21487</guid>
      <dc:creator>prasad4u_com</dc:creator>
      <dc:date>2016-03-02T03:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105187#M21488</link>
      <description>&lt;P&gt;I believe decommissioned DataNodes are not stopped automatically and they need to be stopped explicitly through API calls. OOTH, decommissioned NodeManagers go down automatically.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:22:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105187#M21488</guid>
      <dc:creator>smohanty</dc:creator>
      <dc:date>2016-03-02T03:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105188#M21489</link>
      <description>&lt;P&gt;How can we stop it then? If you have any example or link, can you please post here?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:24:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105188#M21489</guid>
      <dc:creator>prasad4u_com</dc:creator>
      <dc:date>2016-03-02T03:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105189#M21490</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966"&gt;@Ram D&lt;/A&gt; &lt;A href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517"&gt;https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:26:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105189#M21490</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-02T03:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105190#M21491</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; Once those are excluded and decommissioned, will not be in STARTED state. How can we stop from your given link. Can you please tell me the procedure to follow while decommissioning?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:49:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105190#M21491</guid>
      <dc:creator>prasad4u_com</dc:creator>
      <dc:date>2016-03-02T03:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105191#M21492</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966"&gt;@Ram D&lt;/A&gt; I believe you stop the service first and then decommission. That's the way it's done in Ambari. Please refer to this &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_deleting_a_host_from_a_cluster.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.1/bk_Ambari_Users_Guide/content/_deleting_a_host_from_a_cluster.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 03:52:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105191#M21492</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-02T03:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105192#M21493</link>
      <description>&lt;P&gt;I tried to stop the DATANODE and NODEMANAGER service first and then tried to decommission the nodes. I am unable to decommission the nodes even it is not showing decommission the nodes got some internal exception. Then i decommissioned NODEMANAGER and DATANODE respectively using curl commands, then changed DATANODE service to INSTALLED state. Restarted Namenodes to get update of DATANODES live status. It was updated successfully. Before namenode start, i am able to see the corrupted blocks and under replicated blocks. After restart of namenodes, they went to zero. In ambari dash board, i am able to see four nodes live now.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 02:49:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105192#M21493</guid>
      <dc:creator>prasad4u_com</dc:creator>
      <dc:date>2016-03-03T02:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105193#M21494</link>
      <description>&lt;P&gt;it would be nice if you documented the whole procedure and provided it as a solution. &lt;A rel="user" href="https://community.cloudera.com/users/1966/prasad4ucom.html" nodeid="1966"&gt;@Ram D&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 02:54:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105193#M21494</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-03T02:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105194#M21495</link>
      <description>&lt;P&gt;Step 1 : Decommission Nodemanagers
from  the cluster&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Command&lt;/STRONG&gt; :&lt;/P&gt;&lt;PRE&gt;curl -u admin:password -i -H 'X-Requested-By: ambari'-X POST -d '{ "RequestInfo":{ "context":"Decommission NodeManagers", "command":"DECOMMISSION", "parameters":{ "slave_type":"NODEMANAGER", "excluded_hosts":"serf010ext.etops.tllsc.net,serf020ext.etops.tllsc.net,villein010ext.etops.tllsc.net,villein020ext.etops.tllsc.net" }, "operation_level":{ "level":"HOST_COMPONENT", "cluster_name":"Name of the cluster" } }, "Requests/resource_filters":[ { "service_name":"YARN", "component_name":"RESOURCEMANAGER" } ]}' &lt;A href="http://ambari_hostname:8080/api/v1/clusters/cluster" target="_blank"&gt;http://ambari_hostname:8080/api/v1/clusters/cluster&lt;/A&gt; name/requests&lt;/PRE&gt;&lt;P&gt;Step 2 : Decommission DataNodes from
cluster&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Command
&lt;/STRONG&gt;: &lt;/P&gt;&lt;PRE&gt;curl -u admin:password -i -H 'X-Requested-By: ambari'-X POST -d '{ "RequestInfo":{ "context":"Decommission DataNodes", "command":"DECOMMISSION", "parameters":{ "slave_type":"DATANODE", "excluded_hosts":"serf010ext.etops.tllsc.net,
serf020ext.etops.tllsc.net, villein010ext.etops.tllsc.net,
villein020ext.etops.tllsc.net" }, "operation_level":{ "level":"HOST_COMPONENT", "cluster_name":"Name of the cluster" } }, "Requests/resource_filters":[ { "service_name":"HDFS", "component_name":"NAMENODE" } ]}' &lt;A href="http://ambari_hostname:8080/api/v1/clusters/cluster_name/requests" target="_blank"&gt;http://ambari_hostname:8080/api/v1/clusters/cluster_name/requests&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Step 3 : Stop the Datanode service on
each node of decommissioned nodes&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Command:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -u admin:password -i -H
'X-Requested-By: ambari' -X PUT -d '{"HostRoles": {"state":
"INSTALLED"}}' &lt;A href="http://ambari_hostname:8080/api/v1/clusters/cluster_name/hosts/serf010ext.etops.tllsc.net/host_components/DATANODE" target="_blank"&gt;http://ambari_hostname:8080/api/v1/clusters/cluster_name/hosts/serf010ext.etops.tllsc.net/host_components/DATANODE&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Command:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -u admin:password -i -H
'X-Requested-By: ambari' -X PUT -d '{"HostRoles": {"state":
"INSTALLED"}}' &lt;A href="http://ambari_hostname:8080/api/v1/clusters/cluster_name/hosts/serf020ext.etops.tllsc.net/host_components/DATANODE" target="_blank"&gt;http://ambari_hostname:8080/api/v1/clusters/cluster_name/hosts/serf020ext.etops.tllsc.net/host_components/DATANODE&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Command:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -u admin:password -i -H
'X-Requested-By: ambari' -X PUT -d '{"HostRoles": {"state":
"INSTALLED"}}' &lt;A href="http://ambari_hostname:8080/api/v1/clusters/cluster_name/hosts/villein010ext.etops.tllsc.net/host_components/DATANODE" target="_blank"&gt;http://ambari_hostname:8080/api/v1/clusters/cluster_name/hosts/villein010ext.etops.tllsc.net/host_components/DATANODE&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Command:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -u admin:password -i -H
'X-Requested-By: ambari' -X PUT -d '{"HostRoles": {"state":
"INSTALLED"}}' &lt;A href="http://ambari_hostname:8080/api/v1/clusters/cluster_name/hosts/villein020ext.etops.tllsc.net/host_components/DATANODE" target="_blank"&gt;http://ambari_hostname:8080/api/v1/clusters/cluster_name/hosts/villein020ext.etops.tllsc.net/host_components/DATANODE&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Step 4 : Check under replicated and
corrupted blocks on Ambari dashboard. It will show some number.&lt;/P&gt;&lt;P&gt;Step 4 : Restart Standby Namenode&lt;/P&gt;&lt;P&gt;Step 5 : Restart Active Namenode&lt;/P&gt;&lt;P&gt;Step 6 : Check under replicated and
corrupted blocks on Ambari dashboard, they should be zero. By restarting
Namenodes, it will distribute the blocks on live Data nodes only.&lt;/P&gt;&lt;P&gt;Here serf010ext,serf020ext,villein010ext and villein020ext are the nodes, which are planning to decommission from the cluster.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 03:04:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105194#M21495</guid>
      <dc:creator>prasad4u_com</dc:creator>
      <dc:date>2016-03-03T03:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: I tried to decommission the NODEMANAGERS and DATANODES through REST API. I got succeeded with that. I am unable to see decommissioned nodes in ambari dashboard.It is showing all the data nodes are live. What is the reason?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105195#M21496</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am wondering if there is a reliable way to tell the completion of a NodeManager decommission?&lt;/P&gt;&lt;P&gt;For the DataNode decommission, I can do so by checking NameNode's log for completion. But it seems that there is no clear message from ResourceManager's log.&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 14:26:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/I-tried-to-decommission-the-NODEMANAGERS-and-DATANODES/m-p/105195#M21496</guid>
      <dc:creator>klin</dc:creator>
      <dc:date>2017-03-23T14:26:28Z</dc:date>
    </item>
  </channel>
</rss>

