Notebook
<各サーバのIPアドレス> | SUCCESS => { "changed": false, "ping": "pong" }
/bin/java ~~ org.elasticsearch.bootstrap.Elasticsearch
"meteorological-data-2015.02" : { "settings" : { "index" : { "creation_date" : "1489559717930", "number_of_shards" : "3", (略)
cluster.routing.allocation.disk.watermark.low: "80%" cluster.routing.allocation.disk.watermark.high: "50gb" cluster.info.update.interval: "1m"
[cluster.routing.allocation.decider] [Milan] low disk watermark [15%] exceeded on [DZqnmWIZRpapZY_TPkkMBw][Milan] free: 58.6gb[12.6%], replicas will not be assigned to this node
publish_address {192.168.0.1:9300}, bound_addresses {[::]:9300} Exception in thread "main" java.lang.RuntimeException: bootstrap checks failed initial heap size [268435456] not equal to maximum heap size [2147483648]; this can cause resize pauses and prevents mlockall from locking the entire heap max virtual memory areas vm.max_map_count [65530] likely too low, increase to at least [262144]
%%bash curl -XPUT "http://<ホスト名>:<ポート番号>/_template/<テンプレート名>" -d @- << EOF { "template" : "<インデックス名>", "settings": { "number_of_shards": <シャード数> } "mappings": { ... } } EOF