Создание Snapshot Repository.

45 views
Skip to first unread message

Дмитрий Белоус

unread,
Apr 23, 2015, 11:53:34 AM4/23/15
to elastics...@googlegroups.com
День добрый!
У меня внезапно возникла проблема с созданием репозитория для снэпшотов:

PUT _snapshot/my_backup
{
"type": "fs",
"settings":
{ "location": "var/lib/elasticsearch/clusterName/my_backup", "compress": true }
}

Ответ:
{
   "error": "RepositoryVerificationException[[my_backup] [802yNk07Sj25v-haiFtTPw, 'RemoteTransportException[[<nodeName1>][inet[/<ip-address1>:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] store location [var/lib/elasticsearch/clusterName/my_backup] is not shared between node [[<nodeName1>][802yNk07Sj25v-haiFtTPw][<nodeName1>][inet[<domainName1>/<ip-address1>:9300]]{max_local_storage_nodes=1, master=false}] and the master node]; '], [UyXw4xOfT0WH8ifV2AcTQg, 'RemoteTransportException[[nodeName2][inet[/<ip-address2>:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] store location [var/lib/elasticsearch/clusterName/my_backup] is not shared between node [[nodeName2][UyXw4xOfT0WH8ifV2AcTQg][nodeName2][inet[<domainName2>/<ip-address2>:9300]]{max_local_storage_nodes=1, master=false}] and the master node]; '], [LgNkhwxPQXi4BK0Qw468Kg, 'RemoteTransportException[[<nodeName3>][inet[/<ip-address3>:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[my_backup] store location [var/lib/elasticsearch/clusterName/my_backup] is not shared between node [[<nodeName3>][LgNkhwxPQXi4BK0Qw468Kg][<nodeName3>][inet[<domainName3>/<ip-address3>:9300]]{max_local_storage_nodes=1, master=false}] and the master node]; ']]]",
   "status": 500
}

У меня один мастер и 3 дата-ноды.
Версия эластика: 1.4.3.

Igor Motov

unread,
Apr 23, 2015, 1:15:39 PM4/23/15
to elastics...@googlegroups.com
Папка var/lib/elasticsearch/clusterName/my_backup должна быть сетевой и одной и той же на всех нодах. 

Дмитрий Белоус

unread,
Apr 29, 2015, 5:00:52 AM4/29/15
to elastics...@googlegroups.com
Спасибо, помогло. Сделали папку сетевой.

четверг, 23 апреля 2015 г., 20:15:39 UTC+3 пользователь Igor Motov написал:
Reply all
Reply to author
Forward
0 new messages