Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> QJM for federation


Copy link to this message
-
Re: QJM for federation
Yeah ideally you needn't configure a local edits directory,
unless you want extra safety. There was an issue where it still gets
configured and logs local edits though but am not sure if this was
fixed. If you are not able to turn off local edit logging and if it
still always happens, do file a HDFS jira.

On Wed, Jul 17, 2013 at 2:19 PM, lei liu <[EMAIL PROTECTED]> wrote:
>
> I have another question for QJM.
>
> If I use QJM for HA, do I need to save edit log  on the local filesystem?
>
> I think the QJM is high availability for edit log, so I don't need to
> config the "dfs.namenode.edits.dir".
>
>
> Thanks,
>
> LiuLei
>
>
> 2013/7/17 lei liu <[EMAIL PROTECTED]>
>>
>> Thanks Harsh.
>>
>>
>>
>>
>> 2013/7/17 Harsh J <[EMAIL PROTECTED]>
>>>
>>> This has been asked previously. Use suffixes to solve your issue. See
>>> http://search-hadoop.com/m/Fingkg6Dk91
>>>
>>> On Wed, Jul 17, 2013 at 1:33 PM, lei liu <[EMAIL PROTECTED]> wrote:
>>> > I have two namespaces, example below:
>>> >
>>> > <property>
>>> >     <name>dfs.nameservices</name>
>>> >     <value>ns1,ns2</value>
>>> >  </property>
>>> >
>>> > Can I config the "dfs.namenode.shared.edits.dir" to below content?
>>> > <property>
>>> >   <name>dfs.namenode.shared.edits.dir</name>
>>> >
>>> >
>>> > <value>qjournal://10.232.98.61:20022;10.232.98.62:20022;10.232.98.63:20022/nn1,nn2</value>
>>> >
>>> > </property>
>>> >
>>> >
>>> > Thanks,
>>> >
>>> > LiuLei
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> Harsh J
>>
>>
>

--
Harsh J