Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4917

org.apache.ranger.plugin.client.HadoopException:

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 2.5.0
    • 2.5.0
    • plugins
    • None

    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](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

      Attachments

        Activity

          People

            Unassigned Unassigned
            phamo Femi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: