Panshul Whisper 2013-01-15, 03:04
bejoy.hadoop@... 2013-01-15, 03:11
Panshul Whisper 2013-01-15, 03:31
Harsh J 2013-01-15, 04:36
-Re: hadoop namenode recovery
anil gupta 2013-01-15, 04:35
On Mon, Jan 14, 2013 at 7:48 PM, Panshul Whisper <[EMAIL PROTECTED]>wrote:
> I have another idea.... regarding solving the single point failure of
> What If I have multiple Name Nodes setup and running behind a load
> balancer in the cluster. So this way I can have multiple Name Nodes at the
> same IP Address of the load balancer. Which resolves the problem of
> failure, If one Name Node goes down, others are working.
This wont work since the DataNode's always needs to be aware of active
NameNode to send heartbeat and for other communication.
Hortonworks as well as Cloudera both have solution for Single Point of
Failure of Namenode. You will have to analyze the solutions and pick one.
> Please suggest.... this is just a vague idea..!!
> On Mon, Jan 14, 2013 at 7:31 PM, Panshul Whisper <[EMAIL PROTECTED]>wrote:
>> Hello Bejoy,
>> Thank you for the information.
>> about the Hadoop HA 2.x releases, they are in Alpha phase and I cannot
>> use them for production. For my requirements, the cluster is supposed to be
>> extremely Available. Availability is of highest concern. I have looked into
>> different distributions as well.. such as Hortonworks, they also have the
>> same problem of Single point of failure. And are waiting for Apache to
>> release the Hadoop 2.x.
>> I was wondering, if I can somehow configure two Name Nodes on the same
>> Network with the same IP Address, but the second name node is redirected
>> only after the failure of the primary, that might help in automatic
>> resolution of this problem. all the slaves are connecting to the Name Node
>> with a network alias in their /etc/hosts file.
>> I am trying to implement something like this in the cluster:
>> please suggest if this is possible.
>> Thanks for your time.
>> On Mon, Jan 14, 2013 at 7:11 PM, <[EMAIL PROTECTED]> wrote:
>>> Hi Panshul
>>> SecondaryNameNode is rather known as check point node. At periodic
>>> intervals it merges the editlog from NN with FS image to prevent the edit
>>> log from growing too large. This is its main functionality.
>>> At any point the SNN would have the latest fs image but not the updated
>>> edit log. If NN goes down and if you don't have an updated copy of edit log
>>> you can use the fsImage from SNN for restoring. In that case you lose the
>>> transactions in edit log.
>>> SNN is not a backup NN it is just a check point node.
>>> Two or more NN are not possible in 1.x releases but federation makes it
>>> possible with 2.x releases. Federation is for different purpose, you should
>>> be looking at hadoop HA currently with 2.x releases.
>>> Bejoy KS
>>> Sent from remote device, Please excuse typos
>>> *From: * Panshul Whisper <[EMAIL PROTECTED]>
>>> *Date: *Mon, 14 Jan 2013 19:04:24 -0800
>>> *To: *<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
>>> *Subject: *Re: hadoop namenode recovery
>>> thank you for the reply.
>>> Is there a way with which I can configure my cluster to switch to the
>>> Secondary Name Node automatically in case of the Primary Name Node failure?
>>> When I run my current Hadoop, I see the primary and secondary both Name
>>> nodes running. I was wondering what is that Secondary Name Node for? and
>>> where is it configured?
>>> I was also wondering, is it possible to have two or more Name nodes
>>> running in the same cluster?
>>> On Mon, Jan 14, 2013 at 6:50 PM, <[EMAIL PROTECTED]> wrote:
>>>> Hi Panshul,
>>>> Usually for reliability there will be multiple dfs.name.dir configured.
>>>> Of which one would be a remote location such as a nfs mount.
>>>> So that even if the NN machine crashes on a whole you still have the fs
>>>> image and edit log in nfs mount. This can be utilized for reconstructing
Thanks & Regards,
nagarjuna kanamarlapudi 2013-01-15, 03:50
Harsh J 2013-01-16, 04:14
Rakesh R 2013-01-16, 04:47
Michel Segel 2013-01-17, 10:26
Harsh J 2013-01-17, 13:38