Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for 
change notification.

The "StorageConfiguration_JP" page has been changed by MakiWatanabe.
http://wiki.apache.org/cassandra/StorageConfiguration_JP?action=diff&rev1=57&rev2=58

--------------------------------------------------

  ## page was copied from StorageConfiguration
- Prior to the 0.7 release, Cassandra storage configuration is described by the 
''conf/storage-conf.xml'' file. As of 0.7, it is described by the  
''conf/cassandra.yaml'' file.
+ (翻訳中)
  
- = Loading the Config =
+ 
0.7より前のリリースではCassandraのストレージ設定は''conf/storage-conf.xml''に記述されていました。バージョン0.7では、ストレージ設定は''conf/cassandra.yaml''に記述されます。
+ 
+ 
+ = 設定の読み込み =
  == config-converter ==
- To convert a working storage-conf.xml into yaml, bin/config-converter will 
complete a best-effort conversion. It assumes that your xml file is at 
conf/storage-conf.xml, and it will output to conf/cassandra.yaml. Note though 
that the scope of many properties have changed (endpoint_snitch is global 
instead of per-KS, gc_grace_seconds is per-KS instead of global, etc.), so the 
generated yaml will undoubtedly need to be looked over.
+ 
bin/config-converterを使用すると、現在使用しているstorage-conf.xmlをyaml形式にベストエフォートで変換できます。このツールはあなたのxmlファイルがconf/storage-conf.xmlに配置されており、また出力先がconf/cassandra.yamlであることを想定しています。ただし、0.7において多くのプロパティのスコープが変更されたため(例えば、endpoint_snitchはKS単位ではなくグローバルスコープに、gc_grace_secondsはグローバルからKS単位に変わっています)、自動生成されたyamlファイルは使用前に必ず精査してください。
+ 
  
  == -Dcassandra.config ==
- You can specify any configuration to load by passing a VM parameter to java 
when Cassandra starts up.  This is done by supplying a value to 
''-Dcassandra.conf=<your value here>''.  Values can include files located in 
the classpath or local and remote URLs.  Here are a few valid examples:
+ Cassandraの起動時に、Java 
VMのパラメータとして渡すことにより、任意の設定ファイルをロードすることができます。具体的には、''-Dcassandra.conf=<your value 
here>''という形式でパラメータを与えます。値にはclasspath上のファイル、ローカル又はリモートのURLを指定できます。幾つかの例を次に示します:
  ||'''Value''' ||'''Implication''' ||
- ||''-Dcassandra.config=alternate-cassandra.yaml'' ||loads 
''alternate-cassandra.yaml'' if it can be found in the cassandra classpath. ||
- ||''-Dcassandra.config=http://www.example.com/remote-cassandra.yaml'' ||loads 
a configuration file from a remote host. ||
- ||''-Dcassandra.config=file:///home/me/external-local-cassandra.yaml'' 
||loads a local configuration file that is not located in the cassandra 
classpath. ||
+ ||''-Dcassandra.config=alternate-cassandra.yaml'' ||cassandraのclasspath上に 
''alternate-cassandra.yaml'' があればそれをロードします。 ||
+ ||''-Dcassandra.config=http://www.example.com/remote-cassandra.yaml'' 
||リモートホストから設定ファイルをロードします。 ||
+ ||''-Dcassandra.config=file:///home/me/external-local-cassandra.yaml'' 
||cassandraのclasspath上にないローカルの設定ファイルをロードします。 ||
  
  
  
  
- == "Where are my keyspaces?" ==
- LiveSchemaUpdates. You can load the schema once by using:
+ == "私のkeyspaceはどこ?" ==
+ LiveSchemaUpdates。次のコマンドでスキーマを一度にロードすることができます。:
  
  {{{
  bin/schematool HOST PORT import
  }}}
- = Config Overview =
- Not going to cover every value, just the interesting ones. When in doubt, 
check out the comments on the default cassandra.yaml as they're well documented 
there.
  
- == per-Cluster (Global) Settings ==
+ = 設定の概要 =
+ 
ここでは重要な設定項目にのみ絞って解説し、すべての設定値についてはカバーしません。疑問があれば、標準のcassandra.yamlに豊富に記述されているコメントを確認してください。
+ 
+ == クラスタ単位(グローバル)の設定 ==
   * '''authenticator'''
  
- Allows for pluggable authentication of users, which defines whether it is 
necessary to call the Thrift 'login' method, and which parameters are required 
to login. The default '!AllowAllAuthenticator' does not require users to call 
'login': any user can perform any operation. The other built in option is 
'!SimpleAuthenticator', which requires users and passwords to be defined in 
property files, and for users to call login with a valid combo.
+ 
プラグイン可能なユーザ認証を指定します。ここではThriftの'login'メソッド呼び出しの必要性の有無、またログイン時に必要なパラメータについて定義します。デフォルトの'!AllowAllAuthenticator'を使用した場合、ユーザは'login'メソッドを呼ぶ必要がありません。即ち、すべてのユーザが任意の捜査を実行可能です。他のビルトインのオプションには'!SimpleAuthenticator'があります。このユーザ認証設定ではユーザはloginを呼び出す必要があり、プロパティファイルに設定されたユーザ名とパスワードが必要になります。
  
- Default is: 'org.apache.cassandra.auth.AllowAllAuthenticator', a no-op.
+ デフォルト値: 'org.apache.cassandra.auth.AllowAllAuthenticator'
  
   * '''auto_bootstrap'''
  
  Set to 'true' to make new [non-seed] nodes automatically migrate the right 
data to themselves.  (If no InitialToken is specified, they will pick one  such 
that they will get half the range of the most-loaded node.) If a node starts up 
without bootstrapping, it will mark itself bootstrapped so that you can't 
subsequently accidently bootstrap a node with data on it.  (You can reset this 
by wiping your data and commitlog directories.)
+ 
+ 
seedノード以外の新規ノードについて、この設定を'true'に指定して起動することにより、そのノードは自動的に適切なデータをレプリケートします。(InitialTokenが指定されていない場合、追加されたノードは最も収容量の多いノードの半分のTokenレンジを引き受けます。)ブートストラップなしでノードを起動した場合、そのノードは自分自身をブートストラップ済みとしてマークします。(中断)
  
  Default is: 'false', so that new clusters don't bootstrap immediately.  You 
should turn this on when you start adding new nodes to a cluster that already 
has data on it.
  

Reply via email to