Re: Decommission DataNode

2013-10-29 Thread Suresh Srinivas
No this is not a bug. This is the new behavior. Please see for details - https://issues.apache.org/jira/browse/HDFS-1547 On Tue, Oct 29, 2013 at 1:48 AM, lei liu wrote: > Should the datanode be shutdown when it is Decommissioned? > > I think if this is bug, I can fix it. > > > 2013/10/29 lei l

Re: Decommission DataNode

2013-10-29 Thread lei liu
Should the datanode be shutdown when it is Decommissioned? I think if this is bug, I can fix it. 2013/10/29 lei liu > HI Steve, thanks for your reply. > > > There is the question in hadoop-2.2.0. > > > In hadoop-2.2.0, there are below code in DatanodeManager.handleHeartbeat > method : > //

Re: Decommission DataNode

2013-10-28 Thread lei liu
HI Steve, thanks for your reply. There is the question in hadoop-2.2.0. In hadoop-2.2.0, there are below code in DatanodeManager.handleHeartbeat method : // Check if this datanode should actually be shutdown instead. if (nodeinfo != null &&* nodeinfo.isDisallowed()*) { setDa

Re: Decommission DataNode

2013-10-28 Thread Steve Loughran
sounds like a question for the cloudera support forums On 28 October 2013 08:59, lei liu wrote: > In CDH3u5, when the DataNode is Decommissioned, the DataNode progress will > be shutdown by NameNode. > > But In CDH4.3.1, when the DataNode is Decommissioned, the DataNode progress > will be not

Decommission DataNode

2013-10-28 Thread lei liu
In CDH3u5, when the DataNode is Decommissioned, the DataNode progress will be shutdown by NameNode. But In CDH4.3.1, when the DataNode is Decommissioned, the DataNode progress will be not shutdown by NameNode. When the datanode is Decommissioned, why the datanode is not automatically shutdown