You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by cao zhiqiang <lf...@163.com> on 2023/04/25 10:37:56 UTC

Review Request 74414: RANGER-4207 hdfs config file hdfs-site.xml should also be copied to ranger config path

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/74414/
-----------------------------------------------------------

Review request for ranger.


Bugs: RANGER-4207
    https://issues.apache.org/jira/browse/RANGER-4207


Repository: ranger


Description
-------

When initialize ranger admin's config use setup.sh, only core-site.xml config file would be copied to ranger config path. And The hdfs-site.xml hadoop config file also need to be copied, or ranger admin will throw 'org.apache.ranger.plugin.client.HadoopException: listFilesInternal: Unable to get listing of files for directory', caused by java.net.UnknownHostException or 'java.io.IOException: Incomplete HDFS URI, no host'.


Diffs
-----

  security-admin/scripts/setup.sh a27eaff8a 


Diff: https://reviews.apache.org/r/74414/diff/1/


Testing
-------


Thanks,

cao zhiqiang