ruoyousi opened a new pull request, #204: URL: https://github.com/apache/atlas/pull/204
Here is a problem. I found: Solr Kerberos is not effective。 I Hope someone can fix it. Maybe you can remove the two properties in ranger-admin-site.xml. But it not the best way. === FILE: security-admin\src\main\java\org\apache\ranger\solr\SolrUtil.java public QueryResponse runQuery(SolrClient solrClient, SolrQuery solrQuery) throws Throwable { if (solrQuery != null) { try { QueryRequest req = new QueryRequest(solrQuery, METHOD.POST); String username = PropertiesUtil.getProperty("ranger.solr.audit.user"); String password = PropertiesUtil.getProperty("ranger.solr.audit.user.password"); if (username != null && password != null) { ////// !!! check by StringUtils.isNotBlank req.setBasicAuthCredentials(username, password); } return solrMgr.queryToSolr(req); } catch (Throwable e) { logger.error("Error from Solr server. ", e); throw e; } } return null; } -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@atlas.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org