Make sure you bounce the datanode daemon once you change the configuration
file as well.

Alex

On Fri, Apr 10, 2009 at 8:23 AM, Ravi Phulari <[email protected]>wrote:

> Add your second disk name in dfs.data.dir .
> Refer - http://hadoop.apache.org/core/docs/r0.19.1/cluster_setup.html
>
> dfs.data.dir  =  Comma separated list of paths on the local filesystem of a
> DataNode where it should store its blocks. If this is a comma-delimited list
> of directories, then data will be stored in all named directories, typically
> on different devices.
>
> --
> Ravi
>
> On 4/10/09 6:01 AM, "Harshal" <[email protected]> wrote:
>
> Hi,
>
> On a particular datanode I have /dev/sda1 (root partition) which hdfs shows
> properly. Now I have added another disk which is appearing as /dev/sdb1,
> what changes I need to make in hadoop-site.xml so that the second disk is
> also used ?
>
>
> --Harshal
>
>
> Ravi
> --
>
>

Reply via email to