91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

elasticsearch2.4.2安裝(1)

發布時間:2020-06-22 17:18:52 來源:網絡 閱讀:915 作者:海德堡絕塵 欄目:大數據

1. 解壓elasticsearch.2.4.2;3個節點

2. 修改config/elasticsearch.yml

(注意要頂格寫,冒號后面要加一個空格)

NIE-00: 192.168.1.100

a)cluster.name: ns-cluster (同一集群要一樣)
b)node.name: node-0
c)network.Host: 192.168.1.100
d)防止腦裂的配置
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping_timeout: 120s
client.transport.ping_timeout: 60s
discovery.zen.ping.unicast.hosts:["192.168.1.100","192.168.1.101","192.168.1.102"]

NIE-01: 192.168.1.101

a)cluster.name: ns-cluster (同一集群要一樣)
b)node.name: node-1
c)network.Host: 192.168.1.101
d)防止腦裂的配置
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping_timeout: 120s
client.transport.ping_timeout: 60s
discovery.zen.ping.unicast.hosts: ["192.168.1.100","192.168.1.101", "192.168.1.102"]

NIE-01: 192.168.1.102

a)cluster.name: ns-cluster (同一集群要一樣)
b)node.name: node-2
c)network.Host: 192.168.1.102
d)防止腦裂的配置
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping_timeout: 120s
client.transport.ping_timeout: 60s
discovery.zen.ping.unicast.hosts: ["192.168.1.100","192.168.1.101", "192.168.1.102"]

3. 啟動:nohup ./bin/elasticsearch >es.log 2>&1 &

控制臺輸出如下:

[hadoop@NIE-00 elasticsearch-2.4.2]$ bin/elasticsearch
[2016-12-01 22:12:03,419][WARN ][bootstrap ] unable to install syscall filter: seccomp unavailable: requires kernel 3.5+ with CONFIG_SECCOMP and CONFIG_SECCOMP_FILTER compiled in

[2016-12-01 22:12:04,110][INFO ][node ] [node-0] version[2.4.2], pid[6784], build[161c65a/2016-11-17T11:51:03Z]

[2016-12-01 22:12:04,110][INFO ][node ] [node-0] initializing ...

[2016-12-01 22:12:05,335][INFO ][plugins ] [node-0] modules [lang-groovy, reindex, lang-expression], plugins [], sites []

[2016-12-01 22:12:05,488][INFO ][env ] [node-0] using [1] data paths, mounts [[/ (/dev/mapper/VolGroup-lv_root)]], net usable_space [2.6gb], net total_space [16.4gb], spins? [possibly], types [ext4]

[2016-12-01 22:12:05,488][INFO ][env ] [node-0] heap size [1015.6mb], compressed ordinary object pointers [true]

[2016-12-01 22:12:05,488][WARN ][env ] [node-0] max file descriptors [4096] for elasticsearch process likely too low, consider increasing to at least [65536]

[2016-12-01 22:12:09,221][INFO ][node ] [node-0] initialized

[2016-12-01 22:12:09,222][INFO ][node ] [node-0] starting ...

[2016-12-01 22:12:09,363][INFO ][transport ] [node-0] publish_address {192.168.1.100:9300}, bound_addresses {192.168.1.100:9300}

[2016-12-01 22:12:09,370][INFO ][discovery ] [node-0] ns/UOPlLQJRTVay--um3NeBSA

[2016-12-01 22:12:39,377][WARN ][discovery ] [node-0] waited for 30s and no initial state was set by the discovery

[2016-12-01 22:12:39,391][INFO ][http ] [node-0] publish_address {192.168.1.100:9200}, bound_addresses {192.168.1.100:9200}

[2016-12-01 22:12:39,391][INFO ][node ] [node-0] started

[2016-12-01 22:15:42,224][INFO ][cluster.service ] [node-0] detected_master {node-1}{8sluGD79Rga0GuGPhoQkCA}{192.168.1.101}{192.168.1.101:9300}, added {{node-1}{8sluGD79Rga0GuGPhoQkCA}{192.168.1.101}{192.168.1.101:9300},}, reason: zen-disco-receive(from master [{node-1}{8sluGD79Rga0GuGPhoQkCA}{192.168.1.101}{192.168.1.101:9300}])

[2016-12-01 22:15:49,621][INFO ][cluster.service ] [node-0] added {{node-2}{nMa8oo-6RW6zJLE3MQROYQ}{192.168.1.102}{192.168.1.102:9300},}, reason: zen-disco-receive(from master [{node-1}{8sluGD79Rga0GuGPhoQkCA}{192.168.1.101}{192.168.1.101:9300}])

其他兩個節點,同上,啟動;

4. 瀏覽器訪問:

http://nie-02:9200/

http://nie-02:9200/?pretty

0. 前提是:hosts

192.168.1.100 NIE-00
192.168.1.101 NIE-01
192.168.1.102 NIE-02
{
"name" : "node-2",
"cluster_name" : "ns-cluster",
"cluster_uuid" : "na",
"version" : {
"number" : "2.4.2",
"build_hash" : "161c65a337d4b422ac0c805f284565cf2014bb84",
"build_timestamp" : "2016-11-17T11:51:03Z",
"build_snapshot" : false,
"lucene_version" : "5.5.2"
},
"tagline" : "You Know, for Search"
}

最簡安裝還是蠻easy的。

今天先到這里。

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

泸溪县| 乐清市| 栾城县| 定襄县| 嘉黎县| 进贤县| 拉萨市| 常熟市| 平度市| 三台县| 重庆市| 崇礼县| 额尔古纳市| 灵川县| 那坡县| 巴东县| 诏安县| 克东县| 鄯善县| 林周县| 临夏县| 阳新县| 泰兴市| 东乌| 广水市| 呼伦贝尔市| 逊克县| 旺苍县| 凌海市| 远安县| 华宁县| 综艺| 顺昌县| 察隅县| 内丘县| 三台县| 西乌| 克东县| 安溪县| 德安县| 涟源市|