You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Femi (Jira)" <ji...@apache.org> on 2024/08/23 00:28:00 UTC
[jira] [Created] (RANGER-4917) org.apache.ranger.plugin.client.HadoopException:
Femi created RANGER-4917:
----------------------------
Summary: 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
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 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](rangeradmin@EXAMPLE.COM)s/(.*)@EXAMPLE.COM/rangeradmin/
DEFAULT* {*}dfs.datanode.kerberos.principal ====> sa_dn/_host@EXAMPLE.COM{*}* {*}dfs.namenode.kerberos.principal ===> HTTP/_host@EXAMPLE.COM{*}* *dfs.secondary.namenode.kerberos.principal ==> ** HTTP/_host@EXAMPLE.COM*
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)