-Re: hdfs file - datanode association
John George 2011-10-06, 13:01
AFAIK, it might not be possible with a single namenode. You could look
into federated namenodes - but I do not think even federated NN would
allow that today (I might be wrong though).
If you have two different NNs, why would you need separate libs etc? You
could point to the respective namenode while accessing that namenode.
On 10/6/11 4:19 AM, "Vincent Boucher" <[EMAIL PROTECTED]> wrote:
>We are wondering if it is possible to require that the namenode redirects
>blocks of the files of a given directory to a particular set of datanodes?
>Our case is the following:
> - Servers
> 10 x mass storage servers of each 50TB, RAID6
> -> 500TB available for hdfs
> 30 x working nodes with 6TB (no RAID)
> -> 180TB available for hdfs
>We'd like that the files stored in
>be hosted on the mass storage (ms) servers,
>while the files in
>be hosted on the working nodes (wn).
>Having 2 namenodes, one for each subdir /hdfs/ms or /hdfs/wn would do the
>However, at the client level it means dealing with to hadoop
>installation/libs ... not great.
>It is possible to do it with a single namenode?