You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by ch huang <ju...@gmail.com> on 2013/11/07 01:34:25 UTC
issue about add disk on DN
hi,all:
i have a DN,and i mount the two disk ,one disk for
/data/dataspace/1, and one disk for /data/dataspace/2,
the two disk is almost full, so i add a new disk,and modify the config
file,now
disk3 mount on /data/dataspace/3 , is it possible even distribution of data
on the three disks?
Re: issue about add disk on DN
Posted by 金杰 <he...@gmail.com>.
You can setup a test environment, and have a try.
By decrement 1, the replica blocks will be reduced.
Best Regards
金杰 (Jie Jin)
On Thu, Nov 7, 2013 at 10:39 AM, ch huang <ju...@gmail.com> wrote:
> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>
> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
>
>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>> increment the replica by 1, then decrement by 1.
>>
>>
>> Best Regards
>> 金杰 (Jay Jin)
>>
>>
>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>>
>>> hi,all:
>>> i have a DN,and i mount the two disk ,one disk for
>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>> the two disk is almost full, so i add a new disk,and modify the config
>>> file,now
>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>> data on the three disks?
>>>
>>
>>
>
Re: issue about add disk on DN
Posted by ch huang <ju...@gmail.com>.
yes ,but if one of disks is full,the totol io bandwidth also will reduce
On Thu, Nov 7, 2013 at 11:31 AM, Andrew Wright <ag...@gmail.com> wrote:
> It is possible to rebalance across hosts but I do not believe it is
> possible to rebalance within a data node. Best chance to decommission the
> host have all the data redistribute to other nodes and then add the node
> back into the cluster and rebalance then.
>
> Also, the dn will identify when the individual dura are full and no longer
> allow writes to the disks.
>
>
> On Wednesday, November 6, 2013, ch huang wrote:
>
>> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
>> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>>
>> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
>>
>>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>>> increment the replica by 1, then decrement by 1.
>>>
>>>
>>> Best Regards
>>> 金杰 (Jay Jin)
>>>
>>>
>>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>>>
>>>> hi,all:
>>>> i have a DN,and i mount the two disk ,one disk for
>>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>>> the two disk is almost full, so i add a new disk,and modify the config
>>>> file,now
>>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>>> data on the three disks?
>>>>
>>>
>>>
>>
Re: issue about add disk on DN
Posted by ch huang <ju...@gmail.com>.
yes ,but if one of disks is full,the totol io bandwidth also will reduce
On Thu, Nov 7, 2013 at 11:31 AM, Andrew Wright <ag...@gmail.com> wrote:
> It is possible to rebalance across hosts but I do not believe it is
> possible to rebalance within a data node. Best chance to decommission the
> host have all the data redistribute to other nodes and then add the node
> back into the cluster and rebalance then.
>
> Also, the dn will identify when the individual dura are full and no longer
> allow writes to the disks.
>
>
> On Wednesday, November 6, 2013, ch huang wrote:
>
>> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
>> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>>
>> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
>>
>>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>>> increment the replica by 1, then decrement by 1.
>>>
>>>
>>> Best Regards
>>> 金杰 (Jay Jin)
>>>
>>>
>>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>>>
>>>> hi,all:
>>>> i have a DN,and i mount the two disk ,one disk for
>>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>>> the two disk is almost full, so i add a new disk,and modify the config
>>>> file,now
>>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>>> data on the three disks?
>>>>
>>>
>>>
>>
Re: issue about add disk on DN
Posted by ch huang <ju...@gmail.com>.
yes ,but if one of disks is full,the totol io bandwidth also will reduce
On Thu, Nov 7, 2013 at 11:31 AM, Andrew Wright <ag...@gmail.com> wrote:
> It is possible to rebalance across hosts but I do not believe it is
> possible to rebalance within a data node. Best chance to decommission the
> host have all the data redistribute to other nodes and then add the node
> back into the cluster and rebalance then.
>
> Also, the dn will identify when the individual dura are full and no longer
> allow writes to the disks.
>
>
> On Wednesday, November 6, 2013, ch huang wrote:
>
>> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
>> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>>
>> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
>>
>>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>>> increment the replica by 1, then decrement by 1.
>>>
>>>
>>> Best Regards
>>> 金杰 (Jay Jin)
>>>
>>>
>>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>>>
>>>> hi,all:
>>>> i have a DN,and i mount the two disk ,one disk for
>>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>>> the two disk is almost full, so i add a new disk,and modify the config
>>>> file,now
>>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>>> data on the three disks?
>>>>
>>>
>>>
>>
Re: issue about add disk on DN
Posted by ch huang <ju...@gmail.com>.
yes ,but if one of disks is full,the totol io bandwidth also will reduce
On Thu, Nov 7, 2013 at 11:31 AM, Andrew Wright <ag...@gmail.com> wrote:
> It is possible to rebalance across hosts but I do not believe it is
> possible to rebalance within a data node. Best chance to decommission the
> host have all the data redistribute to other nodes and then add the node
> back into the cluster and rebalance then.
>
> Also, the dn will identify when the individual dura are full and no longer
> allow writes to the disks.
>
>
> On Wednesday, November 6, 2013, ch huang wrote:
>
>> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
>> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>>
>> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
>>
>>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>>> increment the replica by 1, then decrement by 1.
>>>
>>>
>>> Best Regards
>>> 金杰 (Jay Jin)
>>>
>>>
>>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>>>
>>>> hi,all:
>>>> i have a DN,and i mount the two disk ,one disk for
>>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>>> the two disk is almost full, so i add a new disk,and modify the config
>>>> file,now
>>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>>> data on the three disks?
>>>>
>>>
>>>
>>
Re: issue about add disk on DN
Posted by Andrew Wright <ag...@gmail.com>.
It is possible to rebalance across hosts but I do not believe it is
possible to rebalance within a data node. Best chance to decommission the
host have all the data redistribute to other nodes and then add the node
back into the cluster and rebalance then.
Also, the dn will identify when the individual dura are full and no longer
allow writes to the disks.
On Wednesday, November 6, 2013, ch huang wrote:
> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>
> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <hellojinjie@gmail.com<javascript:_e({}, 'cvml', 'hellojinjie@gmail.com');>
> > wrote:
>
>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>> increment the replica by 1, then decrement by 1.
>>
>>
>> Best Regards
>> 金杰 (Jay Jin)
>>
>>
>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <justlooks@gmail.com<javascript:_e({}, 'cvml', 'justlooks@gmail.com');>
>> > wrote:
>>
>>> hi,all:
>>> i have a DN,and i mount the two disk ,one disk for
>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>> the two disk is almost full, so i add a new disk,and modify the config
>>> file,now
>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>> data on the three disks?
>>>
>>
>>
>
Re: issue about add disk on DN
Posted by Andrew Wright <ag...@gmail.com>.
It is possible to rebalance across hosts but I do not believe it is
possible to rebalance within a data node. Best chance to decommission the
host have all the data redistribute to other nodes and then add the node
back into the cluster and rebalance then.
Also, the dn will identify when the individual dura are full and no longer
allow writes to the disks.
On Wednesday, November 6, 2013, ch huang wrote:
> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>
> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <hellojinjie@gmail.com<javascript:_e({}, 'cvml', 'hellojinjie@gmail.com');>
> > wrote:
>
>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>> increment the replica by 1, then decrement by 1.
>>
>>
>> Best Regards
>> 金杰 (Jay Jin)
>>
>>
>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <justlooks@gmail.com<javascript:_e({}, 'cvml', 'justlooks@gmail.com');>
>> > wrote:
>>
>>> hi,all:
>>> i have a DN,and i mount the two disk ,one disk for
>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>> the two disk is almost full, so i add a new disk,and modify the config
>>> file,now
>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>> data on the three disks?
>>>
>>
>>
>
Re: issue about add disk on DN
Posted by Andrew Wright <ag...@gmail.com>.
It is possible to rebalance across hosts but I do not believe it is
possible to rebalance within a data node. Best chance to decommission the
host have all the data redistribute to other nodes and then add the node
back into the cluster and rebalance then.
Also, the dn will identify when the individual dura are full and no longer
allow writes to the disks.
On Wednesday, November 6, 2013, ch huang wrote:
> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>
> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <hellojinjie@gmail.com<javascript:_e({}, 'cvml', 'hellojinjie@gmail.com');>
> > wrote:
>
>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>> increment the replica by 1, then decrement by 1.
>>
>>
>> Best Regards
>> 金杰 (Jay Jin)
>>
>>
>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <justlooks@gmail.com<javascript:_e({}, 'cvml', 'justlooks@gmail.com');>
>> > wrote:
>>
>>> hi,all:
>>> i have a DN,and i mount the two disk ,one disk for
>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>> the two disk is almost full, so i add a new disk,and modify the config
>>> file,now
>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>> data on the three disks?
>>>
>>
>>
>
Re: issue about add disk on DN
Posted by 金杰 <he...@gmail.com>.
You can setup a test environment, and have a try.
By decrement 1, the replica blocks will be reduced.
Best Regards
金杰 (Jie Jin)
On Thu, Nov 7, 2013 at 10:39 AM, ch huang <ju...@gmail.com> wrote:
> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>
> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
>
>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>> increment the replica by 1, then decrement by 1.
>>
>>
>> Best Regards
>> 金杰 (Jay Jin)
>>
>>
>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>>
>>> hi,all:
>>> i have a DN,and i mount the two disk ,one disk for
>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>> the two disk is almost full, so i add a new disk,and modify the config
>>> file,now
>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>> data on the three disks?
>>>
>>
>>
>
Re: issue about add disk on DN
Posted by Andrew Wright <ag...@gmail.com>.
It is possible to rebalance across hosts but I do not believe it is
possible to rebalance within a data node. Best chance to decommission the
host have all the data redistribute to other nodes and then add the node
back into the cluster and rebalance then.
Also, the dn will identify when the individual dura are full and no longer
allow writes to the disks.
On Wednesday, November 6, 2013, ch huang wrote:
> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>
> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <hellojinjie@gmail.com<javascript:_e({}, 'cvml', 'hellojinjie@gmail.com');>
> > wrote:
>
>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>> increment the replica by 1, then decrement by 1.
>>
>>
>> Best Regards
>> 金杰 (Jay Jin)
>>
>>
>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <justlooks@gmail.com<javascript:_e({}, 'cvml', 'justlooks@gmail.com');>
>> > wrote:
>>
>>> hi,all:
>>> i have a DN,and i mount the two disk ,one disk for
>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>> the two disk is almost full, so i add a new disk,and modify the config
>>> file,now
>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>> data on the three disks?
>>>
>>
>>
>
Re: issue about add disk on DN
Posted by 金杰 <he...@gmail.com>.
You can setup a test environment, and have a try.
By decrement 1, the replica blocks will be reduced.
Best Regards
金杰 (Jie Jin)
On Thu, Nov 7, 2013 at 10:39 AM, ch huang <ju...@gmail.com> wrote:
> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>
> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
>
>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>> increment the replica by 1, then decrement by 1.
>>
>>
>> Best Regards
>> 金杰 (Jay Jin)
>>
>>
>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>>
>>> hi,all:
>>> i have a DN,and i mount the two disk ,one disk for
>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>> the two disk is almost full, so i add a new disk,and modify the config
>>> file,now
>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>> data on the three disks?
>>>
>>
>>
>
Re: issue about add disk on DN
Posted by 金杰 <he...@gmail.com>.
You can setup a test environment, and have a try.
By decrement 1, the replica blocks will be reduced.
Best Regards
金杰 (Jie Jin)
On Thu, Nov 7, 2013 at 10:39 AM, ch huang <ju...@gmail.com> wrote:
> 这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
> 那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
>
> On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
>
>> yes, you can rebalance them. try hdfs rebalance. Or, you can first
>> increment the replica by 1, then decrement by 1.
>>
>>
>> Best Regards
>> 金杰 (Jay Jin)
>>
>>
>> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>>
>>> hi,all:
>>> i have a DN,and i mount the two disk ,one disk for
>>> /data/dataspace/1, and one disk for /data/dataspace/2,
>>> the two disk is almost full, so i add a new disk,and modify the config
>>> file,now
>>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>>> data on the three disks?
>>>
>>
>>
>
Re: issue about add disk on DN
Posted by ch huang <ju...@gmail.com>.
这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
> yes, you can rebalance them. try hdfs rebalance. Or, you can first
> increment the replica by 1, then decrement by 1.
>
>
> Best Regards
> 金杰 (Jay Jin)
>
>
> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>
>> hi,all:
>> i have a DN,and i mount the two disk ,one disk for
>> /data/dataspace/1, and one disk for /data/dataspace/2,
>> the two disk is almost full, so i add a new disk,and modify the config
>> file,now
>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>> data on the three disks?
>>
>
>
Re: issue about add disk on DN
Posted by ch huang <ju...@gmail.com>.
这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
> yes, you can rebalance them. try hdfs rebalance. Or, you can first
> increment the replica by 1, then decrement by 1.
>
>
> Best Regards
> 金杰 (Jay Jin)
>
>
> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>
>> hi,all:
>> i have a DN,and i mount the two disk ,one disk for
>> /data/dataspace/1, and one disk for /data/dataspace/2,
>> the two disk is almost full, so i add a new disk,and modify the config
>> file,now
>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>> data on the three disks?
>>
>
>
Re: issue about add disk on DN
Posted by ch huang <ju...@gmail.com>.
这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
> yes, you can rebalance them. try hdfs rebalance. Or, you can first
> increment the replica by 1, then decrement by 1.
>
>
> Best Regards
> 金杰 (Jay Jin)
>
>
> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>
>> hi,all:
>> i have a DN,and i mount the two disk ,one disk for
>> /data/dataspace/1, and one disk for /data/dataspace/2,
>> the two disk is almost full, so i add a new disk,and modify the config
>> file,now
>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>> data on the three disks?
>>
>
>
Re: issue about add disk on DN
Posted by ch huang <ju...@gmail.com>.
这个好像不太合理吧,如果我原来3块盘的话,变成6块盘需要由3个拷贝改成六个拷贝?
那我如果弄完后改回3个拷贝原来的数据还是存6拷贝的呀,那不是浪费空间?
On Thu, Nov 7, 2013 at 9:44 AM, 金杰 <he...@gmail.com> wrote:
> yes, you can rebalance them. try hdfs rebalance. Or, you can first
> increment the replica by 1, then decrement by 1.
>
>
> Best Regards
> 金杰 (Jay Jin)
>
>
> On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
>
>> hi,all:
>> i have a DN,and i mount the two disk ,one disk for
>> /data/dataspace/1, and one disk for /data/dataspace/2,
>> the two disk is almost full, so i add a new disk,and modify the config
>> file,now
>> disk3 mount on /data/dataspace/3 , is it possible even distribution of
>> data on the three disks?
>>
>
>
Re: issue about add disk on DN
Posted by 金杰 <he...@gmail.com>.
yes, you can rebalance them. try hdfs rebalance. Or, you can first
increment the replica by 1, then decrement by 1.
Best Regards
金杰 (Jay Jin)
On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
> hi,all:
> i have a DN,and i mount the two disk ,one disk for
> /data/dataspace/1, and one disk for /data/dataspace/2,
> the two disk is almost full, so i add a new disk,and modify the config
> file,now
> disk3 mount on /data/dataspace/3 , is it possible even distribution of
> data on the three disks?
>
Re: issue about add disk on DN
Posted by 金杰 <he...@gmail.com>.
yes, you can rebalance them. try hdfs rebalance. Or, you can first
increment the replica by 1, then decrement by 1.
Best Regards
金杰 (Jay Jin)
On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
> hi,all:
> i have a DN,and i mount the two disk ,one disk for
> /data/dataspace/1, and one disk for /data/dataspace/2,
> the two disk is almost full, so i add a new disk,and modify the config
> file,now
> disk3 mount on /data/dataspace/3 , is it possible even distribution of
> data on the three disks?
>
Re: issue about add disk on DN
Posted by 金杰 <he...@gmail.com>.
yes, you can rebalance them. try hdfs rebalance. Or, you can first
increment the replica by 1, then decrement by 1.
Best Regards
金杰 (Jay Jin)
On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
> hi,all:
> i have a DN,and i mount the two disk ,one disk for
> /data/dataspace/1, and one disk for /data/dataspace/2,
> the two disk is almost full, so i add a new disk,and modify the config
> file,now
> disk3 mount on /data/dataspace/3 , is it possible even distribution of
> data on the three disks?
>
Re: issue about add disk on DN
Posted by 金杰 <he...@gmail.com>.
yes, you can rebalance them. try hdfs rebalance. Or, you can first
increment the replica by 1, then decrement by 1.
Best Regards
金杰 (Jay Jin)
On Thu, Nov 7, 2013 at 8:34 AM, ch huang <ju...@gmail.com> wrote:
> hi,all:
> i have a DN,and i mount the two disk ,one disk for
> /data/dataspace/1, and one disk for /data/dataspace/2,
> the two disk is almost full, so i add a new disk,and modify the config
> file,now
> disk3 mount on /data/dataspace/3 , is it possible even distribution of
> data on the three disks?
>