Sanket,

Ideally in a kerberized cluster, every component is expected to be running
in Kerberos mode.

Please find Kerberos related properties used in Atlas with values

atlas.authentication.keytab=/etc/security/keytabs/atlas.service.keytab //
atlas service keytab
atlas.authentication.method.kerberos=true
atlas.authentication.method.kerberos.keytab=/etc/security/keytabs/spnego.service.keytab
// spengo service keytab
atlas.authentication.method.kerberos.principal=HTTP/[email protected]
atlas.authentication.method.kerberos.name.rules=RULE:[1:$1@$0](
[email protected])s/.*/ambari-qa/\.........\DEFAULT

HTH


On Tue, Feb 26, 2019 at 11:21 AM Sanket Gaykar <[email protected]>
wrote:

> Hi,
>
> We have kerberized atlas setup on dedicated instance. Hbase (Kerberos) is
> used as a storage backend. Whereas hive metastore uses simple
> authentication.
>
> Properties set for kerberos in atlas-appication.properties:
>
> atlas.authentication.method.kerberos=true
> atlas.authentication.keytab=/etc/atlas.keytab
> atlas.authentication.principal=atlas/<FQDN>@<REALM>
>
> While executing import-hive.sh on hive cluster we get error:
> "Authentication is enabled and user is not specified. Specify user.name
> parameter"
>
> We also found properties atlas.authentication.*method*.keytab
> atlas.authentication.*method*.principal in *AtlasAuthenticationFilter*
> class.
>
> Can someone please tell what should be the values for this properties?
>

Reply via email to