Mon Feb 23 12:42:12 2015 UTC ()
Update elasticsearch to 1.4.4

Changes in 1.4.4
================

- Introduce TimedPrioritizedRunnable base class to all commands
  that go into InternalClusterService.updateTasksExecutor
- Ensure that we don't pass negative timeInQueue to writeVLong
- Aggregations: Prevent negative intervals in date_histogram
- Packaging: Add antlr and asm dependencies

Changes in 1.4.3
================

- Disable dynamic Groovy scripting by marking Groovy as not sandboxed.

Aggs:
- Add standard error bounds to extended_stats
- nested agg needs to reset root doc between segments.
- Fix handling of multiple buckets being emitted for the same parent doc
- id in nested aggregation
- In reverse nested aggregation, fix handling of the same child doc id
  being processed multiple times.
- The parent filter of the nested aggregator isn't resolved correctly all
  the time
- post collection the children agg should also invoke that phase on its
  wrapped child aggs.
- Validate the aggregation order on unmapped terms in terms agg.

Allocation:
- Weight deltas must be absolute deltas

Core:
- don't throttle recovery indexing operations
- Fix Store.checkIntegrity() for lucene 3.x index files.
- Don't verify adler32 for lucene 3.x terms dict/terms index.
- Mapping update task back references already closed index shard
- Disable auto gen id optimization
- Verify the index state of concrete indices after alias resolution
- ignore_unavailable shouldn't ignore closed indices
- Terms filter lookup caching should cache values, not filters.

Discovery:
- publishing timeout to log at WARN and indicate pending nodes
- check index uuid when merging incoming cluster state into the local one

Engine:
- back port fix to a potential dead lock when failing engine during
  COMMIT_TRANSLOG flush

Geo:
- Update GeoPolygonFilter to handle polygons crossing the dateline
- GeoPolygonFilter not properly handling dateline and pole crossing
- Removing unnecessary orientation enumerators
- Add optional left/right parameter to GeoJSON
- Feature/Fix for OGC compliant polygons failing with ambiguity
- Correct bounding box logic for GeometryCollection type
- Throw helpful exception for Polygons with holes outside of shell
- GIS envelope validation

Indices API:
- Fix to make GET Index API consistent with docs
- Fix wrong search stats groups

Internal:
- ClusterInfoService should wipe local cache upon unknown exceptions
- Log when upgrade starts and stops
- promptly cleanup updateTask timeout handler
- Avoid unnecessary utf8 conversion when creating ScriptDocValues for a
  string field.

Logging:
- improve logging messages added in
- Better timeout logging on stalled recovery and exception
- add logging around gateway shard allocation

Mapping:
- Throw StrictDynamicMappingException exception
- Include currentFieldName into ObjectMapper errors
- Explicit _timestamp default null is set to now
- Using default=null for _timestamp field creates a index loss on restart
- Reencode transformed result with same xcontent
- serialize doc values settings for _timestamp
- Mapping With a null Default Timestamp Causes NullPointerException on Merge

Nodes Stats:
- Fix open file descriptors count on Windows

Parent/child:
- Fix concurrency issues of the _parent field data.

Percolator:
- Support encoded body as query string param consistently
- Fixed bug when using multi percolate api with routing

Plugins:
- Installation failed when directories are on different file systems
- NPE when plugins dir is inaccessible

Query cache:
- Remove query-cache serialization optimization.
- Queries are never cached when date math expressions are used (including
  exact dates)

Query DSL:
- Expose max_determinized_states in regexp query, filter

Recovery:
- add a timeout to local mapping change check
- flush immediately after a remote recovery finishes (unless there are
  ongoing ones)

REST:
- Add fielddata_fields to the REST spec

Scripting:
- Make script.groovy.sandbox.method_blacklist_patch truly append-only
- Make groovy sandbox method blacklist dynamically additive
- Add explainable script again
- Disallow method pointer expressions in Groovy scripting
- Make _score in groovy scripts comparable

Search:
- Make sure that named filters/ queries defined in a wrapped
  query/filters aren't lost
- Fix paging on strings sorted in ascending order.
- Function score and optional weight : avg score is wrong

Settings:
- Reset TieredMP settings only if the value actually changed
- cluster.routing.allocation.disk.threshold_enabled accepts wrong values

Snapshot status api:
- make sure headers are handed over to inner nodes request

Stats:
- Relax restrictions on filesystem size reporting in DiskUsage

Tribe node:
- remove closed indices from cluster state

Upgrade:
- Change wait_for_completion to default to true
- Fix version check in bytes to upgrade that spans major versions

Windows:
- makes elasticsearch.bat more friendly to automated processes


(fhajny)
diff -r1.8 -r1.9 pkgsrc/databases/elasticsearch/Makefile
diff -r1.3 -r1.4 pkgsrc/databases/elasticsearch/PLIST
diff -r1.7 -r1.8 pkgsrc/databases/elasticsearch/distinfo

cvs diff -r1.8 -r1.9 pkgsrc/databases/elasticsearch/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/elasticsearch/Makefile 2015/01/21 15:42:50 1.8
+++ pkgsrc/databases/elasticsearch/Makefile 2015/02/23 12:42:12 1.9
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.8 2015/01/21 15:42:50 fhajny Exp $ 1# $NetBSD: Makefile,v 1.9 2015/02/23 12:42:12 fhajny Exp $
2 2
3DISTNAME= elasticsearch-1.4.2 3DISTNAME= elasticsearch-1.4.4
4CATEGORIES= textproc 4CATEGORIES= textproc
5MASTER_SITES= https://download.elasticsearch.org/elasticsearch/elasticsearch/ 5MASTER_SITES= https://download.elasticsearch.org/elasticsearch/elasticsearch/
6 6
7MAINTAINER= imil@NetBSD.org 7MAINTAINER= imil@NetBSD.org
8HOMEPAGE= http://www.elasticsearch.org/ 8HOMEPAGE= http://www.elasticsearch.org/
9COMMENT= Distributed RESTful Search Engine 9COMMENT= Distributed RESTful Search Engine
10LICENSE= apache-2.0 10LICENSE= apache-2.0
11 11
12USE_LANGUAGES= # none 12USE_LANGUAGES= # none
13USE_JAVA= run 13USE_JAVA= run
14USE_JAVA2= yes 14USE_JAVA2= yes
15NO_BUILD= yes 15NO_BUILD= yes
16 16

cvs diff -r1.3 -r1.4 pkgsrc/databases/elasticsearch/PLIST (expand / switch to unified diff)

