Should it be “//”?
Bosco From: arun kumar <pm_arunku...@hotmail.com> Date: Wednesday, August 30, 2017 at 3:23 PM To: "user@ranger.apache.org" <user@ranger.apache.org>, Don Bosco Durai <bo...@apache.org> Subject: Re: Error while starting kafka broker with Apache Ranger Hi Don I have Ranger portal as http:/localhost:6080. I also tried with hostname as well. Thanks Arunkumar From: Don Bosco Durai <bo...@apache.org> Sent: Wednesday, August 30, 2017 5:44 PM To: user@ranger.apache.org Subject: Re: Error while starting kafka broker with Apache Ranger Seems the URL to Ranger Portal is incorrect. Are you reusing the same install properties? If not, can you a diff of the properties files used by both the Broker? Bosco From: arun kumar <pm_arunku...@hotmail.com> Reply-To: <user@ranger.apache.org> Date: Wednesday, August 30, 2017 at 2:42 PM To: "user@ranger.apache.org" <user@ranger.apache.org> Subject: Error while starting kafka broker with Apache Ranger Hi All I am trying to configure ranger with kafka and I am getting an exception "URI is not absolute". I have 2 brokers running on same machine one starts without exception but the other does not. Any insight is highly appreciated. Erro log below for your reference. Thanks in advance Arunkumar ERROR PolicyRefresher(serviceName=null): failed to refresh policies. Will continue to use last known version of policies (-1) (org.apache.ranger.plugin.util.PolicyRefresher) com.sun.jersey.api.client.ClientHandlerException: java.lang.IllegalArgumentException: URI is not absolute at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:151) at com.sun.jersey.api.client.Client.handle(Client.java:648) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680) at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507) at org.apache.ranger.admin.client.RangerAdminRESTClient.getServicePoliciesIfUpdated(RangerAdminRESTClient.java:127) at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicyfromPolicyAdmin(PolicyRefresher.java:264) at org.apache.ranger.plugin.util.PolicyRefresher.loadPolicy(PolicyRefresher.java:202) at org.apache.ranger.plugin.util.PolicyRefresher.run(PolicyRefresher.java:171) Caused by: java.lang.IllegalArgumentException: URI is not absolute at java.net.URI.toURL(URI.java:1088) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:159) at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149) ... 8 more