How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-18 Thread Pavan Kumar Polineni
For Testing The Name Node Crashes and failures. For Single Point of Failure -- Pavan Kumar Polineni

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-18 Thread Azuryy Yu
or "kill -9 namenode_pid" to simulate NN crashed. On Wed, Jun 19, 2013 at 2:42 PM, Azuryy Yu wrote: > $HADOOP_HOME/bin/hadoop-daemon.sh stop namenode > > > > On Wed, Jun 19, 2013 at 2:38 PM, Pavan Kumar Polineni < > smartsunny...@gmail.com> wrote: > >> For Testing The Name Node Crashes and fail

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-18 Thread Azuryy Yu
$HADOOP_HOME/bin/hadoop-daemon.sh stop namenode On Wed, Jun 19, 2013 at 2:38 PM, Pavan Kumar Polineni < smartsunny...@gmail.com> wrote: > For Testing The Name Node Crashes and failures. For Single Point of Failure > > -- > Pavan Kumar Polineni >

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-18 Thread Nitin Pawar
are you testing it for HA? which version of hadoop are you using? can you explain your test scenario in detail On Wed, Jun 19, 2013 at 12:08 PM, Pavan Kumar Polineni < smartsunny...@gmail.com> wrote: > For Testing The Name Node Crashes and failures. For Single Point of Failure > > -- > Pavan K

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-18 Thread Pavan Kumar Polineni
I am checking for Cloudera only. But no HA? just we have single Name node. For testing purposes and preventing actions. Preparing expected scenarios and solutions for them. On Wed, Jun 19, 2013 at 12:14 PM, Nitin Pawar wrote: > are you testing it for HA? > which version of hadoop are you using?

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-18 Thread Azuryy Yu
hey Pavan, Hadoop-2.* has HDFS HA, which hadoop version are you using? On Wed, Jun 19, 2013 at 2:46 PM, Pavan Kumar Polineni < smartsunny...@gmail.com> wrote: > I am checking for Cloudera only. But no HA? just we have single Name node. > For testing purposes and preventing actions. Preparing e

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-18 Thread Pavan Kumar Polineni
I am using Hadoop-1. I dont want HA. On Wed, Jun 19, 2013 at 12:20 PM, Azuryy Yu wrote: > hey Pavan, > Hadoop-2.* has HDFS HA, which hadoop version are you using? > > > > > On Wed, Jun 19, 2013 at 2:46 PM, Pavan Kumar Polineni < > smartsunny...@gmail.com> wrote: > >> I am checking for Cloudera

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-19 Thread Manoj S
You can stop the Namenode daemon or even power the host off :) On Wed, Jun 19, 2013 at 12:27 PM, Pavan Kumar Polineni < smartsunny...@gmail.com> wrote: > I am using Hadoop-1. I dont want HA. > > > On Wed, Jun 19, 2013 at 12:20 PM, Azuryy Yu wrote: > >> hey Pavan, >> Hadoop-2.* has HDFS HA, whic

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-19 Thread Pavan Kumar Polineni
Hi Manoj, If we power of the Host then the secondary name node also goes down. I want to simulate the name node failure and what to do some recovery. Every thing is part of the testing the name node recovery. On Wed, Jun 19, 2013 at 12:32 PM, Manoj S wrote: > You can stop the Namenode daemon o

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-19 Thread Nitin Pawar
If I understand correctly, what you want to do is crash the namenode manually and recover it using secondary namenode? and you want to know both how to crash the namenode as well how to recover it Is that correct ? On Wed, Jun 19, 2013 at 12:34 PM, Pavan Kumar Polineni < smartsunny...@gmail.com

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-19 Thread Pavan Kumar Polineni
hi Nitin, That's true mate. Finally your understand me. And if you have some scenarios also accepted :). Thanks In Advance. On Wed, Jun 19, 2013 at 1:01 PM, Nitin Pawar wrote: > If I understand correctly, > > what you want to do is crash the namenode manually and recover it using > secondary n

Re: How to fail the Name Node or how to crash the Name Node for testing Purpose.

2013-06-19 Thread Pramod N
Hi, Following might help. Less(rather minimal) jvm heap size for NN. Create many small files with increased replication factor(more information for NN to store in memory) keep only one name node directory for storing meta data(less diskspace will trigger the process E.g mount a tiny disk and po