You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by lei liu <li...@gmail.com> on 2013/07/12 09:27:27 UTC
how to add JournalNodes
I use QJM for HA in hadoop2.0, now there are three JournalNodes in HDFS
cluster, I want to add two new JournalNodes to HDFS cluster, how to do it?
Do I need to restart HDFS cluster?
Thanks,
LiuLei
Re: how to add JournalNodes
Posted by Harsh J <ha...@cloudera.com>.
You need to restart your NameNodes to get them to use the new QJM
5-host-set configs, and I think you can do that without downtime if
you're already in HA mode by restarting one NN at a time.
To add new JNs first though, you will currently have to rsync their
directory from a good JN to get them into the cluster (i.e. rsync the
data from a good one before you start the new JNs). They will not
auto-join otherwise.
On Fri, Jul 12, 2013 at 12:57 PM, lei liu <li...@gmail.com> wrote:
> I use QJM for HA in hadoop2.0, now there are three JournalNodes in HDFS
> cluster, I want to add two new JournalNodes to HDFS cluster, how to do it?
> Do I need to restart HDFS cluster?
>
>
> Thanks,
>
> LiuLei
--
Harsh J
Re: how to add JournalNodes
Posted by Harsh J <ha...@cloudera.com>.
You need to restart your NameNodes to get them to use the new QJM
5-host-set configs, and I think you can do that without downtime if
you're already in HA mode by restarting one NN at a time.
To add new JNs first though, you will currently have to rsync their
directory from a good JN to get them into the cluster (i.e. rsync the
data from a good one before you start the new JNs). They will not
auto-join otherwise.
On Fri, Jul 12, 2013 at 12:57 PM, lei liu <li...@gmail.com> wrote:
> I use QJM for HA in hadoop2.0, now there are three JournalNodes in HDFS
> cluster, I want to add two new JournalNodes to HDFS cluster, how to do it?
> Do I need to restart HDFS cluster?
>
>
> Thanks,
>
> LiuLei
--
Harsh J
Re: how to add JournalNodes
Posted by Harsh J <ha...@cloudera.com>.
You need to restart your NameNodes to get them to use the new QJM
5-host-set configs, and I think you can do that without downtime if
you're already in HA mode by restarting one NN at a time.
To add new JNs first though, you will currently have to rsync their
directory from a good JN to get them into the cluster (i.e. rsync the
data from a good one before you start the new JNs). They will not
auto-join otherwise.
On Fri, Jul 12, 2013 at 12:57 PM, lei liu <li...@gmail.com> wrote:
> I use QJM for HA in hadoop2.0, now there are three JournalNodes in HDFS
> cluster, I want to add two new JournalNodes to HDFS cluster, how to do it?
> Do I need to restart HDFS cluster?
>
>
> Thanks,
>
> LiuLei
--
Harsh J
Re: how to add JournalNodes
Posted by Harsh J <ha...@cloudera.com>.
You need to restart your NameNodes to get them to use the new QJM
5-host-set configs, and I think you can do that without downtime if
you're already in HA mode by restarting one NN at a time.
To add new JNs first though, you will currently have to rsync their
directory from a good JN to get them into the cluster (i.e. rsync the
data from a good one before you start the new JNs). They will not
auto-join otherwise.
On Fri, Jul 12, 2013 at 12:57 PM, lei liu <li...@gmail.com> wrote:
> I use QJM for HA in hadoop2.0, now there are three JournalNodes in HDFS
> cluster, I want to add two new JournalNodes to HDFS cluster, how to do it?
> Do I need to restart HDFS cluster?
>
>
> Thanks,
>
> LiuLei
--
Harsh J