Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "RunningCassandra_JP" page has been changed by yukim. http://wiki.apache.org/cassandra/RunningCassandra_JP?action=diff&rev1=14&rev2=15 -------------------------------------------------- ## page was copied from RunningCassandra - Startup of a Cassandra node is handled by the `bin/cassandra` shell script. Options used by `bin/cassandra` are taken from a shell snippet, `/bin/cassandra.in.sh` by default. + Cassandraの起動は`bin/cassandra`のシェルスクリプトが行います。`bin/cassandra`で使用する設定値は、デフォルトでは別のシェルスクリプト`bin/cassandra.in.sh`が行います。 - You can override the options script to use with CASSANDRA_INCLUDE. E.g., + CASSANDRA_INCLUDE環境変数を使用して、設定を読み込むスクリプトを指定できます。例えば、 {{{ $ cp bin/cassandra.in.sh /tmp/new.in.sh @@ -11, +11 @@ $ CASSANDRA_INCLUDE=/tmp/new.in.sh bin/cassandra }}} - Among other things, the defaults in `bin/cassandra.in.sh` include a maximum heap size (-Xmx) of 1GB, which you'll almost certainly want to considering tailoring for your environment. The port to access Cassandra's JmxInterface is also configured here through the `com.sun.management.jmxremote.port` property and defaults to 8080. + `bin/cassandra.in.sh`には、最大ヒープサイズ(-Xmx)は1GBなど、デフォルト値がいろいろと設定されています。最大ヒープサイズは環境にあわせてカスタマイズすべき項目でしょう。CassandraのJmxInterfaceにアクセスするポート番号も`com.sun.management.jmxremote.port`で設定されていて、デフォルトで8080となっています。 - Additionally, the script recognizes a number of command line arguments, invoking the script with the `-h` option prints a brief summary of them. + さらに、スクリプトはいくつかのコマンドライン引数をとります。`-h`オプションをつけて起動すると簡単なサマリが確認できます。 {{{ $ bin/cassandra -h @@ -21, +21 @@ $ }}} - The `-f` argument will prevent Cassandra from daemonizing and force it to run in the foreground. The `-p <pidfile>` argument causes the process ID to be written to the named file (useful for shutdown ala `kill $(cat pidfile)`). + `-f`はCassandraがデーモン化するのを防ぎ、フォアグラウンドで起動するよう強制します。`-p <pidfile>`はプロセスIDを記述するファイルを指定します(`kill $(cat pidfile)`としてシャットダウンできるので便利です)。 - Note: The Debian package makes use of an init script and [[http://commons.apache.org/daemon/jsvc.html|jsvc]] to start and stop Cassandra. Startup options should be configured in /etc/default/cassandra (not /usr/share/cassandra/cassandra.in.sh) on Debian systems. + メモ: Debianパッケージはinitスクリプトと[[http://commons.apache.org/daemon/jsvc.html|jsvc]]を使用してCassandraの起動と停止を制御します。起動オプションは/etc/default/cassandra(/usr/share/cassandra/cassandra.in.shではありません)に設定します。 - See also [[Operations]] + [[Operations]]も参照してください。
