Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.
The "FAQ_JP" page has been changed by shot6. http://wiki.apache.org/cassandra/FAQ_JP?action=diff&rev1=50&rev2=51 -------------------------------------------------- + ## FAQ_JP ## page was copied from FAQ - = Frequently asked questions = + = FAQ = - * [[#cant_listen_on_ip_any|Why can't I make Cassandra listen on 0.0.0.0 (all my addresses)?]] - * [[#ports|What ports does Cassandra use?]] - * [[#slows_down_after_lotso_inserts|Why does Cassandra slow down after doing a lot of inserts?]] - * [[#existing_data_when_adding_new_nodes|What happens to existing data in my cluster when I add new nodes?]] - * [[#modify_cf_config|Can I add/remove/rename Column Families on a working cluster?]] - * [[#node_clients_connect_to|Does it matter which node a Thrift client connects to?]] - * [[#what_kind_of_hardware_should_i_use|What kind of hardware should I run Cassandra on?]] + * [[#cant_listen_on_ip_any|CassandraはListenAddress設定で何故0.0.0.0(全アドレス)でリッスンできないのですか?]] + * [[#ports|Cassandraはどのポートを使うのですか?]] + * [[#slows_down_after_lotso_inserts|Cassandraは何故大量のインサート後に遅くなるのでしょうか?]] + * [[#existing_data_when_adding_new_nodes|新たにノードを追加したときに、既存のデータはどうなってしまうのでしょうか?]] + * [[#modify_cf_config|動いているクラスタに新たにカラムファミリを追加したり削除したり改名したりできますか?]] + * [[#node_clients_connect_to|Thriftクライアントがどのノードに接続しているかは問題になるでしょうか?]] + * [[#what_kind_of_hardware_should_i_use|Cassandraを動かすマシンの推奨スペックってどんなものでしょうか?]] - * [[#architecture|What are SSTables and Memtables?]] + * [[#architecture|SSTablesとMemtablesって何ですか?]] - * [[#working_with_timeuuid_in_java|Why is it so hard to work with TimeUUIDType in Java?]] - * [[#i_deleted_what_gives|I delete data from Cassandra, but disk usage stays the same. What gives?]] - * [[#reads_slower_writes|Why are reads slower than writes?]] - * [[#cloned|Why does nodeprobe ring only show one entry, even though my nodes logged that they see each other joining the ring?]] - * [[#range_ghosts|Why do deleted keys show up during range scans?]] - * [[#change_replication|Can I change the ReplicationFactor on a live cluster?]] - * [[#large_file_and_blob_storage|Can I store large files or BLOBs in Cassandra?]] + * [[#working_with_timeuuid_in_java|Javaで何故TimeUUIDTypeを使うのが難しいのでしょうか?]] + * [[#i_deleted_what_gives|Cassandraからデータを削除したのにディスク使用量は同じです.何が起こってるのでしょうか?]] + * [[#reads_slower_writes|何故書き込みより読み込みのほうが遅いのでしょうか?]] + * [[#cloned|各ノード間でジョインしたとログが残っているのにnodeprobe ringは何故1つのエントリしか見えないのでしょうか?]] + * [[#range_ghosts|レンジスキャンで削除したはずのキーが残っているのは何でですか?]] + * [[#change_replication|動いているCassandra上でReplicationFactorを変更することは出来ますか?]] + * [[#large_file_and_blob_storage|Cassandraで巨大なファイルやBLOBを保存できますか?]] <<Anchor(cant_listen_on_ip_any)>> - == Why can't I make Cassandra listen on 0.0.0.0 (all my addresses)? == + == CassandraはListenAddress設定で何故0.0.0.0(全アドレス)でリッスンできないのですか? == - Cassandra is a gossip-based distributed system. !ListenAddress is also "contact me here address," i.e., the address it tells other nodes to reach it at. Telling other nodes "contact me on any of my addresses" is a bad idea; if different nodes in the cluster pick different addresses for you, Bad Things happen. + Cassandraはゴシッププロトコルベースの分散システムです. !ListenAddress 設定は他ノードからこのアドレスに接続してくれというものです. + そのため、設定を0.0.0.0にして他ノードにどこでもいいからつないでくれ、というのはいまいちなアイデアです. + そういった理由から、ListenAddress設定では0.0.0.0でリッスンは出来ないです. - If you don't want to manually specify an IP to !ListenAddress for each node in your cluster (understandable!), leave it blank and Cassandra will use !InetAddress.getLocalHost() to pick an address. Then it's up to you or your ops team to make things resolve correctly (/etc/hosts/, dns, etc). + もし !ListenAddress 設定でクラスタ上の各ノードでIPを指定したくない場合、ブランクにしておけばCassandraは !InetAddress.getLocalHost() を使ってアドレスを自動的に選択します.この場合適切に動くかどうかは、ノードの名前解決が適切に動くかどうかに依存します(/etc/hostsとかです). - One exception to this process is JMX, which by default binds to 0.0.0.0 (Java bug [[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6425769|6425769]]). + この仕組みの例外として、JMXがあります.JMXはデフォルトで0.0.0.0にバインドされます.これはJDKのバグです([[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6425769|6425769]]). - See [[https://issues.apache.org/jira/browse/CASSANDRA-256|CASSANDRA-256]] and [[https://issues.apache.org/jira/browse/CASSANDRA-43|CASSANDRA-43]] for more gory details. + この詳細については、[[https://issues.apache.org/jira/browse/CASSANDRA-256|CASSANDRA-256]] と [[https://issues.apache.org/jira/browse/CASSANDRA-43|CASSANDRA-43]]をご覧ください. + <<Anchor(ports)>> - == What ports does Cassandra use? == - By default, Cassandra uses 7000 for cluster communication, 9160 for clients (Thrift), and 8080 for [[JmxInterface|JMX]]. These are all editable in the configuration file or bin/cassandra.in.sh (for JVM options). All ports are TCP. See also RunningCassandra. + == Cassandraはどのポートを使うのですか? == + + デフォルトでは、Cassandraは以下のポートを使います. + + ||port番号||用途|| + ||7000||クラスタ間のコミュニケーション|| + ||9160||Thriftクライアント|| + ||8080||[[JmxInterface|JMX]]|| + + + これらはどれも設定可能です.設定はstorage-config.xmlにするか、JVMオプションなどはbin/cassandra.in.shで設定できます. + 全てのポートはTCPです. [[RunningCassandra|Cassandraを動かすには]] も参考にしてください. + <<Anchor(slows_down_after_lotso_inserts)>> == Why does Cassandra slow down after doing a lot of inserts? ==
