Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 707709E98 for ; Tue, 14 May 2013 07:44:04 +0000 (UTC) Received: (qmail 15018 invoked by uid 500); 14 May 2013 07:43:59 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 14282 invoked by uid 500); 14 May 2013 07:43:58 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 14247 invoked by uid 99); 14 May 2013 07:43:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 07:43:57 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lfedotov@hortonworks.com designates 209.85.215.174 as permitted sender) Received: from [209.85.215.174] (HELO mail-ea0-f174.google.com) (209.85.215.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 07:43:52 +0000 Received: by mail-ea0-f174.google.com with SMTP id z7so119148eaf.19 for ; Tue, 14 May 2013 00:43:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=3IWEG24kK6d7dCVwG8iCF5lYh5DiVToR9Ffdsav6DJc=; b=AjmAsC4V6KDelNcb/pO5n/OijinTxew3Kbw76H92/Sln4lPfatDU+QlQ9ZHxwIg3YN OvkFAO+qwk+AKppijwbZ4pRF5W89NGUJvQuxjfhqRCs4sOBsRmySyXJLYovI5lUhBmtz q1dOba4Eah2ihZhTIHZW47ieP8JxZCvCyUdbaDO4xkZWxPFyDtUuyEtQcfVm7fDIWRdF wA1lvqjd6eNYB8/J/8SfTA+CGUoxvwqWJ69ydF3XmoSXpHXWJYxTc7LdzPhuwsEk14Cl mSmAvhmfXrhQN0u2zhJam3DbNOv+Pg2woovgmJxNmH/9gRmK8aHv5KqBOT8bZyUgmgMw u5CQ== MIME-Version: 1.0 X-Received: by 10.15.82.201 with SMTP id a49mr88423978eez.44.1368517411601; Tue, 14 May 2013 00:43:31 -0700 (PDT) Received: by 10.14.121.135 with HTTP; Tue, 14 May 2013 00:43:31 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 May 2013 00:43:31 -0700 Message-ID: Subject: Re: Read namenode data from primary memory From: Leonid Fedotov To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e0168198a30396904dca8ca2a X-Gm-Message-State: ALoCoQnbjMk3zYx1RLptZn37ypQsf5b0l46C6x1NHFA211KdX3DvhshnrNgxoeg4cHsYNcuLeEOg X-Virus-Checked: Checked by ClamAV on apache.org --089e0168198a30396904dca8ca2a Content-Type: text/plain; charset=ISO-8859-1 What is the reason? Could you explain in more details, what do you want to accomplish? Leonid. On Tue, May 14, 2013 at 12:27 AM, Sandeep Nemuri wrote: > Done Lets say 8hrs !! > now every 8hrs do we need to go into safemode ? > > > On Tue, May 14, 2013 at 12:53 PM, Nitin Pawar wrote: > >> every 5 minutes seems too much. >> >> why not do a daily or say 8 hours basis >> >> >> On Tue, May 14, 2013 at 12:51 PM, Sandeep Nemuri wrote: >> >>> I Agree with you Nitin .. >>> My Requirement is i want to copy the edits and fsimage from memory for >>> every 5mins. How does this works ? >>> >>> >>> On Tue, May 14, 2013 at 12:31 PM, Nitin Pawar wrote: >>> >>>> if you do not put namenode in safemode that means your namenode can >>>> still accept request to write or delete files from hdfs. This may cause >>>> your snapshot to be a problematic in case you want to restore from it. >>>> Safemode is just an ensuring point that you have a standstill image to >>>> snapshot. >>>> >>>> >>>> >>>> >>>> On Tue, May 14, 2013 at 12:27 PM, Sandeep Nemuri wrote: >>>> >>>>> Withuot going to safemode can't we get the Namespace ?? >>>>> >>>>> >>>>> On Tue, May 14, 2013 at 12:18 PM, Ling Kun wrote: >>>>> >>>>>> Hi Aditya: >>>>>> This command line may help you: >>>>>> >>>>>> hadoop dfsadmin --saveNamespace >>>>>> >>>>>> you should firstly perform it in safe mode. >>>>>> >>>>>> The corresponding design and implementation is described here: >>>>>> https://issues.apache.org/jira/browse/HADOOP-4826 >>>>>> >>>>>> >>>>>> yours, >>>>>> Ling Kun >>>>>> >>>>>> >>>>>> >>>>>> On Tue, May 14, 2013 at 2:37 PM, Aditya exalter < >>>>>> adityaexalter@gmail.com> wrote: >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> How to get the namenode data(edits and fsimage) from the main >>>>>>> memory(RAM) >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> http://www.lingcc.com >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> --Regards >>>>> Sandeep Nemuri >>>>> >>>> >>>> >>>> >>>> -- >>>> Nitin Pawar >>>> >>> >>> >>> >>> -- >>> --Regards >>> Sandeep Nemuri >>> >> >> >> >> -- >> Nitin Pawar >> > > > > -- > --Regards > Sandeep Nemuri > --089e0168198a30396904dca8ca2a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
What is the reason?
Could you explain in more de= tails, what do you want to accomplish?

Leonid.


On Tue, May 14, 2013 at 12:27 AM, Sandeep Nemuri= <nhsandeep6@gmail.com> wrote:
Done Lets say 8hrs !!=A0
now every 8hrs do we need to g= o into safemode ?=A0


On Tue, May 14, 2013 at 12:53 PM, Nitin= Pawar <nitinpawar432@gmail.com> wrote:
every 5 minutes seems too m= uch.=A0

why not do a daily or say 8 hours basis


On Tue, May 14, 2013 at 12:51 = PM, Sandeep Nemuri <nhsandeep6@gmail.com> wrote:
I Agree with you Nitin ..My Requirement is i want to copy the edits and fsimage from memory for e= very 5mins. How does this works ?=A0


On Tue, May 14, 2013 at 12:31 PM, Nitin Pawar <nitinpawar432@gmail.c= om> wrote:
if you do not put namenode in safemode that means your nam= enode can still accept request to write or delete files from hdfs. This may= cause your snapshot to be a problematic in case you want to restore from i= t. Safemode is just an ensuring point that you have a standstill image to s= napshot.=A0



On Tue, May 14, 2013 at 12:27 PM, Sandeep Nemur= i <nhsandeep6@gmail.com> wrote:
Withuot going to safemode c= an't we get the Namespace ??=A0


On Tue, May 14, 2013 at 12:18 PM, Ling K= un <lkun.erlv@gmail.com> wrote:
Hi Aditya:
=A0 =A0This = command line may help you:

=A0 =A0 =A0hadoop dfsad= min --saveNamespace=A0

=A0 =A0 =A0you should firstly perform it in safe mode.<= /div>
=A0
=A0 =A0 The corresponding design and implementation is d= escribed here: =A0=A0https://issues.apache.org/jira/browse/HADOOP-4826=


yours,
Ling Kun



O= n Tue, May 14, 2013 at 2:37 PM, Aditya exalter <adityaexalter@gmail.= com> wrote:
Hi,

=A0 = =A0 =A0How to get the namenode data(edits and fsimage) from the main memory= (RAM)







--
http://www.lingcc.com



<= font color=3D"#888888">--
--Regards
=A0 Sandeep Ne= muri



<= font color=3D"#888888">--
Nitin Pawar



<= font color=3D"#888888">--
--Regards
=A0 Sandeep Ne= muri



<= font color=3D"#888888">--
Nitin Pawar



--
--Regards=A0 Sandeep Nemuri

--089e0168198a30396904dca8ca2a--