https://github.com/elastic/elasticsearch

sort by:
Revision Author Date Message Commit Date
bfa3e47 Release: Prevent running whole lifecycle twice 24 August 2015, 08:30:20 UTC
14edd64 [TEST] Provide unicast hosts for Tribe nodes in TribeIT 22 August 2015, 16:18:38 UTC
9c9ddbc Cleanup bootstrap package. * makes most classes final and package private * removes duplicate and confusing multiple entry points * adds javadocs to some classes like JarHell,Security * adds a public class BootStrapInfo that exposes any stats needed by outside code. 22 August 2015, 12:27:29 UTC
f51f7b6 Lucene SPI support for plugins. When we create a plugin's classloader, we should allow it to register things in the lucene SPI (registry of Tokenizers, TokenFilters, CharFilters, Codec, PostingsFormat, DocValuesFormat). Plugins should be able to do this so they can extend Lucene. 22 August 2015, 00:46:58 UTC
568b46c Improve startup exceptions (especially file permissions etc) Squashed commit of the following: commit 0014d31c1c478977cc8c50eb635eab0fb91449e4 Author: Robert Muir <rmuir@apache.org> Date: Fri Aug 21 18:20:35 2015 -0400 Add missing paren to javadocs commit bb46142785c67b849cfa5aa08fe5a3877a550b3d Author: Robert Muir <rmuir@apache.org> Date: Fri Aug 21 18:08:45 2015 -0400 Improve startup exceptions (especially file permissions etc) 21 August 2015, 22:22:28 UTC
1f6e6ac Do not permit multiple settings files This commit backports the fix #13043 for #13042 to 2.0 from master. 21 August 2015, 16:28:48 UTC
cce77d5 Fix compilation... forgot to 'mvn clean' 21 August 2015, 15:14:58 UTC
3fd750c Use StartupError to format all exceptions hitting the console 21 August 2015, 15:14:58 UTC
6818937 Merge pull request #13039 from jasontedor/fix/garbage-in-settings This commit backports the fix #13039 for #13028 to 2.0 from master. 21 August 2015, 15:10:52 UTC
bce15d1 Java api: add missing support for escape to QueryStringQueryBuilder QueryStringQueryParser parses `escape`, but java api users had no chance to actually set it. Closes #13016 21 August 2015, 13:44:58 UTC
09d4ea4 Query DSL: remove attemped (not working) support for array in not query parser Closes #12890 21 August 2015, 13:44:58 UTC
db8a882 Limit type name length This commit backports the fix #13036 for #13021 to 2.0 from master. 21 August 2015, 13:33:26 UTC
87e17a8 Suppress rest exceptions by default and log them instead Today we are very verbose when rendering exceptions on the rest layer. Yet, this isn't necessarily very easy to read and way too much infromation most of the time. This change suppresses the stacktrace rendering by default but instead adds a `rest.suppressed` logger that logs the suppressed stacktrace or rather the entire exception on the node that renderes the exception The log message looks like this: ``` [2015-08-19 16:21:58,427][INFO ][rest.suppressed ] /test/_search/ Params: {index=test} [test] IndexNotFoundException[no such index] at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:551) ``` 21 August 2015, 13:19:02 UTC
8ba2c9b Aggregations: Make ValueParser.DateMath aware of timezone setting This PR adds a timezone field to ValueParser.DateMath that is set to UTC by default but can be set using the existing constructors. This makes it possible for extended bounds setting in DateHistogram to also use date math expressions that e.g. round by day and apply this rounding in the time zone specified in the date histogram aggregation request. Closes #12278 21 August 2015, 12:58:57 UTC
893534e Merge pull request #12985 from s1monw/cleanup_release_script Refactor script for RC creation 21 August 2015, 12:38:24 UTC
95f2711 Java api: remove execution from TermsQueryBuilder as it has no effect Also introduced ParseField for execution in TermsQueryParser so proper deprecation warnings get printed out when requested. Closes #12884 21 August 2015, 12:19:50 UTC
c671bab Aggregation: Fix AggregationPath.subPath() to not throw ArrayStoreException Aggregation.subPath() always threw an ArrayStoreException because we were trying to pass a List into System.arraycopy(). This change fixes that bug and adds a test to prevent regression 21 August 2015, 11:51:05 UTC
55b345e [TEST] Add discovery-multicast to PluginManagerIT 21 August 2015, 11:46:55 UTC
1013eca Merge pull request #12947 from s1monw/expected_shard_size Add `expectedShardSize` to ShardRouting and use it in path.data allocation 21 August 2015, 11:16:50 UTC
71e00c5 Fix ES version used by multicast plugin 21 August 2015, 11:15:39 UTC
d3e41fd Move multicast discovery to a plugin Backport of #13027 21 August 2015, 11:10:17 UTC
da86506 fail with better error message if elasticsearch was started already Before it failed with .../es/qa/smoke-test-plugins/target/integ-tests/es.pid doesn't exist which was confusing. 21 August 2015, 09:34:39 UTC
0102807 Never cache match_all queries. This commit backports https://issues.apache.org/jira/browse/LUCENE-6748 to make sure that we never cache trivial queries like MatchAllDocsQuery. 21 August 2015, 07:40:07 UTC
4dbc840 test: fix and simplify logic 21 August 2015, 06:07:41 UTC
6dd2330 Fix formatting of startup/configuration errors. Try to strike a balance between usability and debuggability. 2MB stacktrace is not gonna work... we print message and find "likely root cause" and identify it as such, limit it to 30 stack frames, and filter out guice. When frames are truncated we identify that too, and always inform the user full exception is available from logs. Closes #13029 21 August 2015, 05:21:54 UTC
527a7c5 simplify this 20 August 2015, 22:57:09 UTC
ffd54ab fix test failure 20 August 2015, 21:31:35 UTC
ed717e6 Merge pull request #13020 from s1monw/issues/13014 Remove support for address resolving in InetSocketTransportAddress 20 August 2015, 21:23:01 UTC
26df7eb Don't print lots of noise on IPv4 only hosts. If the machine doesn't support IPv6, or if the user disabled it with -Djava.net.preferIPv4Stack, or if the user disabled it with ES_USE_IPV4, we will still try to bind a socket to ::1 out of box, and we will see lots of exceptions logged to the console. It is harmless noise but not a great experience. 20 August 2015, 21:22:48 UTC
bca6168 Don't use networking in InternalTestClusterTests 20 August 2015, 21:22:31 UTC
e067ef3 Default to unicast discovery, with default host list of 127.0.0.1, [::1] Fix unicast discovery to work when a host has multiple addresses. Ban dangerous methods in java.net with forbidden APIs. Fix ipv6 bugs and formatting of network addresses everywhere. Closes #12999 Closes #12993 Squashed commit of the following: commit 6c1aa001d091c5cf25212a53dc701fb704337f1e Author: Robert Muir <rmuir@apache.org> Date: Thu Aug 20 14:25:43 2015 -0400 Fix these to be correct with addresses just in case commit 648215627e84abf58a71400e7dc9ae775efb71d6 Merge: d00561b 41d8fbe Author: Robert Muir <rmuir@apache.org> Date: Thu Aug 20 13:23:09 2015 -0400 Merge branch 'master' into unicast_all_the_way_down commit d00561b76fd1aa5850699f7901f3dae3d4d402b7 Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 16:38:50 2015 +0200 limit local ports to 5 in UnicastZenPing commit e2e15c594006746cbe24432694294a71cc99deb8 Author: Robert Muir <rmuir@apache.org> Date: Thu Aug 20 10:32:47 2015 -0400 fix port limiting commit 10153cb7adadda81a1f482445e703836b65cf5e2 Author: Robert Muir <rmuir@apache.org> Date: Thu Aug 20 10:18:37 2015 -0400 don't serialize scopeids: that's broken commit 2aa63d43db2baec68a2e9bc227cfeb85dfeb4f83 Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 16:06:51 2015 +0200 restore @Network commit c840f1d1ef438826ae1ecfd5e45942a0e30dc9c0 Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 16:02:30 2015 +0200 Use NetworkAddress.formatAddress where applicable in plugins commit 374ce878852b35d626b7a29c8c4773545b0e9ddd Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 15:34:06 2015 +0200 Use NetworkAddress.formatAddress where applicable commit e7a606d63f1bc43c1b62b6e17adf707c76d43a15 Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 10:17:57 2015 +0200 Add @Multicast annotation to disable multicast tests by default. We only run multicast tests now when we explicitly state it. A working multicast env is required which is not always the case. commit 2d7d2d0347179696ab41f71f048b13305014c85b Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 09:51:28 2015 +0200 Remove extra check for local mode in InternalTestCluster commit dda59ac39aa136d4687b9274c2692cd77f8b8f66 Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 09:37:03 2015 +0200 Handle node mode across entire test cluster We used static methods reading sys properties to define the node mode per cluster. this had lots of problems when tests couldn't cope with mixed or only local mode. Now we are passing it down to the cluster from the test which allows to @SuppressNetworkMode / @SupressLocalMode on the test to force consistent node configurations. commit 058197b7a408318995c88ce7f6762e32348de0de Author: Robert Muir <rmuir@apache.org> Date: Thu Aug 20 03:19:14 2015 -0400 really ban InetSocketAddress's trappy method and break build and go to sleep, sorry commit ac8779185aee1e17e6f5a81766290fdfc9c603ba Author: Robert Muir <rmuir@apache.org> Date: Thu Aug 20 03:16:52 2015 -0400 Ban methods that might surprisingly cause DNS lookups commit e64fe3dff2b11503e5f2831eb9863d64f56c5538 Author: Robert Muir <rmuir@apache.org> Date: Thu Aug 20 02:59:05 2015 -0400 Add unit test commit f15434f20fb1a3691b1cc16028597d8fae937e05 Author: Robert Muir <rmuir@apache.org> Date: Thu Aug 20 02:39:02 2015 -0400 fix ipv6 formatting bugs commit 05c2c74098052c75fbb79ea1818a295ef2e03e30 Author: Robert Muir <rmuir@apache.org> Date: Thu Aug 20 02:12:05 2015 -0400 format addresses correctly so I can actually read what comes out of our logs and stats apis commit 4f9389dcf1e8925f23153c5eb271b4ce2294dbaf Author: Robert Muir <rmuir@apache.org> Date: Wed Aug 19 21:26:52 2015 -0400 ban dangerous methods in java.net commit 6aacd4d9925f324903d1d099a6cf5f862aeaf677 Author: Robert Muir <rmuir@apache.org> Date: Wed Aug 19 20:59:24 2015 -0400 ban lenient method commit f466a842c60163d1f4554bdce8a4163edb534c2c Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 00:29:00 2015 +0200 fix tests to not mix local transport and zen unicast disco commit 0de007a33b33fb68cf85cd86db4ca4f8ce10bbc9 Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 00:10:07 2015 +0200 fix tests to not mix local transport and zen unicast disco commit 539f6ca6e5137e0d496239adc8684688dedcc824 Author: Simon Willnauer <simonw@apache.org> Date: Thu Aug 20 00:02:01 2015 +0200 fix tests to not mix local transport and zen unicast disco commit 004c2881b25467f332acc8c9f9e92b1f0f9d314e Author: Robert Muir <rmuir@apache.org> Date: Wed Aug 19 17:51:45 2015 -0400 Fix multinode commit 54113af325ce31571811c49fdaae89d5687be4ba Author: Robert Muir <rmuir@apache.org> Date: Wed Aug 19 17:36:45 2015 -0400 fix integration tests commit 0156a77a56319d6b9737ec6a531992052e50bd59 Author: Simon Willnauer <simonw@apache.org> Date: Wed Aug 19 23:32:18 2015 +0200 enable multicast in MulticastZenPingIT.java commit 1791caa35da853ce0122485fa3fd4674c671ec6e Author: Robert Muir <rmuir@apache.org> Date: Wed Aug 19 17:23:16 2015 -0400 Fix constant commit 22820b53e0b2dc9fd47145c2bc29ce912a8fd484 Author: Simon Willnauer <simonw@apache.org> Date: Wed Aug 19 22:59:09 2015 +0200 give it some extra ids for local transport crazyness commit b2138fafa94a8a085813fd48356df63e57ade5b3 Author: Simon Willnauer <simonw@apache.org> Date: Wed Aug 19 22:51:42 2015 +0200 pass on local addresses from configured transport rather than hard code IP addresses commit 1bf5de1f457b081e0ce262b57d2b55d39c434156 Author: Simon Willnauer <simonw@apache.org> Date: Wed Aug 19 22:04:31 2015 +0200 fix PluggableTransportModuleIT.java to use local disco and detach port limit for node local disco commit b6706eddfa04c43947c16551359ae98a463d34aa Author: Robert Muir <rmuir@apache.org> Date: Wed Aug 19 14:16:03 2015 -0400 Default to unicast discovery, with default host list of 127.0.0.1, [::1] 20 August 2015, 21:22:15 UTC
42e2051 Log all interfaces we try to bind before binding 20 August 2015, 21:22:05 UTC
fd10dfc Test: ClusterDiscoveryConfiguration.UnicastZen should allow for port ranges The cluster configuration allows to setup a cluster for use with unicast discovery. This means that nodes have to have pre-calculated known addresses which can be used to poplulate the unicast hosts setting. Despite of repeated attempts to select unused ports, we still see test failures where the node can not bind to it's assigned port due to it already being in use (most on CentOS). This commit changes it to allow each node to have a pre-set mutual exclusive range of ports and add all those ports to the unicast hosts list. That's OK because we know the node will only bind to one of those. 20 August 2015, 21:21:50 UTC
9d5c22e only verify both nodes join the cluster 20 August 2015, 19:51:31 UTC
b682a0a Docs: Fix link to reference docs. 20 August 2015, 12:49:42 UTC
d236192 Plugins: Add 'name' property to plugin descriptor file to determine plugin name At the moment, when installing from an url, a user provides the plugin name on the command line like: * bin/plugin install [plugin-name] --url [url] This can lead to problems when picking an already existing name from another plugin, and can potentially overwrite plugins already installed with that name. This, this PR introduces a mandatory `name` property to the plugin descriptor file which replaces the name formerly provided by the user. With the addition of the `name` property to the plugin descriptor file, the user does not need to specify the plugin name any longer when installing from a file or url. Because of this, all arguments to `plugin install` command are now either treated as a symbolic name, a URL or a file without the need to specify this with an explicit option. The new syntax for `plugin install` is now: bin/plugin install [name or url] * downloads official plugin bin/plugin install analysis-kuromoji * downloads github plugin bin/plugin install lmenezes/elasticsearch-kopf * install from URL or file bin/plugin install http://link.to/foo.zip bin/plugin install file:/path/to/foo.zip If the argument does not parse to a valid URL, it is assumed to be a name and the download location is resolved like before. Regardless of the source location of the plugin, it is extracted to a temporary directory and the `name` property from the descriptor file is used to determine the final install location. Relates to #12715 20 August 2015, 09:02:51 UTC
08678f0 [build] rpm module should be build on machine with /usr/bin/rpmbuild We build the rpm module automatically if you have either: * `/usr/bin/rpmbuild` * `/usr/local/bin/rpmbuild` available. If your `rpmbuild` is in another location and available in your path, then run maven with `rpm` profile: ```sh mvn deploy -Prpm ``` Closes #12984. (cherry picked from commit dba1b52) 20 August 2015, 07:45:06 UTC
97ebe08 Fix documentation: scrolls are not closed automatically. The documentation states that scrolls are automatically closed when all documents are consumed, but this is not the case. I first tried to fix the code to close scrolls automatically but this made REST tests fail because clearing a scroll that is already closed returned a 4xx error instead of a 2xx code, so this has probably been this way for a very long time. 20 August 2015, 07:24:41 UTC
340650d Fix a documentation typo and a code comment typo to path.repo This commit backports a0243200e03393d1a99b6e5c8b34ed70a6486229 to 2.0 from master. 20 August 2015, 02:22:00 UTC
d617d01 Fix documentation typo to path.repo for UNC path example This commit backports a documentation fix for #13008 to 2.0 from master. 20 August 2015, 02:21:50 UTC
64efd13 [build] simplify ant script for plugins Now we are using short names for artifactId (see #12879) so we don't need anymore to transform long names `elasticsearch-pluginname` to short names `pluginname` in ant script when we install a plugin. Modify also convert-plugin-name Clean up remaining plugins with old format And fix vagrant tests 19 August 2015, 23:24:07 UTC
8898761 [maven] change murmur3 plugin groupId and name 19 August 2015, 23:24:07 UTC
98dc64a [maven] also rename parent project artifactId Also fixed bad scm links 19 August 2015, 23:24:06 UTC
ad555f2 [maven] also rename artifactId for dev-tools and rest-api-spec 19 August 2015, 23:24:06 UTC
30958a0 [plugin] shorten plugin names We can now simplify PluginHandle as `name` and `repo` are the same thing. 19 August 2015, 23:24:06 UTC
f22ffb3 [plugin] shorten plugin names We don't need to prefix anymore plugin names with `elasticsearch-` or `es-`. 19 August 2015, 23:24:06 UTC
670666b [maven] rename Elasticsearch names to Elasticsearch: 19 August 2015, 23:24:06 UTC
23e5a06 [maven] rename maven names for parent, dev-tools and rest spec Follow up for previous commit: ``` [INFO] Build Tools and Resources .......................... SUCCESS [ 0.158 s] [INFO] Rest API Specification ............................. SUCCESS [ 0.002 s] [INFO] Elasticsearch Parent POM ........................... SUCCESS [ 0.122 s] ``` 19 August 2015, 23:24:06 UTC
651e496 [maven] rename maven names / ids for distribution modules 19 August 2015, 23:24:06 UTC
ccde48f [maven] rename artifactIds from `elasticsearch-something` to `something` In plugins, we are using non consistent naming. We use `elasticsearch-cloud-aws` as the artifactId, which generates a jar file called `elasticsearch-cloud-aws-VERSION.jar`. But when you want to install the plugin, you will end up with a shorter name for the plugin `cloud-aws`. ``` bin/plugin install cloud-aws ``` This commit changes that and use consistent names for `artifactId`, so `finalName`. Also changed maven names. 19 August 2015, 23:24:05 UTC
6033c48 Fix a typo in comment 19 August 2015, 23:24:05 UTC
94a36d9 [build] display ignored artifact when checking licenses 19 August 2015, 23:24:05 UTC
e215ed4 Add an optional "prefix_to_ignore" parameter to the license checker If core plugins are to be renamed to not include the "elasticsearch-" prefix, then we need a way of telling the license checker which JAR files to ignore. 19 August 2015, 23:24:05 UTC
7a67924 Internal: Remove ClassLoader from Settings Settings currently has a classloader member, which any user (plugin or core ES code) can access to load classes/resources. This is extremely error prone as setting the classloder on the Settings instance is a public method. Furthermore, it is not really necessary. Classes that need resources should load resources using normal means (getClass().getResourceAsStream). Those that need classes should use Class.forName, which will load the class with the same classloader as the calling class. This means, in the few places where classes are loaded by string name, they will use the appropriate loader: either the default classloader which loads core ES code, or a child classloader for each plugin. This change removes the classloader member from Settings, as well as other classloader related uses (except for a handful of cases which must use a classloader, at least for now). Backport of #12868 19 August 2015, 22:36:22 UTC
3cff501 Internal: IndicesQueriesRegitry back to being created only once With #12921 we refactored IndicesModule but we forgot to make sure we create IndicesQueriesRegistry once. IndicesQueriesModule used to do `bind(IndicesQueriesRegistry.class).asEagerSingleton();` otherwise we get multiple instances of the registry. This needs to be ported do the IndicesModule. backport of #12956 19 August 2015, 22:32:54 UTC
965548d Plugins: Simplify Plugin API for constructing modules The Plugin interface currently contains 6 different methods for adding modules. Elasticsearch has 3 different levels of injectors, and for each of those, there are two methods. The first takes no arguments and returns a collection of class objects to construct. The second takes a Settings object and returns a collection of module objects already constructed. The settings argument is unecessary because the plugin can already get the settings from its constructor. Removing that, the only difference between the two versions is returning an already constructed Module, or a module Class, and there is no reason the plugin can't construct all their modules themselves. This change reduces the plugin api down to just 3 methods for adding modules. Each returns a Collection<Module>. It also removes the processModule method, which was unnecessary since onModule implementations fullfill the same requirement. And finally, it renames the modules() method to nodeModules() so it is clear these are created once for each node. Backport of #12952 19 August 2015, 22:32:54 UTC
aa9743e Plugins: Ensure additionalSettings() do not conflict Plugins can preovide additional settings to be added to the settings provided in elasticsearch.yml. However, if two different plugins supply the same setting key, the last one to be loaded wins, which is indeterminate. This change enforces plugins cannot have conflicting settings, at startup time. As a followup, we should do this when installing plugins as well, to give earlier errors when two plugins collide. Backport of #12967 19 August 2015, 22:32:54 UTC
0d1fc1a Internal: Simplify custom repository type setup Custom repository types are registered through the RepositoriesModule. Later, when a specific repository type is used, the RespositoryModule is installed, which in turn would spawn the module that was registered for that repository type. However, a module is not needed here. Each repository type has two associated classes, a Repository and an IndexShardRepository. This change makes the registration method for custom repository types take both of these classes, instead of a module. See #12783. Backport of #12948. 19 August 2015, 22:32:54 UTC
ad4f015 Internal: Flatten IndicesModule and add tests The IndicesModule was made up of two submodules, one which handled registering queries, and the other for registering hunspell dictionaries. This change moves those into IndicesModule. It also adds a new extension point type, InstanceMap. This is simply a Map<K,V>, where K and V are actual objects, not classes like most other extension points. I also added a test method to help testing instance map extensions. This was particularly painful because of how guice binds the key and value as separate bindings, and then reconstitutes them into a Map at injection time. In order to gain access to the object which links the key and value, I had to tweak our guice copy to not use an anonymous inner class for the Provider. Note that I also renamed the existing extension point types, since they were very redundant. For example, ExtensionPoint.MapExtensionPoint is now ExtensionPoint.ClassMap. See #12783. Backport of #12921 19 August 2015, 22:22:11 UTC
d93d87b Merge pull request #12916 from rjernst/module_culling Flatten ClusterModule and add more tests 19 August 2015, 22:21:42 UTC
15f05e2 Don't show access_key and filter_key in S3 repository settings In #11265 we added an ability to filter out sensitive repository settings. This commit uses this change to filter out access_key and filter_key in S3 repository settings. Closes elastic/elasticsearch-cloud-aws#184 19 August 2015, 20:36:43 UTC
ad31b16 Deduplicate addresses from resolver. In some cases this may contain duplicates, although its a misconfiguration, lets not bind to multiple ports. Its no problem for us to dedup, this code doesn't need to be huper-duper fast since its used only for logic around bind/publish 19 August 2015, 20:34:19 UTC
468cb61 Aggregations: Throw error if cardinality aggregator has a sub aggregation The cardinality aggregation is a metric aggregation and therefore cannot accept sub-aggregations. It was previously possible to create a rest request with a cardinality aggregation that had sub-aggregations. Now such a request will throw an error in the response. Close #12988 19 August 2015, 13:38:22 UTC
7e00415 Merge pull request #12986 from s1monw/fix_host_resolving Only resolve host if explicitly allowed. 19 August 2015, 13:26:44 UTC
b5b5e69 Merge pull request #12981 from s1monw/serialize_interrupted_exceptions Add serialization support for InterruptedException 19 August 2015, 13:11:49 UTC
26c6d35 Merge pull request #12936 from s1monw/add_build_hash_to_headers Add build short hash to the download manager headers to identify staging builds 19 August 2015, 13:11:19 UTC
b4d7769 Log network configuration at debug level 19 August 2015, 11:16:08 UTC
71ec82d Add millisecond parser for dynamic date fields mapped from "yyyy/MM/dd" This commit backports commit 4c9327d983e348bc4f0de0c1581458c8cad953ab, the fix #12977 for #12873 from master to 2.0. 19 August 2015, 09:45:41 UTC
50d4bca Improve console logging on startup exception Today we show the exception twice: once by the logger and then again by the JVM. This is too noisy, and easy to avoid. 19 August 2015, 03:25:43 UTC
3989301 [TEST] Make it clear what address we try to bind 18 August 2015, 21:19:35 UTC
7e8e7f4 Drop commons-lang dependency commons-lang really is only used by some core classes to join strings or modiy arrays. It's not worth carrying the dependency. This commit removes the dependency on commons-lang entirely. 18 August 2015, 21:19:27 UTC
5dd2bab Workaround JDK bug 8034057 This causes a FileSystemException when trying to retrieve FileStore for a path, and falsely returns false for Files.isWritable Squashed commit of the following: commit d2cc0d966f3bc94aa836b316a42b3c5724bc01ef Author: Robert Muir <rmuir@apache.org> Date: Tue Aug 18 15:49:48 2015 -0400 fixes for the non-bogus comments commit 6e0a272f5f8ef7358654ded8ff4ffc31831fa5c7 Author: Robert Muir <rmuir@apache.org> Date: Tue Aug 18 15:30:43 2015 -0400 Fix isWritable too commit 2a8764ca118fc4c950bfc60d0b97de873e0e82ad Author: Robert Muir <rmuir@apache.org> Date: Tue Aug 18 14:49:50 2015 -0400 try to workaround filestore bug 18 August 2015, 20:45:24 UTC
ea29651 Improve stability of restoreIndexWithMissingShards test Replaced awaitBusy with assertBusy and increased the timeout. 18 August 2015, 19:29:44 UTC
eb3fd24 Docs: Added removal of MVEL to migration docs 18 August 2015, 17:14:20 UTC
5fdc67b [doc] Fix cloud-azure install / remove instructions 18 August 2015, 16:59:15 UTC
012bcab [doc] Backport change in cloud-aws doc Related to https://github.com/elastic/elasticsearch/pull/12761 18 August 2015, 16:59:14 UTC
5f75df0 [doc] Move mapper attachment plugin to mapper page 18 August 2015, 16:59:14 UTC
c488035 [doc] we don't use `check_lucene` anymore in plugins 18 August 2015, 16:59:13 UTC
2845765 Suppress forbiddenAPI in logger when using localhost 18 August 2015, 15:47:38 UTC
0db2f57 Remove usage or `InetAddress#getLocalHost` this method is very confusing and if it's used it's likely the wrong thing with respect to the actual bound / published address. This change discourages it's use and removes all useage. It's replaced with the actual published address most of the time. 18 August 2015, 15:23:34 UTC
976e7eb [qa] multinode tests fails when you run low on disk space (85%) In #12853 we actually introduced a test regression. Now as we wait for yellow instead of green, we might have some pending tasks. This commit simplify all that and only checks the number of nodes within the cluster. (cherry picked from commit 4a3ea79) 18 August 2015, 12:36:40 UTC
bb125d6 [qa] multinode tests fails when you run low on disk space (85%) Indeed, we check within the test suite that we have not unassigned shards. But when the test starts on my machine I get: ``` [elasticsearch] [2015-08-13 12:03:18,801][INFO ][org.elasticsearch.cluster.routing.allocation.decider] [Kehl of Tauran] low disk watermark [85%] exceeded on [eLujVjWAQ8OHdhscmaf0AQ][Jackhammer] free: 59.8gb[12.8%], replicas will not be assigned to this node ``` ``` 2> REPRODUCE WITH: mvn verify -Pdev -Dskip.unit.tests -Dtests.seed=2AE3A3B7B13CE3D6 -Dtests.class=org.elasticsearch.smoketest.SmokeTestMultiIT -Dtests.method="test {yaml=smoke_test_multinode/10_basic/cluster health basic test, one index}" -Des.logger.level=ERROR -Dtests.assertion.disabled=false -Dtests.security.manager=true -Dtests.heap.size=512m -Dtests.locale=ar_YE -Dtests.timezone=Asia/Hong_Kong -Dtests.rest.suite=smoke_test_multinode FAILURE 38.5s | SmokeTestMultiIT.test {yaml=smoke_test_multinode/10_basic/cluster health basic test, one index} <<< > Throwable #1: java.lang.AssertionError: expected [2xx] status code but api [cluster.health] returned [408 Request Timeout] [{"cluster_name":"prepare_release","status":"yellow","timed_out":true,"number_of_nodes":2,"number_of_data_nodes":2,"active_primary_shards":3,"active_shards":3,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":3,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":50.0}] ``` We don't check anymore if we have unassigned shards and we wait for `yellow` status instead of `green`. Closes #12852. (cherry picked from commit da65493) 18 August 2015, 11:23:28 UTC
66f98c5 parent/child: Explicitly disabled the query cache It was already disabled, but during tests the test framework enabled the query cache by setting the static default query cache. The caching behaviour should be the same in production and in tests. 18 August 2015, 10:58:04 UTC
1ea9c72 Fix mapper-murmur3 compatibility version. 18 August 2015, 10:30:51 UTC
6fbb39a Fix mapper-murmur3 version. 18 August 2015, 10:24:09 UTC
5209c05 Move the `murmur3` field to a plugin and fix defaults. This move the `murmur3` field to the `mapper-murmur3` plugin and fixes its defaults so that values will not be indexed by default, as the only purpose of this field is to speed up `cardinality` aggregations on high-cardinality string fields, which only requires doc values. I also removed the `rehash` option from the `cardinality` aggregation as it doesn't bring much value (rehashing is cheap) and allowed to remove the coupling between the `cardinality` aggregation and the `murmur3` field. Close #12874 18 August 2015, 10:11:11 UTC
75964ad Use preferIPv6Addresses for sort order, not preferIPv4Stack java.net.preferIPv6Addresses is a better choice. preferIPv4Stack is a nuclear option and you just won't even bind to any IPv6 addresses. This reduces confusion. 18 August 2015, 03:31:15 UTC
4ae9f98 Improve stability of Snapshot/Restore test The restore portion of some snapshot/restore test is failing randomly due to #9421. This change suspends rebalance during snapshot/restore operations until #9421 is fixed. Closes #12855 18 August 2015, 02:10:42 UTC
b3a9abb Fix network binding for ipv4/ipv6 When elasticsearch is configured by interface (or default: loopback interfaces), bind to all addresses on the interface rather than an arbitrary one. If the publish address is not specified, default it from the bound addresses based on the following sort ordering: * ipv4/ipv6 (java.net.preferIPv4Stack, defaults to true) * ordinary addresses * site-local addresses * link local addresses * loopback addresses One one address is published, and multicast is still always over ipv4: these need to be future improvements. Closes #12906 Closes #12915 Squashed commit of the following: commit 7e60833312f329a5749f9a256b9c1331a956d98f Author: Robert Muir <rmuir@apache.org> Date: Mon Aug 17 14:45:33 2015 -0400 fix java 7 compilation oops commit c7b9f3a42058beb061b05c6dd67fd91477fd258a Author: Robert Muir <rmuir@apache.org> Date: Mon Aug 17 14:24:16 2015 -0400 Cleanup/fix logic around custom resolvers commit bd7065f1936e14a29c9eb8fe4ecab0ce512ac08e Author: Robert Muir <rmuir@apache.org> Date: Mon Aug 17 13:29:42 2015 -0400 Add some unit tests for utility methods commit 0faf71cb0ee9a45462d58af3d1bf214e8a79347c Author: Robert Muir <rmuir@apache.org> Date: Mon Aug 17 12:11:48 2015 -0400 localhost all the way down commit e198bb2bc0d1673288b96e07e6e6ad842179978c Merge: b55d092 b93a75f Author: Robert Muir <rmuir@apache.org> Date: Mon Aug 17 12:05:02 2015 -0400 Merge branch 'master' into network_cleanup commit b55d092811d7832bae579c5586e171e9cc1ebe9d Author: Robert Muir <rmuir@apache.org> Date: Mon Aug 17 12:03:03 2015 -0400 fix docs, fix another bug in multicast (publish host = bad here!) commit 88c462eb302b30a82585f95413927a5cbb7d54c4 Author: Robert Muir <rmuir@apache.org> Date: Mon Aug 17 11:50:49 2015 -0400 remove nocommit commit 89547d7b10d68b23d7f24362e1f4782f5e1ca03c Author: Robert Muir <rmuir@apache.org> Date: Mon Aug 17 11:49:35 2015 -0400 fix http too commit 9b9413aca8a3f6397b5031831f910791b685e5be Author: Robert Muir <rmuir@apache.org> Date: Mon Aug 17 11:06:02 2015 -0400 Fix transport / interface code Next up: multicast and then http 18 August 2015, 00:56:36 UTC
dc10dc9 Print es.node.mode if integration tests fail 17 August 2015, 20:51:07 UTC
017e356 Tests: Make a test less flakey EsExecutorsTests had a test that was failing spuriously due to threadpools being threadpools. This weakens the assertions that the test makes to what should always be true. 17 August 2015, 15:28:20 UTC
fc36182 Release script: Set versions for non inherited projects rest-api-spec and dev-tools dont have the elasticsearch-parent set as a parent and thus need a separate mvn run to change the plugin version. 17 August 2015, 15:11:48 UTC
236f03e [Packaging] Fix variable substitution Systemd looks to be a bit less tolerant about $VAR than bash is. Replace $VAR with ${VAR} in places in the systemd configuration file to get the substitutions working. 17 August 2015, 14:18:19 UTC
08b3e3b Prepare release script: fix python compilation error 17 August 2015, 13:53:46 UTC
4e35976 Release: Remove aws-maven plugin/improve release docs In order to have consistent deploys across several repositories, we should deploy to sonatype first, then mirror those contents, and then upload to s3. This means, the aws wagon is not needed anymore. 17 August 2015, 13:39:58 UTC
5ab2355 Make platform specific assumptions in OS & Process probes tests 17 August 2015, 13:33:50 UTC
94fe89b Merge pull request #12922 from xuzha/xu-network Refactor, remove _node/network and _node/stats/network. Closes #12889 , Closes #12922 17 August 2015, 12:52:46 UTC
105575a Elasticsearch bootstrap help shouldn't mention plugins We have a dedicated entry point for that. Closes #12933 17 August 2015, 12:37:23 UTC
abb574a Test: un-mute PluginManagerUnitTests.testSimplifiedNaming 17 August 2015, 12:30:10 UTC
0e31d0e Test: mute PluginManagerUnitTests.testSimplifiedNaming 17 August 2015, 12:05:51 UTC
back to top