hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Pawar <nitinpawar...@gmail.com>
Subject Re: Can set different dfs.replication for different dirs
Date Mon, 28 Apr 2014 08:59:24 GMT
DFS replication is set on the file level (block level) or at cluster level
(if you do not specify the replication factor while writing the file then
this one is picked).
As per my understanding, there is nothing for directories.




On Mon, Apr 28, 2014 at 2:12 PM, Meng QingPing <mqingping@gmail.com> wrote:

> Hi,
>
> I want set dfs.replication as 1 for dfs /tmp, set dfs.replication as 3 for
> dfs /user. How to configure?  Both /tmp and /user are generated by
> mapreduce job or hive or sqoop.
>
> Thanks,
> Jack
>



-- 
Nitin Pawar

Mime
View raw message