Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing Ranger setup and HDFS Plugin issue #3

Open
Bunny1992 opened this issue Jul 7, 2021 · 0 comments
Open

Facing Ranger setup and HDFS Plugin issue #3

Bunny1992 opened this issue Jul 7, 2021 · 0 comments
Assignees

Comments

@Bunny1992
Copy link

Hello Team,
I am currently stuck with a couple of issues while imitating your project. I am unable to see plugins mainly ./enable-plugin.sh file. Can you please put light on how to install plugins mainly HDFS in Ranger? Also, the Audit logs are not working because of the below issue. Please help me resolve the same.

ERROR - 2021-07-05 08:54:03.290; org.apache.zookeeper.client.StaticHostProvider; Unable to resolve address: zookeeper:2181 => java.net.UnknownHostException: zookeeper: Name or service not known
at java.base/java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
java.net.UnknownHostException: zookeeper: Name or service not known
at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) ~[?:?]
at java.net.InetAddress$PlatformNameService.lookupAllHostAddr(Unknown Source) ~[?:?]
at java.net.InetAddress.getAddressesFromNameService(Unknown Source) ~[?:?]
at java.net.InetAddress$NameServiceAddresses.get(Unknown Source) ~[?:?]
at java.net.InetAddress.getAllByName0(Unknown Source) ~[?:?]
at java.net.InetAddress.getAllByName(Unknown Source) ~[?:?]
at java.net.InetAddress.getAllByName(Unknown Source) ~[?:?]
at org.apache.zookeeper.client.StaticHostProvider$1.getAllByName(StaticHostProvider.java:92) ~[zookeeper-3.5.5.jar:3.5.5]
at org.apache.zookeeper.client.StaticHostProvider.resolve(StaticHostProvider.java:147) ~[zookeeper-3.5.5.jar:3.5.5]
at org.apache.zookeeper.client.StaticHostProvider.next(StaticHostProvider.java:375) ~[zookeeper-3.5.5.jar:3.5.5]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1137) ~[zookeeper-3.5.5.jar:3.5.5]
WARN - 2021-07-05 08:54:03.338; org.apache.zookeeper.ClientCnxn; Session 0x0 for server zookeeper:2181, unexpected error, closing socket connection and attempting reconnect => java.lang.IllegalArgumentException: Unable to canonicalize address zookeeper:2181 because it's not resolvable
at org.apache.zookeeper.SaslServerPrincipal.getServerPrincipal(SaslServerPrincipal.java:66)
java.lang.IllegalArgumentException: Unable to canonicalize address zookeeper:2181 because it's not resolvable
at org.apache.zookeeper.SaslServerPrincipal.getServerPrincipal(SaslServerPrincipal.java:66) ~[zookeeper-3.5.5.jar:3.5.5]
at org.apache.zookeeper.SaslServerPrincipal.getServerPrincipal(SaslServerPrincipal.java:39) ~[zookeeper-3.5.5.jar:3.5.5]
at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1087) ~[zookeeper-3.5.5.jar:3.5.5]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1139) ~[zookeeper-3.5.5.jar:3.5.5]

@Spydernaz Spydernaz self-assigned this Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants