Navigation Menu

Skip to content

Commit

Permalink
Translate description of the "status" command
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 24, 2014
1 parent 61db3b1 commit 0719b5b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions ja/reference/1.0.4/commands/status/index.md
Expand Up @@ -62,8 +62,8 @@ layout: ja

## 使い方 {#usage}

On the version {{ site.droonga_version }}, this command just reports the list of nodes and their vital information.
For example:
バージョン {{ site.droonga_version }} では、このコマンドは単に各ノードの死活情報のみを出力します。
:

{
"type" : "status",
Expand All @@ -87,7 +87,7 @@ For example:

## レスポンス {#response}

This returns a hash like following as the response's `body`, with `200` as its `statusCode`.
このコマンドは以下のようなハッシュを `body``200` `statusCode` としたレスポンスを返します。以下はその一例です。。

{
"nodes" : {
Expand All @@ -100,16 +100,16 @@ This returns a hash like following as the response's `body`, with `200` as its `
}

`nodes`
: A hash including information of nodes in the cluster.
Keys of the hash are identifiers of nodes defined in the `catalog.json`, with the format: `hostname:port/tag`.
Each value indicates status information of corresponding node, and have following information:
: クラスタ内のノードの情報を含むハッシュ。
ハッシュのキーは、`catalog.json` で定義された各ノードの識別子(形式は `ホスト名:ポート番号/タグ`)です。
ハッシュの値は対応するノードのステータス情報を表し、以下の情報を含んでいます:

`live`
: A boolean value indicating vital state of the node.
If `true`, the node can process messages, and messages are delivered to it.
Otherwise, the node doesn't process any message for now, because it is down or some reasons.
: そのノードの死活状態を示す真偽値。
`true` であれば、そのノードはメッセージを処理する事ができ、他のノードもそのノード宛にメッセージを配送します。
それ以外の場合、そのノードはサービスが停止しているなどの理由によりメッセージを処理しません。


## エラーの種類 {#errors}

This command reports [general errors](/reference/message/#error).
このコマンドは[一般的なエラー](../../message/#error)を返します。

0 comments on commit 0719b5b

Please sign in to comment.