[
https://issues.apache.org/jira/browse/RANGER-4207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
caozhiqiang updated RANGER-4207:
--------------------------------
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'. (was: 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'.)
> hdfs config file hdfs-site.xml should also be copied to ranger config path
> --------------------------------------------------------------------------
>
> Key: RANGER-4207
> URL: https://issues.apache.org/jira/browse/RANGER-4207
> Project: Ranger
> Issue Type: Bug
> Components: admin, Ranger
> Affects Versions: 3.0.0
> Reporter: caozhiqiang
> Assignee: caozhiqiang
> Priority: Major
>
> 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'.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)