OpenSearch/dev-tools
Simon Willnauer e7eb9cf4de Ban java serialization
We had several problems with Java Serializatin in the past. At some point
in the Java 1.7.x series JDKs where not compatible anymore when java
serialization (ObjectStream) was used to exchange objects. In elasticsearch
we used this to serialize exceptions across the wire which caused several problems
with incompatible JDKs. While causing lot of trouble this essentially prevented
users from moving forward and upgrade their JVMs. To prevent these kind of issues
this commit removes the dependency on java serialization entirely and bans the
usage of ObjectOutputStream and ObjectInputStream entirely.

Yet, we can't fully serialize all exception anymore such that this commit
is best effort and adds hand written serialization to all elasticsearch exceptions
as well to a selected set of JDK and Lucene exceptions. (see StreamOutput#writeThrowable /
StreamInput.readThrowable). Stacktraces should be preserved for all exceptions while
several names might be replaced with ElasticsearchException if there is no mapping for
the given exception.
2015-06-30 14:51:43 +02:00
..
src/main/resources Ban java serialization 2015-06-30 14:51:43 +02:00
ElasticSearch.launch [EXEC] Remove reduced stack size 2015-01-06 17:35:45 +01:00
build_randomization.rb [BUILD] Randomly enable AggressiveOpts in builds 2014-09-09 21:58:37 +02:00
build_release.py Release: Build two RPMS, signed and unsigned 2015-06-30 14:22:20 +02:00
build_repositories.sh Release: Fix build repositories script 2015-04-28 10:04:30 +02:00
client_tests_urls.prop [BUILD] Switch 1x to JDK7 download 2014-03-31 19:28:27 -07:00
create_bwc_index.py Versioning: Adding 1.6.1 development version & 1.6.0 bwc index 2015-06-09 16:30:02 +02:00
create_bwc_index_with_some_ancient_segments.py Core: add only_ancient_segments to upgrade API, so only segments with an old Lucene version are upgraded 2015-04-16 05:24:33 -04:00
create_bwc_repo_with_ancient_indices.py Core: Don't allow indices containing too-old segments to be opened 2015-05-19 23:37:05 -04:00
download-s3.py [TOOLS] Added simple S3 Download tool based on boto 2014-06-02 13:35:21 +02:00
es_release_notes.pl Release notes: Add HTML header with UTF-8 encoding 2015-05-29 21:02:38 +02:00
extract_party_license.rb typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-08 18:55:57 +01:00
get-bwc-version.py Tests: improve back compat tests by adding delete-by-query in the transaction log on upgrade 2015-03-26 10:12:22 -04:00
pom.xml create parent pom project from its original location 2015-06-05 13:12:05 +02:00
upgrade-tests.py [TEST] remove needless script settings from upgrade tests script 2015-03-26 19:56:55 +01:00
upload-s3.py Fix ASL Header in source files to reflect s/ElasticSearch/Elasticsearch 2014-01-07 11:22:01 +01:00