Created
December 10, 2010 17:02
-
-
Save hartzler/736467 to your computer and use it in GitHub Desktop.
demonstration of open/close API nuking local gateway index
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
network: | |
tcp: | |
keep_alive: true | |
host: 127.0.0.1 | |
cluster: | |
name: development | |
gateway: | |
type: local | |
index: | |
number_of_shards: 1 | |
number_of_replicas: 0 | |
robin: | |
refreshInterval: -1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create index 1 | |
# {"ok":true,"_index":"1","_type":"1","_id":"1"} | |
curl "http://localhost:9200/1/1/1?refresh=true" -XPOST -d '{"name":"foo"}' | |
# verify index worked (returns 1 hit) | |
# {"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":1,"max_score":0.2169777,"hits":[{"_index":"1","_type":"1","_id":"1","_score":0.2169777, "_source" : {"name":"foo"}}]}} | |
curl "http://localhost:9200/1/1/_search?q=foo" -XGET | |
# close index 1 | |
# {"ok":true,"acknowledged":true} | |
curl "http://localhost:9200/1/_close" -XPOST | |
# create new index 2 (this deletes closed index 1) | |
# {"ok":true,"_index":"2","_type":"1","_id":"1"} | |
curl "http://localhost:9200/2/1/1" -XPOST -d '{"name":"foo"}' | |
# open index 1 | |
# {"ok":true,"acknowledged":true} | |
curl "http://localhost:9200/1/_open" -XPOST | |
# wait for index to open/recover | |
sleep 2 | |
# show index 1 deleted (returns 0 hits) | |
# {"_shards":{"total":1,"successful":1,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}} | |
curl "http://localhost:9200/1/1/_search?q=foo" -XGET |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gratch:elasticsearch matt$ ./go.sh -Dname=N0 | |
[2010-12-10 11:00:09,539][INFO ][node ] [N0] {elasticsearch/0.13.1}[2024]: initializing ... | |
[2010-12-10 11:00:09,553][INFO ][plugins ] [N0] loaded [cassandra-gateway, lru-client] | |
[2010-12-10 11:00:11,060][DEBUG][cache.memory ] [N0] using bytebuffer cache with buffer_size [100kb], cache_size [200mb], direct [true], warm_cache [false] | |
[2010-12-10 11:00:11,089][DEBUG][threadpool.cached ] [N0] Initializing cached thread pool with keep_alive[1m], scheduled_size[20] | |
[2010-12-10 11:00:11,126][DEBUG][discovery.zen.ping.multicast] [N0] using group [224.2.2.4], with port [54328], ttl [3], and address [null] | |
[2010-12-10 11:00:11,131][DEBUG][discovery.zen.ping.unicast] [N0] using initial hosts [] | |
[2010-12-10 11:00:11,132][DEBUG][discovery.zen ] [N0] using initial_ping_timeout [3s] | |
[2010-12-10 11:00:11,133][DEBUG][discovery.zen.fd ] [N0] [master] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] | |
[2010-12-10 11:00:11,136][DEBUG][discovery.zen.fd ] [N0] [node ] uses ping_interval [1s], ping_timeout [30s], ping_retries [3] | |
[2010-12-10 11:00:11,172][DEBUG][env ] [N0] using node location [/Users/matt/git/elasticsearch/build/distributions/exploded/data/development/nodes/0], local_node_id [0] | |
[2010-12-10 11:00:11,253][DEBUG][monitor.network ] [N0] net_info | |
host [gratch.local] | |
vmnet1 display_name [vmnet1] | |
address [/192.168.204.1] | |
mtu [1500] multicast [true] ptp [false] loopback [false] up [true] virtual [false] | |
vmnet8 display_name [vmnet8] | |
address [/192.168.98.1] | |
mtu [1500] multicast [true] ptp [false] loopback [false] up [true] virtual [false] | |
en1 display_name [en1] | |
address [/192.168.1.105] [/fe80:0:0:0:fa1e:dfff:fee4:f141%5] | |
mtu [1500] multicast [true] ptp [false] loopback [false] up [true] virtual [false] | |
lo0 display_name [lo0] | |
address [/127.0.0.1] [/fe80:0:0:0:0:0:0:1%1] [/0:0:0:0:0:0:0:1] | |
mtu [16384] multicast [true] ptp [false] loopback [true] up [true] virtual [false] | |
[2010-12-10 11:00:11,471][DEBUG][indices.memory ] [N0] using index_buffer_size [101.9mb], with min_shard_index_buffer_size [4mb] | |
[2010-12-10 11:00:11,472][INFO ][node ] [N0] {elasticsearch/0.13.1}[2024]: initialized | |
[2010-12-10 11:00:11,472][INFO ][node ] [N0] {elasticsearch/0.13.1}[2024]: starting ... | |
[2010-12-10 11:00:11,497][DEBUG][netty.channel.socket.nio.NioProviderMetadata] Using the autodetected NIO constraint level: 0 | |
[2010-12-10 11:00:11,545][DEBUG][transport.netty ] [N0] Bound to address [/127.0.0.1:9300] | |
[2010-12-10 11:00:11,546][INFO ][transport ] [N0] bound_address {inet[/127.0.0.1:9300]}, publish_address {inet[/127.0.0.1:9300]} | |
[2010-12-10 11:00:14,575][DEBUG][discovery.zen ] [N0] ping responses: {none} | |
[2010-12-10 11:00:14,579][DEBUG][cluster.service ] [N0] processing [zen-disco-join (elected_as_master)]: execute | |
[2010-12-10 11:00:14,582][DEBUG][cluster.service ] [N0] cluster state updated, version [1], source [zen-disco-join (elected_as_master)] | |
[2010-12-10 11:00:14,583][INFO ][cluster.service ] [N0] new_master [N0][7OK6caOsRDqEUI_ylsTFDw][inet[/127.0.0.1:9300]], reason: zen-disco-join (elected_as_master) | |
[2010-12-10 11:00:14,607][DEBUG][transport.netty ] [N0] Connected to node [[N0][7OK6caOsRDqEUI_ylsTFDw][inet[/127.0.0.1:9300]]] | |
[2010-12-10 11:00:14,609][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:14,610][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:14,610][DEBUG][cluster.service ] [N0] processing [zen-disco-join (elected_as_master)]: done applying updated cluster_state | |
[2010-12-10 11:00:14,610][INFO ][discovery ] [N0] development/7OK6caOsRDqEUI_ylsTFDw | |
[2010-12-10 11:00:14,615][DEBUG][cluster.service ] [N0] processing [gateway (block: not recovered from gateway)]: execute | |
[2010-12-10 11:00:14,615][DEBUG][cluster.service ] [N0] cluster state updated, version [2], source [gateway (block: not recovered from gateway)] | |
[2010-12-10 11:00:14,616][DEBUG][cluster.service ] [N0] processing [gateway (block: not recovered from gateway)]: done applying updated cluster_state | |
[2010-12-10 11:00:14,616][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:14,617][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:14,619][DEBUG][gateway.local ] [N0] no state elected | |
[2010-12-10 11:00:14,619][DEBUG][cluster.service ] [N0] processing [gateway (marked as read, reason=success)]: execute | |
[2010-12-10 11:00:14,620][DEBUG][cluster.service ] [N0] cluster state updated, version [3], source [gateway (marked as read, reason=success)] | |
[2010-12-10 11:00:14,623][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:14,624][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:14,625][DEBUG][cluster.service ] [N0] processing [gateway (marked as read, reason=success)]: done applying updated cluster_state | |
[2010-12-10 11:00:14,637][INFO ][http ] [N0] bound_address {inet[/127.0.0.1:9200]}, publish_address {inet[/127.0.0.1:9200]} | |
[2010-12-10 11:00:14,651][INFO ][node ] [N0] {elasticsearch/0.13.1}[2024]: started | |
[2010-12-10 11:00:24,611][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: execute | |
[2010-12-10 11:00:24,613][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: no change in cluster_state | |
[2010-12-10 11:00:32,732][DEBUG][cluster.service ] [N0] processing [create-index [1], cause [auto(index api)]]: execute | |
[2010-12-10 11:00:32,733][DEBUG][indices ] [N0] creating Index [1], shards [1]/[0] | |
[2010-12-10 11:00:33,441][DEBUG][index.mapper ] [N0] [1] using dynamic[true], default mapping: location[null] and source[{ | |
"_default_" : { | |
} | |
}] | |
[2010-12-10 11:00:33,480][INFO ][cluster.metadata ] [N0] [1] creating index, cause [auto(index api)], shards [1]/[0], mappings [] | |
[2010-12-10 11:00:33,480][DEBUG][cluster.service ] [N0] cluster state updated, version [4], source [create-index [1], cause [auto(index api)]] | |
[2010-12-10 11:00:33,480][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:33,481][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:33,482][DEBUG][indices.cluster ] [N0] [1] cleaning index (no shards allocated) | |
[2010-12-10 11:00:33,484][DEBUG][cluster.service ] [N0] processing [create-index [1], cause [auto(index api)]]: done applying updated cluster_state | |
[2010-12-10 11:00:33,484][DEBUG][cluster.service ] [N0] processing [reroute after index [1] creation]: execute | |
[2010-12-10 11:00:33,492][DEBUG][cluster.service ] [N0] cluster state updated, version [5], source [reroute after index [1] creation] | |
[2010-12-10 11:00:33,492][DEBUG][indices.cluster ] [N0] [1] creating index | |
[2010-12-10 11:00:33,492][DEBUG][indices ] [N0] creating Index [1], shards [1]/[0] | |
[2010-12-10 11:00:33,735][DEBUG][index.mapper ] [N0] [1] using dynamic[true], default mapping: location[null] and source[{ | |
"_default_" : { | |
} | |
}] | |
[2010-12-10 11:00:33,771][DEBUG][indices.cluster ] [N0] [1][0] creating shard | |
[2010-12-10 11:00:33,771][DEBUG][index.service ] [N0] [1] creating shard_id [0] | |
[2010-12-10 11:00:33,900][DEBUG][index.store.fs ] [N0] [1][0] using [nio_fs] store with path [/Users/matt/git/elasticsearch/build/distributions/exploded/data/development/nodes/0/indices/1/0/index] | |
[2010-12-10 11:00:33,900][DEBUG][index.deletionpolicy ] [N0] [1][0] Using [keep_only_last] deletion policy | |
[2010-12-10 11:00:33,901][DEBUG][index.merge.policy ] [N0] [1][0] using [log_bytes_size] merge policy with merge_factor[10], min_merge_size[1.5mb], max_merge_size[8.5E9gb], max_merge_docs[2147483647] calibrate_size_by_deletes[true] | |
[2010-12-10 11:00:33,901][DEBUG][index.merge.scheduler ] [N0] [1][0] using [concurrent] merge scheduler with max_thread_count[1] | |
[2010-12-10 11:00:33,901][DEBUG][index.shard.service ] [N0] [1][0] state: [CREATED] | |
[2010-12-10 11:00:33,907][DEBUG][index.shard.service ] [N0] [1][0] state: [CREATED]->[RECOVERING] | |
[2010-12-10 11:00:33,908][DEBUG][index.gateway ] [N0] [1][0] starting recovery from local ... | |
[2010-12-10 11:00:33,911][INFO ][cluster.metadata ] [N0] [1] created and added to cluster_state | |
[2010-12-10 11:00:33,912][DEBUG][cluster.service ] [N0] processing [reroute after index [1] creation]: done applying updated cluster_state | |
[2010-12-10 11:00:33,912][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: execute | |
[2010-12-10 11:00:33,912][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: no change in cluster_state | |
[2010-12-10 11:00:33,917][DEBUG][index.engine.robin ] [N0] [1][0] Starting engine with ram_buffer_size[64mb], refresh_interval[1s] | |
[2010-12-10 11:00:34,038][DEBUG][index.shard.service ] [N0] [1][0] Scheduling refresher every 1s | |
[2010-12-10 11:00:34,038][DEBUG][index.shard.service ] [N0] [1][0] state: [RECOVERING]->[STARTED] | |
[2010-12-10 11:00:34,039][DEBUG][index.gateway ] [N0] [1][0] recovery completed from local, took [130ms] | |
index : files [0] with total_size [0b], took[6ms] | |
: recovered_files [0] with total_size [0b] | |
: reusing_files [0] with total_size [0b] | |
translog : number_of_operations [0], took [128ms] | |
[2010-12-10 11:00:34,039][DEBUG][cluster.action.shard ] [N0] sending shard started for [1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING], reason [after recovery from gateway] | |
[2010-12-10 11:00:34,039][DEBUG][cluster.action.shard ] [N0] received shard started for [1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING], reason [after recovery from gateway] | |
[2010-12-10 11:00:34,041][DEBUG][cluster.service ] [N0] processing [shard-started ([1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING]), reason [after recovery from gateway]]: execute | |
[2010-12-10 11:00:34,041][DEBUG][cluster.action.shard ] [N0] applying started shard [1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING], reason [after recovery from gateway] | |
[2010-12-10 11:00:34,042][DEBUG][cluster.service ] [N0] cluster state updated, version [6], source [shard-started ([1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING]), reason [after recovery from gateway]] | |
[2010-12-10 11:00:34,044][DEBUG][cluster.service ] [N0] processing [shard-started ([1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING]), reason [after recovery from gateway]]: done applying updated cluster_state | |
[2010-12-10 11:00:34,044][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: execute | |
[2010-12-10 11:00:34,044][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: no change in cluster_state | |
[2010-12-10 11:00:34,171][DEBUG][cluster.service ] [N0] processing [update-mapping [1][1]]: execute | |
[2010-12-10 11:00:34,176][DEBUG][cluster.metadata ] [N0] [1] update_mapping [1] (dynamic) with source [{"1":{"properties":{"name":{"type":"string"}}}}] | |
[2010-12-10 11:00:34,179][DEBUG][cluster.service ] [N0] cluster state updated, version [7], source [update-mapping [1][1]] | |
[2010-12-10 11:00:34,180][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:34,180][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:34,181][DEBUG][cluster.service ] [N0] processing [update-mapping [1][1]]: done applying updated cluster_state | |
[2010-12-10 11:00:34,279][DEBUG][cluster.service ] [N0] processing [close-index [1]]: execute | |
[2010-12-10 11:00:34,280][INFO ][cluster.metadata ] [N0] [1] closing index | |
[2010-12-10 11:00:34,280][DEBUG][cluster.service ] [N0] cluster state updated, version [8], source [close-index [1]] | |
[2010-12-10 11:00:34,280][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:34,281][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:34,281][DEBUG][cluster.service ] [N0] processing [close-index [1]]: done applying updated cluster_state | |
[2010-12-10 11:00:34,281][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: execute | |
[2010-12-10 11:00:34,282][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: no change in cluster_state | |
[2010-12-10 11:00:34,293][DEBUG][cluster.service ] [N0] processing [create-index [2], cause [auto(index api)]]: execute | |
[2010-12-10 11:00:34,294][DEBUG][indices ] [N0] creating Index [2], shards [1]/[0] | |
[2010-12-10 11:00:34,575][DEBUG][index.mapper ] [N0] [2] using dynamic[true], default mapping: location[null] and source[{ | |
"_default_" : { | |
} | |
}] | |
[2010-12-10 11:00:34,618][INFO ][cluster.metadata ] [N0] [2] creating index, cause [auto(index api)], shards [1]/[0], mappings [] | |
[2010-12-10 11:00:34,618][DEBUG][cluster.service ] [N0] cluster state updated, version [9], source [create-index [2], cause [auto(index api)]] | |
[2010-12-10 11:00:34,619][DEBUG][indices.cluster ] [N0] [2] cleaning index (no shards allocated) | |
[2010-12-10 11:00:34,619][DEBUG][cluster.service ] [N0] processing [create-index [2], cause [auto(index api)]]: done applying updated cluster_state | |
[2010-12-10 11:00:34,619][DEBUG][cluster.service ] [N0] processing [reroute after index [2] creation]: execute | |
[2010-12-10 11:00:34,620][DEBUG][cluster.service ] [N0] cluster state updated, version [10], source [reroute after index [2] creation] | |
[2010-12-10 11:00:34,621][DEBUG][indices.cluster ] [N0] [2] creating index | |
[2010-12-10 11:00:34,621][DEBUG][indices ] [N0] creating Index [2], shards [1]/[0] | |
[2010-12-10 11:00:34,623][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:34,623][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:34,843][DEBUG][index.mapper ] [N0] [2] using dynamic[true], default mapping: location[null] and source[{ | |
"_default_" : { | |
} | |
}] | |
[2010-12-10 11:00:34,859][DEBUG][indices.cluster ] [N0] [2][0] creating shard | |
[2010-12-10 11:00:34,859][DEBUG][index.service ] [N0] [2] creating shard_id [0] | |
[2010-12-10 11:00:34,869][DEBUG][index.store.fs ] [N0] [2][0] using [nio_fs] store with path [/Users/matt/git/elasticsearch/build/distributions/exploded/data/development/nodes/0/indices/2/0/index] | |
[2010-12-10 11:00:34,869][DEBUG][index.deletionpolicy ] [N0] [2][0] Using [keep_only_last] deletion policy | |
[2010-12-10 11:00:34,869][DEBUG][index.merge.policy ] [N0] [2][0] using [log_bytes_size] merge policy with merge_factor[10], min_merge_size[1.5mb], max_merge_size[8.5E9gb], max_merge_docs[2147483647] calibrate_size_by_deletes[true] | |
[2010-12-10 11:00:34,869][DEBUG][index.merge.scheduler ] [N0] [2][0] using [concurrent] merge scheduler with max_thread_count[1] | |
[2010-12-10 11:00:34,870][DEBUG][index.shard.service ] [N0] [2][0] state: [CREATED] | |
[2010-12-10 11:00:34,891][DEBUG][indices.memory ] [N0] recalculating shard indexing buffer (reason=created_shard[2][0]), total is [101.9mb] with [1] shards, each shard set to [101.9mb] | |
[2010-12-10 11:00:34,891][DEBUG][index.shard.service ] [N0] [2][0] state: [CREATED]->[RECOVERING] | |
[2010-12-10 11:00:34,891][DEBUG][index.gateway ] [N0] [2][0] starting recovery from local ... | |
[2010-12-10 11:00:34,893][DEBUG][index.engine.robin ] [N0] [2][0] Starting engine with ram_buffer_size[64mb], refresh_interval[1s] | |
[2010-12-10 11:00:34,894][DEBUG][indices.cluster ] [N0] [1][0] deleting shard | |
[2010-12-10 11:00:34,895][DEBUG][index.service ] [N0] [1] deleting shard_id [0] | |
[2010-12-10 11:00:34,895][DEBUG][index.shard.service ] [N0] [1][0] state: [STARTED]->[CLOSED] | |
[2010-12-10 11:00:34,903][DEBUG][index.shard.service ] [N0] [2][0] Scheduling refresher every 1s | |
[2010-12-10 11:00:34,904][DEBUG][index.shard.service ] [N0] [2][0] state: [RECOVERING]->[STARTED] | |
[2010-12-10 11:00:34,904][DEBUG][index.gateway ] [N0] [2][0] recovery completed from local, took [13ms] | |
index : files [0] with total_size [0b], took[0s] | |
: recovered_files [0] with total_size [0b] | |
: reusing_files [0] with total_size [0b] | |
translog : number_of_operations [0], took [11ms] | |
[2010-12-10 11:00:34,911][DEBUG][cluster.action.shard ] [N0] sending shard started for [2][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING], reason [after recovery from gateway] | |
[2010-12-10 11:00:34,911][DEBUG][cluster.action.shard ] [N0] received shard started for [2][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING], reason [after recovery from gateway] | |
[2010-12-10 11:00:34,915][DEBUG][indices.memory ] [N0] recalculating shard indexing buffer (reason=removed_shard[1][0]), total is [101.9mb] with [1] shards, each shard set to [101.9mb] | |
[2010-12-10 11:00:34,916][DEBUG][indices.cluster ] [N0] [1] cleaning index (no shards allocated) | |
[2010-12-10 11:00:34,916][INFO ][cluster.metadata ] [N0] [2] created and added to cluster_state | |
[2010-12-10 11:00:34,917][DEBUG][cluster.service ] [N0] processing [reroute after index [2] creation]: done applying updated cluster_state | |
[2010-12-10 11:00:34,917][DEBUG][cluster.service ] [N0] processing [shard-started ([2][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING]), reason [after recovery from gateway]]: execute | |
[2010-12-10 11:00:34,917][DEBUG][cluster.action.shard ] [N0] applying started shard [2][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING], reason [after recovery from gateway] | |
[2010-12-10 11:00:34,917][DEBUG][cluster.service ] [N0] cluster state updated, version [11], source [shard-started ([2][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING]), reason [after recovery from gateway]] | |
[2010-12-10 11:00:34,918][DEBUG][cluster.service ] [N0] processing [shard-started ([2][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING]), reason [after recovery from gateway]]: done applying updated cluster_state | |
[2010-12-10 11:00:34,918][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: execute | |
[2010-12-10 11:00:34,919][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: no change in cluster_state | |
[2010-12-10 11:00:34,919][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: execute | |
[2010-12-10 11:00:34,919][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: no change in cluster_state | |
[2010-12-10 11:00:34,921][DEBUG][cluster.service ] [N0] processing [update-mapping [2][1]]: execute | |
[2010-12-10 11:00:34,930][DEBUG][cluster.metadata ] [N0] [2] update_mapping [1] (dynamic) with source [{"1":{"properties":{"name":{"type":"string"}}}}] | |
[2010-12-10 11:00:34,930][DEBUG][cluster.service ] [N0] cluster state updated, version [12], source [update-mapping [2][1]] | |
[2010-12-10 11:00:34,931][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:34,931][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:34,931][DEBUG][cluster.service ] [N0] processing [update-mapping [2][1]]: done applying updated cluster_state | |
[2010-12-10 11:00:34,937][DEBUG][cluster.service ] [N0] processing [open-index [1]]: execute | |
[2010-12-10 11:00:34,938][INFO ][cluster.metadata ] [N0] [1] opening index | |
[2010-12-10 11:00:34,938][DEBUG][cluster.service ] [N0] cluster state updated, version [13], source [open-index [1]] | |
[2010-12-10 11:00:34,940][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:34,940][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:34,946][DEBUG][cluster.service ] [N0] processing [open-index [1]]: done applying updated cluster_state | |
[2010-12-10 11:00:34,946][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: execute | |
[2010-12-10 11:00:34,948][DEBUG][gateway.local ] [N0] [1][0] initial allocation to [[N0][7OK6caOsRDqEUI_ylsTFDw][inet[/127.0.0.1:9300]]] | |
[2010-12-10 11:00:34,948][DEBUG][cluster.service ] [N0] cluster state updated, version [14], source [routing-table-updater] | |
[2010-12-10 11:00:34,949][DEBUG][indices.cluster ] [N0] [1] creating index | |
[2010-12-10 11:00:34,949][DEBUG][indices ] [N0] creating Index [1], shards [1]/[0] | |
[2010-12-10 11:00:35,163][DEBUG][index.mapper ] [N0] [1] using dynamic[true], default mapping: location[null] and source[{ | |
"_default_" : { | |
} | |
}] | |
[2010-12-10 11:00:35,177][DEBUG][indices.cluster ] [N0] [1] adding mapping [1], source [{"1":{"properties":{"name":{"type":"string"}}}}] | |
[2010-12-10 11:00:35,179][DEBUG][indices.cluster ] [N0] [1][0] creating shard | |
[2010-12-10 11:00:35,179][DEBUG][index.service ] [N0] [1] creating shard_id [0] | |
[2010-12-10 11:00:35,188][DEBUG][index.store.fs ] [N0] [1][0] using [nio_fs] store with path [/Users/matt/git/elasticsearch/build/distributions/exploded/data/development/nodes/0/indices/1/0/index] | |
[2010-12-10 11:00:35,188][DEBUG][index.deletionpolicy ] [N0] [1][0] Using [keep_only_last] deletion policy | |
[2010-12-10 11:00:35,188][DEBUG][index.merge.policy ] [N0] [1][0] using [log_bytes_size] merge policy with merge_factor[10], min_merge_size[1.5mb], max_merge_size[8.5E9gb], max_merge_docs[2147483647] calibrate_size_by_deletes[true] | |
[2010-12-10 11:00:35,188][DEBUG][index.merge.scheduler ] [N0] [1][0] using [concurrent] merge scheduler with max_thread_count[1] | |
[2010-12-10 11:00:35,189][DEBUG][index.shard.service ] [N0] [1][0] state: [CREATED] | |
[2010-12-10 11:00:35,191][DEBUG][indices.memory ] [N0] recalculating shard indexing buffer (reason=created_shard[1][0]), total is [101.9mb] with [1] shards, each shard set to [101.9mb] | |
[2010-12-10 11:00:35,191][DEBUG][index.shard.service ] [N0] [1][0] state: [CREATED]->[RECOVERING] | |
[2010-12-10 11:00:35,191][DEBUG][index.gateway ] [N0] [1][0] starting recovery from local ... | |
[2010-12-10 11:00:35,191][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: done applying updated cluster_state | |
[2010-12-10 11:00:35,193][DEBUG][index.engine.robin ] [N0] [1][0] Starting engine with ram_buffer_size[64mb], refresh_interval[1s] | |
[2010-12-10 11:00:35,196][DEBUG][index.shard.service ] [N0] [1][0] Scheduling refresher every 1s | |
[2010-12-10 11:00:35,196][DEBUG][index.shard.service ] [N0] [1][0] state: [RECOVERING]->[STARTED] | |
[2010-12-10 11:00:35,196][DEBUG][index.gateway ] [N0] [1][0] recovery completed from local, took [5ms] | |
index : files [0] with total_size [0b], took[0s] | |
: recovered_files [0] with total_size [0b] | |
: reusing_files [0] with total_size [0b] | |
translog : number_of_operations [0], took [5ms] | |
[2010-12-10 11:00:35,196][DEBUG][cluster.action.shard ] [N0] sending shard started for [1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING], reason [after recovery from gateway] | |
[2010-12-10 11:00:35,196][DEBUG][cluster.action.shard ] [N0] received shard started for [1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING], reason [after recovery from gateway] | |
[2010-12-10 11:00:35,197][DEBUG][cluster.service ] [N0] processing [shard-started ([1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING]), reason [after recovery from gateway]]: execute | |
[2010-12-10 11:00:35,197][DEBUG][cluster.action.shard ] [N0] applying started shard [1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING], reason [after recovery from gateway] | |
[2010-12-10 11:00:35,197][DEBUG][cluster.service ] [N0] cluster state updated, version [15], source [shard-started ([1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING]), reason [after recovery from gateway]] | |
[2010-12-10 11:00:35,199][DEBUG][cluster.service ] [N0] processing [shard-started ([1][0], node[7OK6caOsRDqEUI_ylsTFDw], [P], s[INITIALIZING]), reason [after recovery from gateway]]: done applying updated cluster_state | |
[2010-12-10 11:00:35,199][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: execute | |
[2010-12-10 11:00:35,199][DEBUG][cluster.service ] [N0] processing [routing-table-updater]: no change in cluster_state | |
[2010-12-10 11:00:35,199][DEBUG][cluster.service ] [N0] processing [remove-index-block (all primary shards active for [1])]: execute | |
[2010-12-10 11:00:35,200][DEBUG][cluster.service ] [N0] cluster state updated, version [16], source [remove-index-block (all primary shards active for [1])] | |
[2010-12-10 11:00:35,200][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: execute | |
[2010-12-10 11:00:35,201][DEBUG][river.cluster ] [N0] processing [reroute_rivers_node_changed]: no change in cluster_state | |
[2010-12-10 11:00:35,201][DEBUG][cluster.service ] [N0] processing [remove-index-block (all primary shards active for [1])]: done applying updated cluster_state | |
[2010-12-10 11:00:41,489][DEBUG][monitor.jvm ] [N0] [gc][ParNew][13] took [11ms]/[108ms], reclaimed [24.8mb], leaving [46.2mb] used, max [1.1gb] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment