0.11 release plan


(Shay Banon) #1

Hi,

I plan to release 0.11 sometime next week. It contains tons of new
features (local gateway, bulk API, rivers, and thrift to name a few) and if
you have some free cycles, would love if you could take it for a spin.

-shay.banon


(dbenson) #2

Just a word of caution if you use the Java APIs. You will need to
update your application at the same time as updating all the ES
instances to 0.11.

The XContentType interface has changed slightly:
XContentFactory.contentTextBuilder(XContentType.JSON) ->
XContentFactory.jsonBuilder()
jsonBuilder() -> XContentFactory.smileBuilder()

David


(Pablo Borges) #3

There's also a fix for all of you who use NFS gateway, which regards the
duplicate inodes problem (which im uncertain why it occurs).

For some reason, the shards appear as duplicate files on the NFS client as
you can see below:

# ls -iQ *__6px
19875135 "__6px" 19875135 "__6px"

That will lead to this problem:

[WARN ][index.gateway ] [Margali Szardos] [whatnot][0] failed to
snapshot (scheduled)
org.elasticsearch.index.gateway.IndexShardGatewaySnapshotFailedException:
[whatnot][0] duplicate key: __6px
at
org.elasticsearch.index.gateway.blobstore.BlobStoreIndexShardGateway.snapshot(BlobStoreIndexShardGateway.java:152)
at
org.elasticsearch.index.gateway.IndexShardGatewayService$2.snapshot(IndexShardGatewayService.java:232)
at
org.elasticsearch.index.gateway.IndexShardGatewayService$2.snapshot(IndexShardGatewayService.java:227)
at
org.elasticsearch.index.engine.robin.RobinEngine.snapshot(RobinEngine.java:426)
at
org.elasticsearch.index.shard.service.InternalIndexShard.snapshot(InternalIndexShard.java:372)
at
org.elasticsearch.index.gateway.IndexShardGatewayService.snapshot(IndexShardGatewayService.java:227)
at
org.elasticsearch.index.gateway.IndexShardGatewayService$SnapshotRunnable.run(IndexShardGatewayService.java:320)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.IllegalArgumentException: duplicate key: __6px
at
org.elasticsearch.common.collect.RegularImmutableMap.(RegularImmutableMap.java:62)
at
org.elasticsearch.common.collect.ImmutableMap$Builder.fromEntryList(ImmutableMap.java:212)
at
org.elasticsearch.common.collect.ImmutableMap$Builder.build(ImmutableMap.java:198)
at
org.elasticsearch.common.blobstore.fs.AbstractFsBlobContainer.listBlobs(AbstractFsBlobContainer.java:57)
at
org.elasticsearch.index.gateway.blobstore.BlobStoreIndexShardGateway.doSnapshot(BlobStoreIndexShardGateway.java:164)
at
org.elasticsearch.index.gateway.blobstore.BlobStoreIndexShardGateway.snapshot(BlobStoreIndexShardGateway.java:142)
... 15 more

Shay probably could elaborate on that. :smiley:

Anyway, I'm moving to local gateway soon, as It poses a better alternative
to NFS IMHO. :slight_smile:

Cheers,

On Thu, Sep 23, 2010 at 2:52 PM, Shay Banon shay.banon@elasticsearch.comwrote:

Hi,

I plan to release 0.11 sometime next week. It contains tons of new
features (local gateway, bulk API, rivers, and thrift to name a few) and if
you have some free cycles, would love if you could take it for a spin.

-shay.banon


(system) #4