YUKI Hiroshi
null+****@clear*****
Tue Aug 19 12:04:07 JST 2014
YUKI Hiroshi 2014-08-19 12:04:07 +0900 (Tue, 19 Aug 2014) New Revision: 1af2a333920c30c7d9498c863cc812a608415cdb https://github.com/droonga/droonga.org/commit/1af2a333920c30c7d9498c863cc812a608415cdb Message: Update translation Modified files: _po/ja/tutorial/1.0.6/add-replica/index.po _po/ja/tutorial/1.0.6/dump-restore/index.po _po/ja/tutorial/1.0.6/groonga/index.po ja/tutorial/1.0.6/add-replica/index.md ja/tutorial/1.0.6/dump-restore/index.md Modified: _po/ja/tutorial/1.0.6/add-replica/index.po (+7 -7) =================================================================== --- _po/ja/tutorial/1.0.6/add-replica/index.po 2014-08-19 11:59:17 +0900 (dd8ea6c) +++ _po/ja/tutorial/1.0.6/add-replica/index.po 2014-08-19 12:04:07 +0900 (e446b4b) @@ -204,7 +204,7 @@ msgstr "この事は、`system.status` コマンドの結果を見ると確認 msgid "" "~~~\n" -"# curl \"http://192.168.0.10:10041/droonga/system/status\"\n" +"# curl \"http://192.168.0.10:10041/droonga/system/status\" | jq \".\"\n" "{\n" " \"nodes\": {\n" " \"192.168.0.10:10031/droonga\": {\n" @@ -215,7 +215,7 @@ msgid "" " }\n" " }\n" "}\n" -"# curl \"http://192.168.0.11:10041/droonga/system/status\"\n" +"# curl \"http://192.168.0.11:10041/droonga/system/status\" | jq \".\"\n" "{\n" " \"nodes\": {\n" " \"192.168.0.10:10031/droonga\": {\n" @@ -226,7 +226,7 @@ msgid "" " }\n" " }\n" "}\n" -"# curl \"http://192.168.0.12:10041/droonga/system/status\"\n" +"# curl \"http://192.168.0.12:10041/droonga/system/status\" | jq \".\"\n" "{\n" " \"nodes\": {\n" " \"192.168.0.10:10031/droonga\": {\n" @@ -338,7 +338,7 @@ msgstr "" msgid "" "~~~\n" -"# curl \"http://192.168.0.10:10041/droonga/system/status\"\n" +"# curl \"http://192.168.0.10:10041/droonga/system/status\" | jq \".\"\n" "{\n" " \"nodes\": {\n" " \"192.168.0.10:10031/droonga\": {\n" @@ -472,7 +472,7 @@ msgstr "これで、ノードがクラスタから離脱しました。この事 msgid "" "~~~\n" -"# curl \"http://192.168.0.10:10041/droonga/system/status\"\n" +"# curl \"http://192.168.0.10:10041/droonga/system/status\" | jq \".\"\n" "{\n" " \"nodes\": {\n" " \"192.168.0.10:10031/droonga\": {\n" @@ -529,7 +529,7 @@ msgstr "最終的に、`192.168.0.10` と `192.168.0.12` の2つのノードか msgid "" "~~~\n" -"# curl \"http://192.168.0.10:10041/droonga/system/status\"\n" +"# curl \"http://192.168.0.10:10041/droonga/system/status\" | jq \".\"\n" "{\n" " \"nodes\": {\n" " \"192.168.0.10:10031/droonga\": {\n" @@ -540,7 +540,7 @@ msgid "" " }\n" " }\n" "}\n" -"# curl \"http://192.168.0.12:10041/droonga/system/status\"\n" +"# curl \"http://192.168.0.12:10041/droonga/system/status\" | jq \".\"\n" "{\n" " \"nodes\": {\n" " \"192.168.0.10:10031/droonga\": {\n" Modified: _po/ja/tutorial/1.0.6/dump-restore/index.po (+204 -55) =================================================================== --- _po/ja/tutorial/1.0.6/dump-restore/index.po 2014-08-19 11:59:17 +0900 (b77ae63) +++ _po/ja/tutorial/1.0.6/dump-restore/index.po 2014-08-19 12:04:07 +0900 (a822be3) @@ -372,34 +372,93 @@ msgstr "" "きました。確かめてみましょう:" msgid "" -" # curl \"http://192.168.0.10:10041/droonga/system/status\"\n" -" {\n" -" \"nodes\": {\n" -" \"192.168.0.10:10031/droonga\": {\n" -" \"live\": true\n" -" }\n" -" }\n" +"~~~\n" +"# curl \"http://192.168.0.10:10041/droonga/system/status\" | jq \".\"\n" +"{\n" +" \"nodes\": {\n" +" \"192.168.0.10:10031/droonga\": {\n" +" \"live\": true\n" " }\n" -" # curl \"http://192.168.0.10:10041/d/select?table=Store&output_columns=name" -"&limit=10\"\n" -" [[0,1401363556.0294158,0.0000762939453125],[[[40],[[\"name\",\"ShortText\"]],[" -"\"1st Avenue & 75th St. - New York NY (W)\"],[\"76th & Second - New York NY (W)" -"\"],[\"Herald Square- Macy's - New York NY\"],[\"Macy's 5th Floor - Herald Square " -"- New York NY (W)\"],[\"80th & York - New York NY (W)\"],[\"Columbus @ 67th - Ne" -"w York NY (W)\"],[\"45th & Broadway - New York NY (W)\"],[\"Marriott Marquis - L" -"obby - New York NY\"],[\"Second @ 81st - New York NY (W)\"],[\"52nd & Seventh - N" -"ew York NY (W)\"]]]]\n" -" # curl \"http://192.168.0.11:10041/droonga/system/status\"\n" -" {\n" -" \"nodes\": {\n" -" \"192.168.0.11:10031/droonga\": {\n" -" \"live\": true\n" -" }\n" -" }\n" +" }\n" +"}\n" +"# curl \"http://192.168.0.10:10041/d/select?table=Store&output_columns=name&lim" +"it=10\" | jq \".\"\n" +"[\n" +" [\n" +" 0,\n" +" 1401363556.0294158,\n" +" 7.62939453125e-05\n" +" ],\n" +" [\n" +" [\n" +" [\n" +" 40\n" +" ],\n" +" [\n" +" [\n" +" \"name\",\n" +" \"ShortText\"\n" +" ]\n" +" ],\n" +" [\n" +" \"1st Avenue & 75th St. - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"76th & Second - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"Herald Square- Macy's - New York NY\"\n" +" ],\n" +" [\n" +" \"Macy's 5th Floor - Herald Square - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"80th & York - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"Columbus @ 67th - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"45th & Broadway - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"Marriott Marquis - Lobby - New York NY\"\n" +" ],\n" +" [\n" +" \"Second @ 81st - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"52nd & Seventh - New York NY (W)\"\n" +" ]\n" +" ]\n" +" ]\n" +"]\n" +"# curl \"http://192.168.0.11:10041/droonga/system/status\" | jq \".\"\n" +"{\n" +" \"nodes\": {\n" +" \"192.168.0.11:10031/droonga\": {\n" +" \"live\": true\n" " }\n" -" # curl \"http://192.168.0.11:10041/d/select?table=Store&output_columns=name" -"&limit=10\"\n" -" [[0,1401363465.610241,0],[[[null],[]]]]" +" }\n" +"}\n" +"# curl \"http://192.168.0.11:10041/d/select?table=Store&output_columns=name&lim" +"it=10\" | jq \".\"\n" +"[\n" +" [\n" +" 0,\n" +" 1401363465.610241,\n" +" 0\n" +" ],\n" +" [\n" +" [\n" +" [\n" +" null\n" +" ],\n" +" []\n" +" ]\n" +" ]\n" +"]\n" +"~~~" msgstr "" msgid "### Duplicate data between two Droonga clusters" @@ -437,24 +496,112 @@ msgid "" msgstr "以上の操作で、2つのクラスタの内容が完全に同期されました。確かめてみましょう:" msgid "" -" # curl \"http://192.168.0.10:10041/d/select?table=Store&output_columns=name" -"&limit=10\"\n" -" [[0,1401363556.0294158,0.0000762939453125],[[[40],[[\"name\",\"ShortText\"]],[" -"\"1st Avenue & 75th St. - New York NY (W)\"],[\"76th & Second - New York NY (W)" -"\"],[\"Herald Square- Macy's - New York NY\"],[\"Macy's 5th Floor - Herald Square " -"- New York NY (W)\"],[\"80th & York - New York NY (W)\"],[\"Columbus @ 67th - Ne" -"w York NY (W)\"],[\"45th & Broadway - New York NY (W)\"],[\"Marriott Marquis - L" -"obby - New York NY\"],[\"Second @ 81st - New York NY (W)\"],[\"52nd & Seventh - N" -"ew York NY (W)\"]]]]\n" -" # curl \"http://192.168.0.11:10041/d/select?table=Store&output_columns=name" -"&limit=10\"\n" -" [[0,1401363556.0294158,0.0000762939453125],[[[40],[[\"name\",\"ShortText\"]],[" -"\"1st Avenue & 75th St. - New York NY (W)\"],[\"76th & Second - New York NY (W)" -"\"],[\"Herald Square- Macy's - New York NY\"],[\"Macy's 5th Floor - Herald Square " -"- New York NY (W)\"],[\"80th & York - New York NY (W)\"],[\"Columbus @ 67th - Ne" -"w York NY (W)\"],[\"45th & Broadway - New York NY (W)\"],[\"Marriott Marquis - L" -"obby - New York NY\"],[\"Second @ 81st - New York NY (W)\"],[\"52nd & Seventh - N" -"ew York NY (W)\"]]]]" +"~~~\n" +"# curl \"http://192.168.0.10:10041/d/select?table=Store&output_columns=name&lim" +"it=10\" | jq \".\"\n" +"[\n" +" [\n" +" 0,\n" +" 1401363556.0294158,\n" +" 7.62939453125e-05\n" +" ],\n" +" [\n" +" [\n" +" [\n" +" 40\n" +" ],\n" +" [\n" +" [\n" +" \"name\",\n" +" \"ShortText\"\n" +" ]\n" +" ],\n" +" [\n" +" \"1st Avenue & 75th St. - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"76th & Second - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"Herald Square- Macy's - New York NY\"\n" +" ],\n" +" [\n" +" \"Macy's 5th Floor - Herald Square - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"80th & York - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"Columbus @ 67th - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"45th & Broadway - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"Marriott Marquis - Lobby - New York NY\"\n" +" ],\n" +" [\n" +" \"Second @ 81st - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"52nd & Seventh - New York NY (W)\"\n" +" ]\n" +" ]\n" +" ]\n" +"]\n" +"# curl \"http://192.168.0.11:10041/d/select?table=Store&output_columns=name&lim" +"it=10\" | jq \".\"\n" +"[\n" +" [\n" +" 0,\n" +" 1401363556.0294158,\n" +" 7.62939453125e-05\n" +" ],\n" +" [\n" +" [\n" +" [\n" +" 40\n" +" ],\n" +" [\n" +" [\n" +" \"name\",\n" +" \"ShortText\"\n" +" ]\n" +" ],\n" +" [\n" +" \"1st Avenue & 75th St. - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"76th & Second - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"Herald Square- Macy's - New York NY\"\n" +" ],\n" +" [\n" +" \"Macy's 5th Floor - Herald Square - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"80th & York - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"Columbus @ 67th - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"45th & Broadway - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"Marriott Marquis - Lobby - New York NY\"\n" +" ],\n" +" [\n" +" \"Second @ 81st - New York NY (W)\"\n" +" ],\n" +" [\n" +" \"52nd & Seventh - New York NY (W)\"\n" +" ]\n" +" ]\n" +" ]\n" +"]\n" +"~~~" msgstr "" msgid "### Unite two Droonga clusters" @@ -481,17 +628,19 @@ msgid "After that there is just one cluster - yes, it's the initial state." msgstr "これで、1つだけクラスタがある状態になりました。最初の状態に戻ったという事になります。" msgid "" -" # curl \"http://192.168.0.10:10041/droonga/system/status\"\n" -" {\n" -" \"nodes\": {\n" -" \"192.168.0.10:10031/droonga\": {\n" -" \"live\": true\n" -" },\n" -" \"192.168.0.11:10031/droonga\": {\n" -" \"live\": true\n" -" }\n" -" }\n" -" }" +"~~~\n" +"# curl \"http://192.168.0.10:10041/droonga/system/status\" | jq \".\"\n" +"{\n" +" \"nodes\": {\n" +" \"192.168.0.10:10031/droonga\": {\n" +" \"live\": true\n" +" },\n" +" \"192.168.0.11:10031/droonga\": {\n" +" \"live\": true\n" +" }\n" +" }\n" +"}\n" +"~~~" msgstr "" msgid "## Conclusion" Modified: _po/ja/tutorial/1.0.6/groonga/index.po (+1 -1) =================================================================== --- _po/ja/tutorial/1.0.6/groonga/index.po 2014-08-19 11:59:17 +0900 (6a70e25) +++ _po/ja/tutorial/1.0.6/groonga/index.po 2014-08-19 12:04:07 +0900 (9880321) @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"PO-Revision-Date: 2014-08-12 23:33+0900\n" +"PO-Revision-Date: 2014-03-05 12:52+0900\n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" Modified: ja/tutorial/1.0.6/add-replica/index.md (+10 -10) =================================================================== --- ja/tutorial/1.0.6/add-replica/index.md 2014-08-19 11:59:17 +0900 (3768c05) +++ ja/tutorial/1.0.6/add-replica/index.md 2014-08-19 12:04:07 +0900 (23d19e7) @@ -107,7 +107,7 @@ Droongaのノードの集合には、「replica」と「slice」という2つの この事は、`system.status` コマンドの結果を見ると確認できます: ~~~ -# curl "http://192.168.0.10:10041/droonga/system/status" +# curl "http://192.168.0.10:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { @@ -118,7 +118,7 @@ Droongaのノードの集合には、「replica」と「slice」という2つの } } } -# curl "http://192.168.0.11:10041/droonga/system/status" +# curl "http://192.168.0.11:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { @@ -129,7 +129,7 @@ Droongaのノードの集合には、「replica」と「slice」という2つの } } } -# curl "http://192.168.0.12:10041/droonga/system/status" +# curl "http://192.168.0.12:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { @@ -188,7 +188,7 @@ cronjobとして実行されるバッチスクリプトによって `load` コ この事は、`system.status` コマンドの結果を見ると確認できます: ~~~ -# curl "http://192.168.0.10:10041/droonga/system/status" +# curl "http://192.168.0.10:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { @@ -243,7 +243,7 @@ Droongaクラスタ内のノードは互いに監視しあっており、動作 この事は、`system.status` コマンドの結果を見ると確認できます: ~~~ -# curl "http://192.168.0.10:10041/droonga/system/status" +# curl "http://192.168.0.10:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { @@ -254,7 +254,7 @@ Droongaクラスタ内のノードは互いに監視しあっており、動作 } } } -# curl "http://192.168.0.11:10041/droonga/system/status" +# curl "http://192.168.0.11:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { @@ -265,7 +265,7 @@ Droongaクラスタ内のノードは互いに監視しあっており、動作 } } } -# curl "http://192.168.0.12:10041/droonga/system/status" +# curl "http://192.168.0.12:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { @@ -295,7 +295,7 @@ Droongaクラスタ内のノードは互いに監視しあっており、動作 これで、ノードがクラスタから離脱しました。この事は `system.status` コマンドで確かめられます: ~~~ -# curl "http://192.168.0.10:10041/droonga/system/status" +# curl "http://192.168.0.10:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { @@ -338,7 +338,7 @@ Droongaクラスタ内のノードは互いに監視しあっており、動作 この事は、`system.status` コマンドの結果を見ると確認できます: ~~~ -# curl "http://192.168.0.10:10041/droonga/system/status" +# curl "http://192.168.0.10:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { @@ -349,7 +349,7 @@ Droongaクラスタ内のノードは互いに監視しあっており、動作 } } } -# curl "http://192.168.0.12:10041/droonga/system/status" +# curl "http://192.168.0.12:10041/droonga/system/status" | jq "." { "nodes": { "192.168.0.10:10031/droonga": { Modified: ja/tutorial/1.0.6/dump-restore/index.md (+200 -32) =================================================================== --- ja/tutorial/1.0.6/dump-restore/index.md 2014-08-19 11:59:17 +0900 (c8c2627) +++ ja/tutorial/1.0.6/dump-restore/index.md 2014-08-19 12:04:07 +0900 (c774735) @@ -216,26 +216,92 @@ Droongaクラスタにそれらのメッセージを送信するには、`droong これで、ノード `192.168.0.10` を含む複製元クラスタと、ノード `192.168.0.11` を含む複製先の空のクラスタの、2つのクラスタができました。確かめてみましょう: - # curl "http://192.168.0.10:10041/droonga/system/status" - { - "nodes": { - "192.168.0.10:10031/droonga": { - "live": true - } - } +~~~ +# curl "http://192.168.0.10:10041/droonga/system/status" | jq "." +{ + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true } - # curl "http://192.168.0.10:10041/d/select?table=Store&output_columns=name&limit=10" - [[0,1401363556.0294158,0.0000762939453125],[[[40],[["name","ShortText"]],["1st Avenue & 75th St. - New York NY (W)"],["76th & Second - New York NY (W)"],["Herald Square- Macy's - New York NY"],["Macy's 5th Floor - Herald Square - New York NY (W)"],["80th & York - New York NY (W)"],["Columbus @ 67th - New York NY (W)"],["45th & Broadway - New York NY (W)"],["Marriott Marquis - Lobby - New York NY"],["Second @ 81st - New York NY (W)"],["52nd & Seventh - New York NY (W)"]]]] - # curl "http://192.168.0.11:10041/droonga/system/status" - { - "nodes": { - "192.168.0.11:10031/droonga": { - "live": true - } - } + } +} +# curl "http://192.168.0.10:10041/d/select?table=Store&output_columns=name&limit=10" | jq "." +[ + [ + 0, + 1401363556.0294158, + 7.62939453125e-05 + ], + [ + [ + [ + 40 + ], + [ + [ + "name", + "ShortText" + ] + ], + [ + "1st Avenue & 75th St. - New York NY (W)" + ], + [ + "76th & Second - New York NY (W)" + ], + [ + "Herald Square- Macy's - New York NY" + ], + [ + "Macy's 5th Floor - Herald Square - New York NY (W)" + ], + [ + "80th & York - New York NY (W)" + ], + [ + "Columbus @ 67th - New York NY (W)" + ], + [ + "45th & Broadway - New York NY (W)" + ], + [ + "Marriott Marquis - Lobby - New York NY" + ], + [ + "Second @ 81st - New York NY (W)" + ], + [ + "52nd & Seventh - New York NY (W)" + ] + ] + ] +] +# curl "http://192.168.0.11:10041/droonga/system/status" | jq "." +{ + "nodes": { + "192.168.0.11:10031/droonga": { + "live": true } - # curl "http://192.168.0.11:10041/d/select?table=Store&output_columns=name&limit=10" - [[0,1401363465.610241,0],[[[null],[]]]] + } +} +# curl "http://192.168.0.11:10041/d/select?table=Store&output_columns=name&limit=10" | jq "." +[ + [ + 0, + 1401363465.610241, + 0 + ], + [ + [ + [ + null + ], + [] + ] + ] +] +~~~ + ### 2つのDroongaクラスタの間でデータを複製する @@ -258,10 +324,110 @@ Done. 以上の操作で、2つのクラスタの内容が完全に同期されました。確かめてみましょう: - # curl "http://192.168.0.10:10041/d/select?table=Store&output_columns=name&limit=10" - [[0,1401363556.0294158,0.0000762939453125],[[[40],[["name","ShortText"]],["1st Avenue & 75th St. - New York NY (W)"],["76th & Second - New York NY (W)"],["Herald Square- Macy's - New York NY"],["Macy's 5th Floor - Herald Square - New York NY (W)"],["80th & York - New York NY (W)"],["Columbus @ 67th - New York NY (W)"],["45th & Broadway - New York NY (W)"],["Marriott Marquis - Lobby - New York NY"],["Second @ 81st - New York NY (W)"],["52nd & Seventh - New York NY (W)"]]]] - # curl "http://192.168.0.11:10041/d/select?table=Store&output_columns=name&limit=10" - [[0,1401363556.0294158,0.0000762939453125],[[[40],[["name","ShortText"]],["1st Avenue & 75th St. - New York NY (W)"],["76th & Second - New York NY (W)"],["Herald Square- Macy's - New York NY"],["Macy's 5th Floor - Herald Square - New York NY (W)"],["80th & York - New York NY (W)"],["Columbus @ 67th - New York NY (W)"],["45th & Broadway - New York NY (W)"],["Marriott Marquis - Lobby - New York NY"],["Second @ 81st - New York NY (W)"],["52nd & Seventh - New York NY (W)"]]]] +~~~ +# curl "http://192.168.0.10:10041/d/select?table=Store&output_columns=name&limit=10" | jq "." +[ + [ + 0, + 1401363556.0294158, + 7.62939453125e-05 + ], + [ + [ + [ + 40 + ], + [ + [ + "name", + "ShortText" + ] + ], + [ + "1st Avenue & 75th St. - New York NY (W)" + ], + [ + "76th & Second - New York NY (W)" + ], + [ + "Herald Square- Macy's - New York NY" + ], + [ + "Macy's 5th Floor - Herald Square - New York NY (W)" + ], + [ + "80th & York - New York NY (W)" + ], + [ + "Columbus @ 67th - New York NY (W)" + ], + [ + "45th & Broadway - New York NY (W)" + ], + [ + "Marriott Marquis - Lobby - New York NY" + ], + [ + "Second @ 81st - New York NY (W)" + ], + [ + "52nd & Seventh - New York NY (W)" + ] + ] + ] +] +# curl "http://192.168.0.11:10041/d/select?table=Store&output_columns=name&limit=10" | jq "." +[ + [ + 0, + 1401363556.0294158, + 7.62939453125e-05 + ], + [ + [ + [ + 40 + ], + [ + [ + "name", + "ShortText" + ] + ], + [ + "1st Avenue & 75th St. - New York NY (W)" + ], + [ + "76th & Second - New York NY (W)" + ], + [ + "Herald Square- Macy's - New York NY" + ], + [ + "Macy's 5th Floor - Herald Square - New York NY (W)" + ], + [ + "80th & York - New York NY (W)" + ], + [ + "Columbus @ 67th - New York NY (W)" + ], + [ + "45th & Broadway - New York NY (W)" + ], + [ + "Marriott Marquis - Lobby - New York NY" + ], + [ + "Second @ 81st - New York NY (W)" + ], + [ + "52nd & Seventh - New York NY (W)" + ] + ] + ] +] +~~~ ### 2つのDroongaクラスタを結合する @@ -279,17 +445,19 @@ Done. これで、1つだけクラスタがある状態になりました。最初の状態に戻ったという事になります。 - # curl "http://192.168.0.10:10041/droonga/system/status" - { - "nodes": { - "192.168.0.10:10031/droonga": { - "live": true - }, - "192.168.0.11:10031/droonga": { - "live": true - } - } +~~~ +# curl "http://192.168.0.10:10041/droonga/system/status" | jq "." +{ + "nodes": { + "192.168.0.10:10031/droonga": { + "live": true + }, + "192.168.0.11:10031/droonga": { + "live": true } + } +} +~~~ ## まとめ -------------- next part -------------- HTML����������������������������...Download