--- pkgsrc/databases/elasticsearch/PLIST 2014/11/13 10:02:05 1.3
+++ pkgsrc/databases/elasticsearch/PLIST 2015/02/23 12:42:12 1.4
@@ -1,34 +1,34 @@ @@ -1,34 +1,34 @@
1@comment $NetBSD: PLIST,v 1.3 2014/11/13 10:02:05 fhajny Exp $ 1@comment $NetBSD: PLIST,v 1.4 2015/02/23 12:42:12 fhajny Exp $
2lib/elasticsearch/antlr-runtime-3.5.jar 2lib/elasticsearch/antlr-runtime-3.5.jar
3lib/elasticsearch/asm-4.1.jar 3lib/elasticsearch/asm-4.1.jar
4lib/elasticsearch/asm-commons-4.1.jar 4lib/elasticsearch/asm-commons-4.1.jar
5lib/elasticsearch/${PKGNAME}.jar 5lib/elasticsearch/${PKGNAME}.jar
6lib/elasticsearch/groovy-all-2.3.2.jar 6lib/elasticsearch/groovy-all-2.3.2.jar
7lib/elasticsearch/jna-4.1.0.jar 7lib/elasticsearch/jna-4.1.0.jar
8lib/elasticsearch/jts-1.13.jar 8lib/elasticsearch/jts-1.13.jar
9lib/elasticsearch/log4j-1.2.17.jar 9lib/elasticsearch/log4j-1.2.17.jar
10lib/elasticsearch/lucene-analyzers-common-4.10.2.jar 10lib/elasticsearch/lucene-analyzers-common-4.10.3.jar
11lib/elasticsearch/lucene-core-4.10.2.jar 11lib/elasticsearch/lucene-core-4.10.3.jar
12lib/elasticsearch/lucene-expressions-4.10.2.jar 12lib/elasticsearch/lucene-expressions-4.10.3.jar
13lib/elasticsearch/lucene-grouping-4.10.2.jar 13lib/elasticsearch/lucene-grouping-4.10.3.jar
14lib/elasticsearch/lucene-highlighter-4.10.2.jar 14lib/elasticsearch/lucene-highlighter-4.10.3.jar
15lib/elasticsearch/lucene-join-4.10.2.jar 15lib/elasticsearch/lucene-join-4.10.3.jar
16lib/elasticsearch/lucene-memory-4.10.2.jar 16lib/elasticsearch/lucene-memory-4.10.3.jar
17lib/elasticsearch/lucene-misc-4.10.2.jar 17lib/elasticsearch/lucene-misc-4.10.3.jar
18lib/elasticsearch/lucene-queries-4.10.2.jar 18lib/elasticsearch/lucene-queries-4.10.3.jar
19lib/elasticsearch/lucene-queryparser-4.10.2.jar 19lib/elasticsearch/lucene-queryparser-4.10.3.jar
20lib/elasticsearch/lucene-sandbox-4.10.2.jar 20lib/elasticsearch/lucene-sandbox-4.10.3.jar
21lib/elasticsearch/lucene-spatial-4.10.2.jar 21lib/elasticsearch/lucene-spatial-4.10.3.jar
22lib/elasticsearch/lucene-suggest-4.10.2.jar 22lib/elasticsearch/lucene-suggest-4.10.3.jar
23${PLIST.sigar}lib/elasticsearch/sigar/${SIGAR_FILE} 23${PLIST.sigar}lib/elasticsearch/sigar/${SIGAR_FILE}
24${PLIST.sigar}lib/elasticsearch/sigar/sigar-1.6.4.jar 24${PLIST.sigar}lib/elasticsearch/sigar/sigar-1.6.4.jar
25lib/elasticsearch/spatial4j-0.4.1.jar 25lib/elasticsearch/spatial4j-0.4.1.jar
26share/doc/elasticsearch/LICENSE.txt 26share/doc/elasticsearch/LICENSE.txt
27share/doc/elasticsearch/NOTICE.txt 27share/doc/elasticsearch/NOTICE.txt
28share/doc/elasticsearch/README.textile 28share/doc/elasticsearch/README.textile
29share/elasticsearch/elasticsearch 29share/elasticsearch/elasticsearch
30share/elasticsearch/elasticsearch.in.sh 30share/elasticsearch/elasticsearch.in.sh
31share/elasticsearch/plugin 31share/elasticsearch/plugin
32share/examples/elasticsearch/elasticsearch.yml 32share/examples/elasticsearch/elasticsearch.yml
33share/examples/elasticsearch/logging.yml 33share/examples/elasticsearch/logging.yml
34@pkgdir lib/elasticsearch/plugins 34@pkgdir lib/elasticsearch/plugins

cvs diff -r1.7 -r1.8 pkgsrc/databases/elasticsearch/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/elasticsearch/distinfo 2015/01/21 15:42:50 1.7
+++ pkgsrc/databases/elasticsearch/distinfo 2015/02/23 12:42:12 1.8
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.7 2015/01/21 15:42:50 fhajny Exp $ 1$NetBSD: distinfo,v 1.8 2015/02/23 12:42:12 fhajny Exp $
2 2
3SHA1 (elasticsearch-1.4.2.tar.gz) = ae381615ec7f657e2a08f1d91758714f13d11693 3SHA1 (elasticsearch-1.4.4.tar.gz) = 963415a9114ecf0b7dd1ae43a316e339534b8f31
4RMD160 (elasticsearch-1.4.2.tar.gz) = f01a4ba8bce7bf0874c5a2c1f2c31df8a3882837 4RMD160 (elasticsearch-1.4.4.tar.gz) = e12133d7493a903869720c63416ba23c501765de
5Size (elasticsearch-1.4.2.tar.gz) = 27734207 bytes 5Size (elasticsearch-1.4.4.tar.gz) = 27900004 bytes
6SHA1 (patch-config_elasticsearch.yml) = 769fdd62aacdc4743979edbc986e983a5c42a7f8 6SHA1 (patch-config_elasticsearch.yml) = 769fdd62aacdc4743979edbc986e983a5c42a7f8