hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: How to find Replication factor for one perticular folder in HDFS
Date Thu, 28 Feb 2013 06:26:55 GMT
Its "hdfs getconf", not "hdfs -getconf". The first sub-command is not
an option arg, generally, when using the hadoop/hdfs/yarn/mapred
scripts.

On Wed, Feb 27, 2013 at 3:40 PM, Dhanasekaran Anbalagan
<bugcy013@gmail.com> wrote:
> HI YouPeng Yang ,
>
> Hi already configured dfs.replication factor=2
>
>>>  1. To get the key from configuration :
>     <your-path>/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 <yypvsxf19870706@gmail.com>
> wrote:
>>
>> Hi Dhanasekaran Anbalagan
>>
>>   1. To get the key from configuration :
>>     <your-path>/bin/hdfs -getconf -conKey dfs.replication
>>
>>
>>    2.Maybe you can add the attribute
>>    <final>true</final> to your dfs.replication :
>>
>>    <property>
>>         <name>dfs.replication</name>
>>        <value>2</value>
>>        <final>true</final>
>>     </property>
>>
>>
>> regards.
>>
>>
>>
>> 2013/2/26 Nitin Pawar <nitinpawar432@gmail.com>
>>>
>>> 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
>>
>>
>



--
Harsh J

Mime
View raw message