Commit Graph

4 Commits

Author SHA1 Message Date
Mark Vieira a92a647b9f Update sources with new SSPL+Elastic-2.0 license headers
As per the new licensing change for Elasticsearch and Kibana this commit
moves existing Apache 2.0 licensed source code to the new dual license
SSPL+Elastic license 2.0. In addition, existing x-pack code now uses
the new version 2.0 of the Elastic license. Full changes include:

 - Updating LICENSE and NOTICE files throughout the code base, as well
   as those packaged in our published artifacts
 - Update IDE integration to now use the new license header on newly
   created source files
 - Remove references to the "OSS" distribution from our documentation
 - Update build time verification checks to no longer allow Apache 2.0
   license header in Elasticsearch source code
 - Replace all existing Apache 2.0 license headers for non-xpack code
   with updated header (vendored code with Apache 2.0 headers obviously
   remains the same).
 - Replace all Elastic license 1.0 headers with new 2.0 header in xpack.
2021-02-02 16:10:53 -08:00
Mark Vieira c0ba2ec875
Remove shutdown hook permission from hdfs plugin (#65016) 2020-11-12 13:13:12 -08:00
Mark Vieira fef57fb367 Revert "Remove shutdown hook permission from hdfs plugin (#64899)"
This reverts commit 974766d7
2020-11-12 08:24:34 -08:00
Ryan Ernst 974766d7db
Remove shutdown hook permission from hdfs plugin (#64899)
The hadoop library we use to connect with hdfs expects is is running in
a jvm dedicated to hadoop, as if it was an hdfs node. This means the
shutdown hooks hadoop tries to register expect to work; there is no
handling of a lack of permissions to add shutdown hooks. This commit
removes the shutdown hook permission currently granted to
repository-hdfs by replacing the ShutdownHookManager class with one of
the same api, but having no-ops for the public methods.
2020-11-11 09:56:28 -08:00