[
https://issues.apache.org/jira/browse/RANGER-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17080015#comment-17080015
]
Andrew Charneski commented on RANGER-2634:
------------------------------------------
I have coded it against and tested against the latest version, which is/was
7.5.1. This is the setup script I am using:
{code:bash}
wget
https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.5.1-x86_64.rpm
sudo rpm --install elasticsearch-7.5.1-x86_64.rpm
echo '
88a89
> xpack.security.enabled: true
' > ~/elasticsearch.yml.diff
sudo patch /etc/elasticsearch/elasticsearch.yml ~/elasticsearch.yml.diff
sudo -i service elasticsearch start
sleep 10
curl -X PUT "localhost:9200/audit?pretty"
sudo /usr/share/elasticsearch/bin/elasticsearch-setup-passwords interactive
{code}
[~bosco] I have updated this patch to work off current master.
I have responded to or taken action on all comments. Please re-review.
> Add ElasticSearch support
> -------------------------
>
> Key: RANGER-2634
> URL: https://issues.apache.org/jira/browse/RANGER-2634
> Project: Ranger
> Issue Type: Wish
> Components: audit
> Reporter: Andrew Charneski
> Priority: Major
>
> Hello,
> Our organization is working on integrating and rolling out Apache Ranger for
> our internal toolset, and firstly, we'd like to thank you all for your great
> work!
> Although we have decided to adopt Ranger, for a variety of reasons we would
> very much like to use an alternate indexing service (Elasticsearch) in
> preference to the currently-supported Solr.
> We are happy to develop this extension on our own, and the initial efforts
> are underway at [https://github.com/acharneski/ranger/pull/1] however we
> would like to engage the community for guidance and suggestions with the aim
> of getting this change merged into the main codebase when it is ready.
> Our initial approach is in three main phases:
> # Isolate all usages of Solr packages/classes to pass through an API
> wrapper, delegating to the original Solr code with minimal changes. (Dev
> complete)
> # Refactor api package as a pluggable interface with greater simplicity and
> implementation agnosticism.
> # Provide alternate implementation for the new interface for Elasticsearch.
> Any guidance and feedback is appreciated. Thank you for reading!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)