hadoop.asciidoc 1.3 KB

1234567891011121314151617181920212223
  1. [[hadoop]]
  2. === ES-Hadoop and Security
  3. Elasticsearch for Apache Hadoop ("ES-Hadoop") is capable of using HTTP basic and
  4. PKI authentication and/or TLS/SSL when accessing an Elasticsearch cluster. For
  5. full details please refer to the ES-Hadoop documentation, in particular the
  6. `Security` section.
  7. For authentication purposes, select the user for your ES-Hadoop client (for
  8. maintenance purposes it is best to create a dedicated user). Then, assign that
  9. user to a role with the privileges required by your Hadoop/Spark/Storm job.
  10. Configure ES-Hadoop to use the user name and password through the
  11. `es.net.http.auth.user` and `es.net.http.auth.pass` properties.
  12. If PKI authentication is enabled, setup the appropriate `keystore` and `truststore`
  13. instead through `es.net.ssl.keystore.location` and `es.net.truststore.location`
  14. (and their respective `.pass` properties to specify the password).
  15. For secured transport, enable SSL/TLS through the `es.net.ssl` property by
  16. setting it to `true`. Depending on your SSL configuration (keystore, truststore, etc...)
  17. you might need to set other parameters as well - please refer to the
  18. https://www.elastic.co/guide/en/elasticsearch/hadoop/current/configuration.html[ES-Hadoop] documentation,
  19. specifically the `Configuration` and `Security` chapters.