I'm working with the open source version of Elasticsearch 7.4. I'm trying to conect to my index from Oracle Analytics Desktop and it requires me to enter username and password. xPack is not configured in my cluster.
The open source version of Elasticsearch does not include security so the cluster must have been secured in a different way by someone. You need to talk to whoever set up or manages the cluster.
We don't have any security. When we open the Kibana web page, there is no authentication previously. The same happens when we go into the Elasticsearch port (http://###.###.###.###:9200).
Does that means that I won't be able to connect to Elasticsearch from OA Desktop unless we acquire xPack?
If you do not have any security setup in Elasticsearch no username or password is required. If the application still prompts you for one I would guess it is a problem in the application.
There are no default passwords in 7.4. If you don't have security setup on your cluster - you can just type any username and password - it will be ignored by elasticsearch. If you get an error, please post it on this mailing list.
Apparently, the error comes from the driver we're using. The driver is for maximum Elasticsearch 6.8, but we're using 7.4. This is the driver required by the tool (Oracle Analytics Desktop), so I guess there's not much we can do...
Indeed, the sql4es driver seems to be no longer updated, potentially since Elastic provides now an SQL implementation and respective drivers for it.
However, Oracle Analytics Desktop seems to provide no documentation on integrating 3rd party JDBC drivers and a quick attempt on various ways to configure a source with Elastic's JDBC driver failed.
Furthermore, the proxy providing ODBC connectivity implements an antique version of the API (v 2) and has a number of quirks (tripping on valid DSN names, invoking the API in now explicitly non-recommend ways, not listing valid table names etc.).
Bottom line, @Igor_Motov's comment is pretty valid at this point.
Oracle has no documentation about Elasticsearch connection. The connector "sql4es" is the one Oracle Analytics Desktop requires for Elasticsearch. It actually requires for a previous version than the one we downloaded (for Elasticsearch 2 instead of 6).
We can't use the Elastic JDBC because we're not premium.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.