[
https://issues.apache.org/jira/browse/RANGER-4917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Femi updated RANGER-4917:
-------------------------
Description:
org.apache.ranger.plugin.client.HadoopException: Unable to get listing of files
for directory [/] from Hadoop environment [localhdfs]..
Invalid rule: rangeradmin
the user I used for to login, is able to run the hdfs dfs comand
hdfs dfs -ls /tmp
Found 1 items
drwxrwxr-x+ - hdfs hadoop 0 2024-06-21 17:53 /tmp/hadoop-yarn
service hdfslocal details disclosed below
Service Name hdfslocal
username rangeradmin
password (rangeradmin password) via AD
Namenode URL hdfs://namenode:8020
*Authorization Enabled ===> true* *Authentication Type ==> kerberos*
*hadoop.security.auth_to_local ====> * user exist in the core-site.xml
RULE:[2:$1@$0]([email protected])s/(.*)@EXAMPLE.COM/rangeradmin/
DEFAULT* {*}dfs.datanode.kerberos.principal ====> sa_dn/[email protected]{*}*
{*}dfs.namenode.kerberos.principal ===> HTTP/[email protected]{*}*
*dfs.secondary.namenode.kerberos.principal ==> ** HTTP/[email protected]*
RPC Protection Type ==> authentication*
Please could you. point me in the right direction on the possible resolution to
this issue
was:
org.apache.ranger.plugin.client.HadoopException: Unable to get listing of files
for directory [/] from Hadoop environment [localhdfs]..
Invalid rule: rangeradmin
the user I used for to login, is able to rund the hdfs dfs comand
hdfs dfs -ls /tmp
Found 1 items
drwxrwxr-x+ - hdfs hadoop 0 2024-06-21 17:53 /tmp/hadoop-yarn
service hdfslocal details disclosed below
Service Name hdfslocal
username rangeradmin
password (rangeradmin password) via AD
Namenode URL hdfs://namenode:8020
*Authorization Enabled ===> true* *Authentication Type ==> kerberos*
*hadoop.security.auth_to_local ====> * user exist in the core-site.xml
RULE:[2:$1@$0]([email protected])s/(.*)@EXAMPLE.COM/rangeradmin/
DEFAULT* {*}dfs.datanode.kerberos.principal ====> sa_dn/[email protected]{*}*
{*}dfs.namenode.kerberos.principal ===> HTTP/[email protected]{*}*
*dfs.secondary.namenode.kerberos.principal ==> ** HTTP/[email protected]*
RPC Protection Type ==> authentication*
Please could you. point me in the right direction on the possible resolution to
this issue
> org.apache.ranger.plugin.client.HadoopException:
> ------------------------------------------------
>
> Key: RANGER-4917
> URL: https://issues.apache.org/jira/browse/RANGER-4917
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Affects Versions: 2.5.0
> Reporter: Femi
> Priority: Blocker
> Fix For: 2.5.0
>
>
> org.apache.ranger.plugin.client.HadoopException: Unable to get listing of
> files for directory [/] from Hadoop environment [localhdfs]..
> Invalid rule: rangeradmin
> the user I used for to login, is able to run the hdfs dfs comand
> hdfs dfs -ls /tmp
>
> Found 1 items
>
> drwxrwxr-x+ - hdfs hadoop 0 2024-06-21 17:53 /tmp/hadoop-yarn
> service hdfslocal details disclosed below
>
> Service Name hdfslocal
> username rangeradmin
> password (rangeradmin password) via AD
> Namenode URL hdfs://namenode:8020
> *Authorization Enabled ===> true* *Authentication Type ==> kerberos*
> *hadoop.security.auth_to_local ====> * user exist in the core-site.xml
> RULE:[2:$1@$0]([email protected])s/(.*)@EXAMPLE.COM/rangeradmin/
> DEFAULT* {*}dfs.datanode.kerberos.principal ====>
> sa_dn/[email protected]{*}* {*}dfs.namenode.kerberos.principal ===>
> HTTP/[email protected]{*}* *dfs.secondary.namenode.kerberos.principal ==> **
> HTTP/[email protected]*
> RPC Protection Type ==> authentication*
> Please could you. point me in the right direction on the possible resolution
> to this issue
--
This message was sent by Atlassian Jira
(v8.20.10#820010)