Unable to obtain keystore from file /etc/hadoop/conf/ranger-plugin-keystore.jks #19
Closed
JavadHosseini
announced in
Announcements
Replies: 1 comment 4 replies
-
Not sure how I can help with this information but confirm if you SSL is enabled on your ranger admin |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I enabled Trino Ranger plugin on Trino 436 in docker environment. Also, I changed "policycache" file from /etc/ranger/trino path to /usr/lib/trino/etc/ranger for be able to write on that. policycache would be created and written but after starting container this error shows up:
2024-07-19T16:19:27.858Z INFO PolicyRefresher(serviceName=trino)-203 stdout ERROR - Unable to obtain keystore from file [/etc/hadoop/conf/ranger-plugin-keystore.jks] 2024-07-19T16:19:27.859Z INFO PolicyRefresher(serviceName=trino)-203 stdout ERROR - gdsInfo retriever encountered exception. Returning null gdsInfojava.lang.IllegalStateException: Unable to find keystore file :/etc/hadoop/conf/ranger-plugin-keystore.jks at org.apache.ranger.plugin.util.RangerRESTClient.getKeyManagers(RangerRESTClient.java:318) at org.apache.ranger.plugin.util.RangerRESTClient.getKeyManagers(RangerRESTClient.java:293) at org.apache.ranger.plugin.util.RangerRESTClient.buildClient(RangerRESTClient.java:205) at org.apache.ranger.plugin.util.RangerRESTClient.getClient(RangerRESTClient.java:193) at org.apache.ranger.plugin.util.RangerRESTClient.get(RangerRESTClient.java:473) at org.apache.ranger.admin.client.RangerAdminRESTClient.getGdsInfoIfUpdated(RangerAdminRESTClient.java:867) at org.apache.ranger.plugin.contextenricher.RangerAdminGdsInfoRetriever.retrieveGdsInfo(RangerAdminGdsInfoRetriever.java:73) at org.apache.ranger.plugin.contextenricher.RangerGdsEnricher$RangerGdsInfoRefresher.populateGdsInfo(RangerGdsEnricher.java:288) at org.apache.ranger.plugin.contextenricher.RangerGdsEnricher$RangerGdsInfoRefresher.access$000(RangerGdsEnricher.java:180) at org.apache.ranger.plugin.contextenricher.RangerGdsEnricher.init(RangerGdsEnricher.java:95) at org.apache.ranger.plugin.policyengine.RangerPolicyRepository.buildContextEnricher(RangerPolicyRepository.java:1087) at org.apache.ranger.plugin.policyengine.RangerPolicyRepository.buildContextEnrichers(RangerPolicyRepository.java:1034) at org.apache.ranger.plugin.policyengine.RangerPolicyRepository.<init>(RangerPolicyRepository.java:238) at org.apache.ranger.plugin.policyengine.RangerPolicyRepository.<init>(RangerPolicyRepository.java:186) at org.apache.ranger.plugin.policyengine.PolicyEngine.<init>(PolicyEngine.java:227) at org.apache.ranger.plugin.policyengine.RangerPolicyEngineImpl.<init>(RangerPolicyEngineImpl.java:100) at org.apache.ranger.plugin.service.RangerBasePlugin.setPolicies(RangerBasePlugin.java:399) at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:268) at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:214)
however in
install.properties
it is mentioned that we do not need to use SSL.Beta Was this translation helpful? Give feedback.
All reactions