Hi,
I upgraded to .16 and I am having a multitude of issues. The biggest
seems to be during inserts:
org.elasticsearch.index.engine.EngineClosedException: [documents][3]
CurrentState[CLOSED]
at
org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:
264)
at
org.elasticsearch.index.shard.service.InternalIndexShard.create(InternalIndexShard.java:
272)
at
org.elasticsearch.action.bulk.TransportShardBulkAction.shardOperationOnPrimary(TransportShardBulkAction.java:
136)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:
418)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction.access
$100(TransportShardReplicationOperationAction.java:233)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction
$AsyncShardOperationAction
$1.run(TransportShardReplicationOperationAction.java:331)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1110)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.OutOfMemoryError: Java heap space
at
org.elasticsearch.common.compress.lzf.BufferRecycler.allocEncodingBuffer(BufferRecycler.java:
76)
at
org.elasticsearch.common.compress.lzf.ChunkEncoder.(ChunkEncoder.java:
69)
at
org.elasticsearch.common.io.stream.LZFStreamOutput.(LZFStreamOutput.java:
46)
at org.elasticsearch.common.io.stream.CachedStreamOutput
$1.initialValue(CachedStreamOutput.java:47)
at org.elasticsearch.common.io.stream.CachedStreamOutput
$1.initialValue(CachedStreamOutput.java:43)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:160)
at java.lang.ThreadLocal.get(ThreadLocal.java:150)
at
org.elasticsearch.common.io.stream.CachedStreamOutput.cachedBytes(CachedStreamOutput.java:
56)
at org.elasticsearch.index.translog.fs.FsTranslog.add(FsTranslog.java:
159)
at
org.elasticsearch.index.engine.robin.RobinEngine.innerCreate(RobinEngine.java:
361)
at
org.elasticsearch.index.engine.robin.RobinEngine.create(RobinEngine.java:
266)
... 8 more
We are also noticing really high CPU usage, 400% (there are 4 cores)
on the Ubuntu machine. Is there a way to query the cluster and find
out what operations it is working on? Here is the cluster health (the
index we use is called documents):
{"cluster_name":"viralheat","master_node":"mjQhyNydTZycnLZseq8lHQ","blocks":
{},"nodes":{"mjQhyNydTZycnLZseq8lHQ":
{"name":"Alchemy","transport_address":"inet[/
192.168.8.230:9300]","attributes":{}}},"metadata":{"templates":
{},"indices":{"twitter":{"state":"open","settings":
{"index.number_of_shards":"5","index.number_of_replicas":"1"},"mappings":
{},"aliases":[]},"documents":{"state":"open","settings":
{"index.number_of_replicas":"0","index.number_of_shards":"5"},"mappings":
{"document":{"properties":{"tags":{"type":"string"},"platform":
{"type":"string"},"utimestamp":{"type":"string"},"document":
{"type":"string"},"created_at":
{"format":"dateOptionalTime","type":"date"},"record_id":
{"type":"string"}}},"documents":{"properties":{"tags":
{"type":"string"},"platform":{"type":"string"},"utimestamp":
{"type":"long"},"document":{"type":"string"},"created_at":
{"format":"dateOptionalTime","type":"date"},"record_id":
{"type":"string"}}}},"aliases":[]}}},"routing_table":{"indices":
{"twitter":{"shards":{"0":
[{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
0,"index":"twitter"},
{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
0,"index":"twitter"}],"1":
[{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
1,"index":"twitter"},
{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
1,"index":"twitter"}],"2":
[{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
2,"index":"twitter"},
{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
2,"index":"twitter"}],"3":
[{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
3,"index":"twitter"},
{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
3,"index":"twitter"}],"4":
[{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
4,"index":"twitter"},
{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
4,"index":"twitter"}]}},"documents":{"shards":{"0":
[{"state":"UNASSIGNED","primary":true,"node":null,"relocating_node":null,"shard":
0,"index":"documents"}],"1":
[{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
1,"index":"documents"}],"2":
[{"state":"UNASSIGNED","primary":true,"node":null,"relocating_node":null,"shard":
2,"index":"documents"}],"3":
[{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
3,"index":"documents"}],"4":
[{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
4,"index":"documents"}]}}}},"routing_nodes":{"unassigned":
[{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
0,"index":"twitter"},
{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
1,"index":"twitter"},
{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
2,"index":"twitter"},
{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
3,"index":"twitter"},
{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":
4,"index":"twitter"},
{"state":"UNASSIGNED","primary":true,"node":null,"relocating_node":null,"shard":
0,"index":"documents"},
{"state":"UNASSIGNED","primary":true,"node":null,"relocating_node":null,"shard":
2,"index":"documents"}],"nodes":{"mjQhyNydTZycnLZseq8lHQ":
[{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
0,"index":"twitter"},
{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
1,"index":"twitter"},
{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
2,"index":"twitter"},
{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
3,"index":"twitter"},
{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
4,"index":"twitter"},
{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
1,"index":"documents"},
{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
3,"index":"documents"},
{"state":"STARTED","primary":true,"node":"mjQhyNydTZycnLZseq8lHQ","relocating_node":null,"shard":
4,"index":"documents"}]}},"allocations":[]}