Hello,
I run on a single local machine.
This is the elasticsearch.yml:
cluster.name: ridvansg
index :
store:
type: memory
When I start I get the followin exception, probably I miss something
in my configuration?
[2011-08-31 14:18:03,212][WARN ][indices.cluster ] [Jaren]
[giftsplusindex][3] failed to start shard
org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException:
[giftsplusindex][3] shard allocated for local recovery (post api),
should exists, but doesn't
at
org.elasticsearch.index.gateway.local.LocalIndexShardGateway.recover(LocalIndexShardGateway.java:
99)
at org.elasticsearch.index.gateway.IndexShardGatewayService
$1.run(IndexShardGatewayService.java:179)
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:662)
Without the index.store.type: memory setting the ES 17.4 works fine.
Hello,
I run on a single local machine.
This is the elasticsearch.yml:
cluster.name: ridvansg
index :
store:
type: memory
When I start I get the followin exception, probably I miss something
in my configuration?
[2011-08-31 14:18:03,212][WARN ][indices.cluster ] [Jaren]
[giftsplusindex][3] failed to start shard
org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException:
[giftsplusindex][3] shard allocated for local recovery (post api),
should exists, but doesn't
at
org.elasticsearch.index.gateway.local.LocalIndexShardGateway.recover(LocalIndexShardGateway.java:
99)
at org.elasticsearch.index.gateway.IndexShardGatewayService
$1.run(IndexShardGatewayService.java:179)
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:662)
Without the index.store.type: memory setting the ES 17.4 works fine.
Hello,
I run on a single local machine.
This is the elasticsearch.yml:
cluster.name: ridvansg
index :
store:
type: memory
When I start I get the followin exception, probably I miss something
in my configuration?
[2011-08-31 14:18:03,212][WARN ][indices.cluster ] [Jaren]
[giftsplusindex][3] failed to start shard
org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException:
[giftsplusindex][3] shard allocated for local recovery (post api),
should exists, but doesn't
at
org.elasticsearch.index.gateway.local.LocalIndexShardGateway.recover(LocalIndexShardGateway.java:
99)
at org.elasticsearch.index.gateway.IndexShardGatewayService
$1.run(IndexShardGatewayService.java:179)
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:662)
Without the index.store.type: memory setting the ES 17.4 works fine.
If you use index.store.type set to memory (which has some problems in the
implementation that I have not tracked yet), then using local gateway (the
default) will not work. Once you create an index with settings, they are set
to those settings, so if you kill elasticsearch and start it again (with
local gateway), you will get failures. If you want a clean elasticsearch
instance, delete teh data dir.
I suggest you use the file system based one, and if you want extra guice,
use the mmapfs option.
On Wed, Aug 31, 2011 at 2:57 PM, Ridvan Gyundogan ridvansg@gmail.comwrote:
I forgot to mention that I restart ES by first kill'ing it. Probably
not the best way?
Hello,
I run on a single local machine.
This is the elasticsearch.yml:
cluster.name: ridvansg
index :
store:
type: memory
When I start I get the followin exception, probably I miss something
in my configuration?
[2011-08-31 14:18:03,212][WARN ][indices.cluster ] [Jaren]
[giftsplusindex][3] failed to start shard
org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException:
[giftsplusindex][3] shard allocated for local recovery (post api),
should exists, but doesn't
at
at org.elasticsearch.index.gateway.IndexShardGatewayService
$1.run(IndexShardGatewayService.java:179)
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:662)
Without the index.store.type: memory setting the ES 17.4 works fine.
If you use index.store.type set to memory (which has some problems in the
implementation that I have not tracked yet), then using local gateway (the
default) will not work. Once you create an index with settings, they are set
to those settings, so if you kill elasticsearch and start it again (with
local gateway), you will get failures. If you want a clean elasticsearch
instance, delete teh data dir.
I suggest you use the file system based one, and if you want extra guice,
use the mmapfs option.
On Wed, Aug 31, 2011 at 2:57 PM, Ridvan Gyundogan ridva...@gmail.comwrote:
I forgot to mention that I restart ES by first kill'ing it. Probably
not the best way?
Hello,
I run on a single local machine.
This is the elasticsearch.yml:
cluster.name: ridvansg
index :
store:
type: memory
When I start I get the followin exception, probably I miss something
in my configuration?
[2011-08-31 14:18:03,212][WARN ][indices.cluster ] [Jaren]
[giftsplusindex][3] failed to start shard
org.elasticsearch.index.gateway.IndexShardGatewayRecoveryException:
[giftsplusindex][3] shard allocated for local recovery (post api),
should exists, but doesn't
at
at org.elasticsearch.index.gateway.IndexShardGatewayService
$1.run(IndexShardGatewayService.java:179)
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:662)
Without the index.store.type: memory setting the ES 17.4 works fine.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.