You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ranger.apache.org by Lune Silver <lu...@gmail.com> on 2016/10/12 07:39:50 UTC

Questions on properties for the hdfs repository

Hello !

I'm using Ranger embedded with HDP 2.3.4.7  (this is Ranger 0.5)
I have some kerberized clusters.

On two clusters A1 and A2, I don't have namenode HA.
On two other clusters, B1 and B2, I have namenodo HA.

My first question concerns the property dfs.datanode.kerberos.principal.
I don't have any datanode on the namenode and I don't have any dn principal
on the namenode.
What is the usage of this property please ?

My second question concerns the property
dfs.secondary.namenode.kerberos.principal.
In this one, I must set the value of the secondary namenode, which is
useful only when namenode is not HA.
Which value do I need to set here when namenode HA is enabled ?

My third question concerns the property dfs.namenode.kerberos.principal.
In this property, I saw that ambari wrote the host for one of the namenode.
But what will happen if I have two namenodes in HA ? This principal won't
potentially have the right value it there is a namenode failover.
If the dfs.namenode.kerberos.principal contains the passive namenode, will
Ranger check the value of dfs.secondary.namenode.kerberos.principal to see
if it found the active namenode ?

What Ranger do with these principal properties please ?

Best regards.

Lune.

Re: Questions on properties for the hdfs repository

Posted by Lune Silver <lu...@gmail.com>.
Hello.

Just a small information that I found an answer to my question on the HA
here :
https://mail.google.com/mail/u/0/#search/Unable+to+get+listing+of+files+for+directory+[%2F]/155543fc6e7978f8

But my question related to at least the dn principal remains. What will
Ranger do with that knowing that I don't have any dn principal on the
namenode.

Best regards.

Lune

On Wed, Oct 12, 2016 at 9:39 AM, Lune Silver <lu...@gmail.com>
wrote:

> Hello !
>
> I'm using Ranger embedded with HDP 2.3.4.7  (this is Ranger 0.5)
> I have some kerberized clusters.
>
> On two clusters A1 and A2, I don't have namenode HA.
> On two other clusters, B1 and B2, I have namenodo HA.
>
> My first question concerns the property dfs.datanode.kerberos.principal.
> I don't have any datanode on the namenode and I don't have any dn
> principal on the namenode.
> What is the usage of this property please ?
>
> My second question concerns the property dfs.secondary.namenode.
> kerberos.principal.
> In this one, I must set the value of the secondary namenode, which is
> useful only when namenode is not HA.
> Which value do I need to set here when namenode HA is enabled ?
>
> My third question concerns the property dfs.namenode.kerberos.principal.
> In this property, I saw that ambari wrote the host for one of the namenode.
> But what will happen if I have two namenodes in HA ? This principal won't
> potentially have the right value it there is a namenode failover.
> If the dfs.namenode.kerberos.principal contains the passive namenode,
> will Ranger check the value of dfs.secondary.namenode.kerberos.principal
> to see if it found the active namenode ?
>
> What Ranger do with these principal properties please ?
>
> Best regards.
>
> Lune.
>
>
>
>