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 CB1E7E541 for ; Wed, 27 Feb 2013 10:11:24 +0000 (UTC) Received: (qmail 69223 invoked by uid 500); 27 Feb 2013 10:11:19 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 68907 invoked by uid 500); 27 Feb 2013 10:11:19 -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 68885 invoked by uid 99); 27 Feb 2013 10:11:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 10:11:18 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bugcy013@gmail.com designates 209.85.128.172 as permitted sender) Received: from [209.85.128.172] (HELO mail-ve0-f172.google.com) (209.85.128.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Feb 2013 10:11:11 +0000 Received: by mail-ve0-f172.google.com with SMTP id cz11so366624veb.3 for ; Wed, 27 Feb 2013 02:10:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=cQGSc2UFNiqpnuSKt3PFB+CSy2YRiTko5zYPKvTNf/Q=; b=qoPMgDfdXI46jmfIc5uiJ3yJYWepMhOCMX2KHa3qMpqtx1Udt1z1JzxcDdAY5GOiz6 6pdchQyZvC9vLdor9Nx7tyI+Rw98OY4lbMvWVKMO/dvaWE+IGqCBpg2tqEtK+T1nGuzu BLjR9q1+gTH7CmImwFy/6iSKTmgKK32EVVTH+6AC3WoG+GEo1dX+tK7DWT7dpWC8g08a nZOmdIQPrhYzMUrAq0NhvFcUiORFZNuWrbrYP1a+oXgDn2Kxek8Fb50bSrpNTQLPGfHi N5FAisTx2qaXWWy13vnKilTvbM+si1skEeA9QKQzaGEIeyG5laR+P+qaj2BnpiLfklcz /O7A== X-Received: by 10.52.34.102 with SMTP id y6mr585902vdi.19.1361959850662; Wed, 27 Feb 2013 02:10:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.58.46.161 with HTTP; Wed, 27 Feb 2013 02:10:30 -0800 (PST) In-Reply-To: References: From: Dhanasekaran Anbalagan Date: Wed, 27 Feb 2013 05:10:30 -0500 Message-ID: Subject: Re: How to find Replication factor for one perticular folder in HDFS To: user Content-Type: multipart/alternative; boundary=20cf30780d6218e3c804d6b1fdf2 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30780d6218e3c804d6b1fdf2 Content-Type: text/plain; charset=UTF-8 HI YouPeng Yang , Hi already configured dfs.replication factor=2 >> 1. To get the key from configuration : /bin/hdfs -getconf -conKey dfs.replication hdfs@dvcliftonhera227:~$ hdfs -getconf -conKey dfs.replication Unrecognized option: -getconf Could not create the Java virtual machine. Please guide me. -Dhanasekaran Did I learn something today? If not, I wasted it. On Mon, Feb 25, 2013 at 7:31 PM, YouPeng Yang wrote: > Hi Dhanasekaran Anbalagan > > 1. To get the key from configuration : > /bin/hdfs -getconf -conKey dfs.replication > > > 2.Maybe you can add the attribute > true to your dfs.replication : > > > dfs.replication > 2 > true > > > > regards. > > > > 2013/2/26 Nitin Pawar > >> see if the link below helps you >> >> >> http://www.michael-noll.com/blog/2011/10/20/understanding-hdfs-quotas-and-hadoop-fs-and-fsck-tools/ >> >> >> On Mon, Feb 25, 2013 at 10:36 PM, Dhanasekaran Anbalagan < >> bugcy013@gmail.com> wrote: >> >>> Hi Guys, >>> >>> How to query particular folder witch replication factor configured. In >>> my cluster some folder in HDFS configured 2 and some of them configured as >>> three. How to query. >>> >>> please guide me >>> >>> -Dhanasekaran >>> >>> Did I learn something today? If not, I wasted it. >>> >> >> >> >> -- >> Nitin Pawar >> > > --20cf30780d6218e3c804d6b1fdf2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
HI=C2=A0YouPeng Yang ,

Hi already= configured dfs.replication factor=3D2

>> =C2=A01. To get the key from configuration :
=C2= =A0 =C2=A0 <your-path>/bin/hdfs -getconf -conKey dfs.replication

hdfs@dvcliftonhera227:~$ hdfs -getconf -= conKey dfs.replication
Unrecognized option: -getconf
Co= uld not create the Java virtual machine.

Please guide me.

-Dha= nasekaran


Did I learn something today? If not, I wasted it.


On Mon, Feb 25, 2013 at 7:31 PM, YouPeng= Yang <yypvsxf19870706@gmail.com> wrote:
Hi=C2=A0Dhanasekaran Anbalagan
<= br>
=C2=A0 1. To get the key from configuration :
<= div>=C2=A0 =C2=A0 <your-path>/bin/hdfs -getconf -conKey dfs.repli= cation
=C2=A0 =C2=A0

=
=C2=A0 =C2=A02.Maybe you can add the attribute
= =C2=A0 =C2=A0<final>true</final> to your=C2=A0dfs.replication :

=C2=A0 =C2=A0<property>=C2= =A0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 <name>dfs.replication</name>
= =C2=A0 =C2=A0 =C2=A0 =C2=A0<value>2</value>
=C2=A0 =C2=A0 =C2=A0 =C2=A0<final>true</final>
=C2=A0=C2=A0= =C2=A0=C2=A0</property>=C2=A0


regards.
=C2=A0


2013/2/26 Nitin Pawar = <nitinpawar= 432@gmail.com>
see if the link below helps you=C2=A0

<= a href=3D"http://www.michael-noll.com/blog/2011/10/20/understanding-hdfs-qu= otas-and-hadoop-fs-and-fsck-tools/" target=3D"_blank">http://www.michael-no= ll.com/blog/2011/10/20/understanding-hdfs-quotas-and-hadoop-fs-and-fsck-too= ls/


On Mon, Feb 25, 2013 at 10:36 PM, Dhanasekaran Anbalagan <bugcy0= 13@gmail.com> wrote:
Hi Guys,
How to query=C2=A0particular=C2=A0folder witch=C2=A0replication= =C2=A0factor configured. In my cluster some folder in HDFS configured 2 and= some of them configured as three. How to query.=C2=A0

please guide me

-Dhanasekaran<= /div>
Did I learn something today? If not, I wasted i= t.



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


--20cf30780d6218e3c804d6b1fdf2--