{"id":1197,"date":"2011-04-20T09:40:55","date_gmt":"2011-04-19T23:40:55","guid":{"rendered":"http:\/\/www.melvic.info\/?p=1197"},"modified":"2012-04-17T09:11:32","modified_gmt":"2012-04-16T23:11:32","slug":"36","status":"publish","type":"post","link":"https:\/\/www.melvic.info\/?p=1197","title":{"rendered":"Cassandra 0.7.4 \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>Cassandra\u306f\uff0ckey-value\u65b9\u5f0f\u306eNoSQL\u5206\u6563\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3042\u308b\u3002\u5143\u3005Facebook\u3067\u4f7f\u308f\u308c\u3066\u3044\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u5316\u3057\u305f\u3082\u306e\u3060\u305d\u3046\u3067\uff0c\u73fe\u5728\u3067\u306fApache\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff08\u30a4\u30f3\u30ad\u30e5\u30d9\u30fc\u30bf\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff09\u306e\u4e00\u3064\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u73fe\u5728\u79c1\u306e\u672c\u696d\u3067\u95a2\u3063\u3066\u3044\u308b\u88fd\u54c1\u3082Cassandra\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u304a\u308a\uff0c\u30c6\u30b9\u30c8\u74b0\u5883\u69cb\u7bc9\u306e\u305f\u3081\u306b\uff0c\u81ea\u5206\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u6a5f\u4f1a\u304c\u4f55\u5ea6\u304b\u3042\u3063\u305f\u3002<\/p>\n<p>\u5148\u6708\uff082011\u5e743\u6708\uff09\uff0cApache\u306f\u521d\u3081\u3066\u306e\u300c\u5b89\u5b9a\u30d0\u30fc\u30b8\u30e7\u30f3\u300d\u3068\u9298\u6253\u3063\u3066\uff0ccassandra 0.7.4\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u305f\u3002<br \/>\n\u4eca\u56de\u306f\uff0c\u3053\u306e\u6700\u65b0\u7248\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u624b\u9806\u3092\u8a18\u9332\u3057\u3066\u304a\u3053\u3046\u3068\u601d\u3046\u3002<!--more-->\u30c6\u30b9\u30c8\u74b0\u5883\u3067\u3042\u308a\uff0c\u30d7\u30ed\u30c0\u30af\u30c8\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5c55\u958b\u3059\u308b\u3064\u3082\u308a\u306f\u306a\u3044\u3002\u3057\u305f\u304c\u3063\u3066\uff0c\u30af\u30e9\u30b9\u30bf\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u306f\u305b\u305a\uff0c\u5358\u4e00VM\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u3068\u3069\u3081\u308b\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306b\u306f\uff0cLinux\u3067\u3042\u308c\u3070\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u53ef\u80fd\u3067\u3042\u308b\u3002\uff08Windows\u3067\u3082\u53ef\u80fd\u3067\u3042\u308b\u3088\u3046\u3060\uff09\u4eca\u56de\u306f\uff0cFedora 14 64bit\u3092\u4f7f\u7528\u3059\u308b\u3002<\/p>\n<p>\u306a\u304a\uff0cCassandra\u306b\u306f\uff0cDatastax\uff08\u5143Riptano\uff09\u304b\u3089RPM\u304c\u63d0\u4f9b\u3055\u308c\u3066\u304a\u308a\uff0cFedora\u3067\u3042\u308c\u3070\uff0c\u3053\u308c\u3092\u767b\u9332\u3059\u308b\u3053\u3068\u3067\uff0cyum\u306b\u3088\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u53ef\u80fd\u306b\u306a\u308b\u3002\u305f\u3060\u3057\uff0c\u3053\u3061\u3089\u306e\u65b9\u306f\u30e9\u30a4\u30bb\u30f3\u30b9\u306e\u95a2\u4fc2\u3067\uff0cSun(Oracle) JDK\u306e\u4ee3\u308a\u306b\uff0cOpenJDK\u304c\u30bb\u30c3\u30c8\u306b\u306a\u3063\u3066\u3044\u308b\u3002Datastax\u306e\u30b5\u30a4\u30c8\u3067\u3082\uff0c\u3053\u308c\u3092\u5f8c\u3067Sun JDK\u306b\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3092\u63a8\u5968\u3057\u3066\u3044\u308b\u3002\u3053\u308c\u306f\u5fc5\u9808\u3067\u306f\u306a\u3044\u306e\u3060\u304c\uff0c\u4e00\u5fdc\u3053\u308c\u3082\u85a6\u3081\u3089\u308c\u308b\u307e\u307e\u306b\u3084\u3063\u3066\u304a\u3053\u3046\u3068\u601d\u3046\u3002<br \/>\n\u3053\u306eRPM\u7248\uff08Packaged Release\u3068\u547c\u3070\u308c\u3066\u3044\u308b\uff09\u306b\u3064\u3044\u3066\u306f\uff0c\u4ee5\u4e0b\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u304c\u3042\u308b\u3002<\/p>\n<p>http:\/\/www.datastax.com\/docs\/0.7\/configuration\/packaged_releases<\/p>\n<p>\u307e\u305a\uff0cRPM\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002URL\u306epath\u306b0.6\u3092\u793a\u3059\u3068\u601d\u308f\u308c\u308b6\u304c\u5165\u3063\u3066\u3044\u308b\u304c\uff0c\u3053\u308c\u306f\u6c17\u306b\u3057\u306a\u3044\u3067\u3044\u3044\u3002\u3053\u306eRPM\u30b5\u30a4\u30c8\u306b\u306f\u3082\u3063\u3068\u65b0\u3057\u3044RPM\u30d5\u30a1\u30a4\u30eb\u3082\u3042\u308b\u304c\uff0c\u5931\u6557\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002\u3053\u3053\u306f\uff0c\u3053\u306eWeb\u30b5\u30a4\u30c8\u306b\u5f93\u3063\u3066\u4f5c\u696d\u3059\u308b\u3079\u304d\u3060\u308d\u3046\u3002<\/p>\n<p><span style=\"color: #0000ff;\">#<\/span><span style=\"color: #6600ff;\"> wget http:\/\/rpm.datastax.com\/EL\/6\/x86_64\/riptano-release-5-1.el6.noarch.rpm<\/span><span style=\"color: #0000ff;\"><br \/>\n&#8211;2011-04-19 04:29:31&#8211; http:\/\/rpm.datastax.com\/EL\/6\/x86_64\/riptano-release-5-1.el6.noarch.rpm<br \/>\nConnecting to 10.20.18.106:80&#8230; connected.<br \/>\nProxy request sent, awaiting response&#8230; 200 OK<br \/>\nLength: 3051 (3.0K) [application\/x-redhat-package-manager]<br \/>\nSaving to: a\u20ac\uff85\u9014iptano-release-5-1.el6.noarch.rpm.1a\u20ac<\/span><\/p>\n<p>100%[======&#8230;====&gt;] 3,051 13.3K\/s in 0.2s<\/p>\n<p>2011-04-19 04:29:32 (13.3 KB\/s) &#8211; a\u20ac\uff85\u9014iptano-release-5-1.el6.noarch.rpm.1a\u20ac<\/p>\n<p>\u7d9a\u3044\u3066\uff0c\u3053\u306eRPM\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002<\/p>\n<p><span style=\"color: #0000ff;\">#<\/span><span style=\"color: #6600ff;\"> rpm -i riptano-release-5-1.el6.noarch.rpm<\/span><\/p>\n<p>\u3055\u3089\u306byum\u3067cassandra\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u306fapache-cassandra\u3067\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3002\u5358\u306bcassandra\u3068\u3084\u308b\u3068\uff0c0.6.12\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3057\u307e\u3046\u3002<\/p>\n<p><span style=\"color: #0000ff;\">#<\/span><span style=\"color: #6600ff;\"> yum install apache-cassandra<\/span><span style=\"color: #0000ff;\"><br \/>\nLoaded plugins: langpacks, presto, refresh-packagekit<br \/>\nAdding en_US to language list<br \/>\nSetting up Install Process<br \/>\nResolving Dependencies<br \/>\n&#8211;&gt; Running transaction check<br \/>\n&#8212;&gt; Package apache-cassandra.noarch 0:0.7.4-1 set to be installed<br \/>\n&#8211;&gt; Finished Dependency Resolution<\/span><\/p>\n<p>Dependencies Resolved<\/p>\n<p>=================================<br \/>\nPackage Arch Version Repository Size<br \/>\n=================================<br \/>\nInstalling:<br \/>\napache-cassandra noarch 0.7.4-1 riptano 8.2 M<\/p>\n<p>Transaction Summary<br \/>\n=================================<br \/>\nInstall 1 Package(s)<\/p>\n<p>Total download size: 8.2 M<br \/>\nInstalled size: 9.0 M<br \/>\nIs this ok [y\/N]: <span style=\"color: #6600ff;\">y<\/span><span style=\"color: #0000ff;\"><br \/>\nDownloading Packages:<br \/>\nSetting up and reading Presto delta metadata<br \/>\nProcessing delta metadata<br \/>\nPackage(s) data still to download: 8.2 M<br \/>\napache-cassandra-0.7.4-1.el5.noarch.rpm | 8.2 MB 00:19<br \/>\nRunning rpm_check_debug<br \/>\nRunning Transaction Test<br \/>\nTransaction Test Succeeded<br \/>\nRunning Transaction<br \/>\nInstalling : apache-cassandra-0.7.4-1.noarch 1\/1<\/span><\/p>\n<p>Installed:<br \/>\napache-cassandra.noarch 0:0.7.4-1<\/p>\n<p>Complete!<br \/>\n#<\/p>\n<p>\u306a\u304a\uff0c\u3053\u306e\u6642\u70b9\u3067\uff0ccassandra\u5c02\u7528\u30a2\u30ab\u30a6\u30f3\u30c8\u3068\u3057\u3066\uff0ccassandra\u3068\u3044\u3046OS\u30e6\u30fc\u30b6\u30fc\u3068\u540c\u540d\u306e\u30b0\u30eb\u30fc\u30d7\u304c\u81ea\u52d5\u7684\u306b\u4f5c\u6210\u3055\u308c\u308b\u3002\u307e\u305f\uff0cRPM(yum)\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\uff0ccassandra\u3068\u3044\u3046\u540d\u524d\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\uff0c\u57fa\u672c\u7684\u306b\u306f\uff0c\u3053\u308c\u3092service\u30b3\u30de\u30f3\u30c9\u3067\u8d77\u52d5\u3059\u308c\u3070\uff0ccassandra\u306f\u52d5\u304d\u51fa\u3059\u3002\u3053\u306e\u3068\u304d\uff0ccassandra\u306e\u30d7\u30ed\u30bb\u30b9\u306f\uff0c\u4f5c\u6210\u3055\u308c\u305fcassandra\u3068\u3044\u3046\u6240\u6709\u8005\u306e\u4e0b\u3067\u8d70\u884c\u3059\u308b\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\uff0c\u3082\u3046\u8d77\u52d5\u6e96\u5099\u306f\u3067\u304d\u305f\u308f\u3051\u3060\u304c\uff0c\u3082\u3046\u4e00\u3064\u3084\u308b\u3053\u3068\u304c\u3042\u308b\u3002Datastax\u306e\u85a6\u3081\u306b\u5f93\u3044\uff0cSun JDK\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\uff0cCassandra\u304b\u3089\u306e\u53c2\u7167\u3092\u3053\u3061\u3089\u306b\u5207\u308a\u66ff\u3048\u308b\u4f5c\u696d\u3060\u3002<\/p>\n<p>\u307e\u305a\uff0cOracle\u306e\u30b5\u30a4\u30c8\u306b\u3044\u304d\uff0cSun JDK\u306e\u6700\u65b0\u7248\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<p>http:\/\/www.oracle.com \u306e\u5148\u982d\u30da\u30fc\u30b8\u304b\u3089<br \/>\nDownloads &gt; Developer Tools \u3092\u305f\u3069\u308a\uff0cJava\u306e\u30ab\u30c6\u30b4\u30ea\u306b\u3042\u308b Java SE\u3092\u30af\u30ea\u30c3\u30af\u3002<br \/>\n\u7d9a\u3044\u3066\uff0c\u30da\u30fc\u30b8\u4e2d\u6bb5\u306b\u3042\u308bDownload JDK\u306e\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3002<br \/>\n\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u3057\u3066 Linux 64bit\u3092\u9078\u3073\uff0c\u30e9\u30a4\u30bb\u30f3\u30b9\u30a2\u30b0\u30ea\u30fc\u30e1\u30f3\u30c8\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\uff0c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306e\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3002<\/p>\n<p>\u4e8c\u3064\u5019\u88dc\u304c\u51fa\u308b\u304c\uff0c~.rpm.bin \u3092\u9078\u3076\u3002\u57f7\u7b46\u6642\u70b9\u306e\u6700\u65b0\u7248\u306f\uff0c6u25\u306a\u306e\u3067\uff0c\u30d5\u30a1\u30a4\u30eb\u540d\u306f<\/p>\n<p>jdk-6u24-linux-x64-rpm.bin<\/p>\n<p>\u3068\u306a\u308b\u3002\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u5f8c\uff0c\u3053\u308c\u306b\u5b9f\u884c\u6a29\u3092\u4ed8\u3051\u3066\u5b9f\u884c\u3059\u308c\u3070\uff0c\u89e3\u51cd\u3055\u308c\uff0cRPM\u3082\u81ea\u52d5\u7684\u306b\u8d70\u3063\u3066\uff08\u78ba\u8a8d\u306e\u305f\u3081\uff0cEnter\u3092\u4e00\u5ea6\u62bc\u3059\u304c\uff09\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u7d42\u4e86\u3059\u308b\u3002<\/p>\n<p><span style=\"color: #0000ff;\">#<\/span><span style=\"color: #6600ff;\"> chmod +x *rpm.bin<br \/>\n<\/span><span style=\"color: #0000ff;\">#<\/span><span style=\"color: #6600ff;\"> .\/jdk-6u24-linux-x64-rpm.bin<\/span><span style=\"color: #0000ff;\"><br \/>\nUnpacking&#8230;<br \/>\nChecksumming&#8230;<br \/>\nExtracting&#8230;<br \/>\nUnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).<br \/>\ninflating: jdk-6u24-linux-amd64.rpm<br \/>\ninflating: sun-javadb-common-10.6.2-1.1.i386.rpm<br \/>\ninflating: sun-javadb-core-10.6.2-1.1.i386.rpm<br \/>\ninflating: sun-javadb-client-10.6.2-1.1.i386.rpm<br \/>\ninflating: sun-javadb-demo-10.6.2-1.1.i386.rpm<br \/>\ninflating: sun-javadb-docs-10.6.2-1.1.i386.rpm<br \/>\ninflating: sun-javadb-javadoc-10.6.2-1.1.i386.rpm<br \/>\nPreparing&#8230; #####&#8230;# [100%]<br \/>\n1:jdk #####&#8230;# [100%]<br \/>\nUnpacking JAR files&#8230;<br \/>\nrt.jar&#8230;<br \/>\njsse.jar&#8230;<br \/>\ncharsets.jar&#8230;<br \/>\ntools.jar&#8230;<br \/>\nlocaledata.jar&#8230;<br \/>\nplugin.jar&#8230;<br \/>\njavaws.jar&#8230;<br \/>\ndeploy.jar&#8230;<br \/>\nInstalling JavaDB<br \/>\nPreparing&#8230; #####&#8230;# [100%]<br \/>\n1:sun-javadb-common #####&#8230;# [ 17%]<br \/>\n2:sun-javadb-core #####&#8230;# [ 33%]<br \/>\n3:sun-javadb-client #####&#8230;# [ 50%]<br \/>\n4:sun-javadb-demo #####&#8230;# [ 67%]<br \/>\n5:sun-javadb-docs #####&#8230;# [ 83%]<br \/>\n6:sun-javadb-javadoc #####&#8230;# [100%]<\/span><\/p>\n<p>Java(TM) SE Development Kit 6 successfully installed.<\/p>\n<p>Product Registration is FREE and includes many benefits:<br \/>\n* Notification of new versions, patches, and updates<br \/>\n* Special offers on Oracle products, services and training<br \/>\n* Access to early releases and documentation<\/p>\n<p>Product and system data will be collected. If your configuration<br \/>\nsupports a browser, the JDK Product Registration form will<br \/>\nbe presented. If you do not register, none of this information<br \/>\nwill be saved. You may also register your JDK later by<br \/>\nopening the register.html file (located in the JDK installation<br \/>\ndirectory) in a browser.<\/p>\n<p>For more information on what data Registration collects and<br \/>\nhow it is managed and used, see:<br \/>\nhttp:\/\/java.sun.com\/javase\/registration\/JDKRegistrationPrivacy.html<\/p>\n<p>Press Enter to continue&#8230;..<span style=\"color: #6600ff;\"><br \/>\n[\u3053\u3053\u3067Enter\u3092\u62bc\u3059]<\/span><\/p>\n<p>Done.<br \/>\n#<br \/>\nJDK\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u5834\u6240\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n<p><span style=\"color: #0000ff;\">#<\/span><span style=\"color: #6600ff;\"> rpm -ql jdk | head -10<\/span><span style=\"color: #0000ff;\"><br \/>\n\/etc<br \/>\n\/etc\/.java<br \/>\n\/etc\/.java\/.systemPrefs<br \/>\n\/etc\/.java\/.systemPrefs\/.system.lock<br \/>\n\/etc\/.java\/.systemPrefs\/.systemRootModFile<br \/>\n\/etc\/init.d\/jexec<br \/>\n\/usr<br \/>\n\/usr\/java<br \/>\n\/usr\/java\/jdk1.6.0_24<br \/>\n\/usr\/java\/jdk1.6.0_24\/COPYRIGHT<br \/>\n#<\/span><\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u5834\u6240\u306f<\/p>\n<p><span style=\"color: #0000ff;\">\/usr\/java\/jdk1.6.0_24<\/span><\/p>\n<p>\u3068\u5224\u660e\u3002\u3053\u308c\u3092JAVA_HOME\u3068\u3057\u3066\uff0cCassandra\u306b\u8a2d\u5b9a\u3057\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u3044\u3002<\/p>\n<p>RPM\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u5834\u5408\uff0ccassandra\u306e\u30b5\u30fc\u30d3\u30b9\u30b9\u30af\u30ea\u30d7\u30c8\u306estart\u90e8\u306b\uff0cJAVA_HOME\u306e\u8a2d\u5b9a\u30b9\u30c6\u30c3\u30d7\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3002\u5c11\u3057\u6c5a\u3044\u3084\u308a\u65b9\u3060\u304c\uff0c\u3053\u3053\u3092\u5909\u66f4\u3057\u3066\u304a\u304f\u306e\u304c\u3044\u3044\u3060\u308d\u3046\u3002<\/p>\n<p>vi\u306a\u3069\u3067\uff0ccassandra\u306e\u30b5\u30fc\u30d3\u30b9\u30b9\u30af\u30ea\u30d7\u30c8\uff0c\/etc\/init.d\/cassandra \u3092\u7de8\u96c6\u3059\u308b\u3002<\/p>\n<p>\u307e\u305a\uff0c\u4ee5\u4e0b\u306e\u884c\u3092\u63a2\u3057\uff0c<\/p>\n<p><span style=\"color: #0000ff;\">export JAVA_HOME=\/usr\/lib\/jvm\/java-1.6.0-openjdk-1.6.0.0\/<\/span><\/p>\n<p>\u3053\u306e\u884c\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3057\u3066\uff0c\u4fdd\u5b58\u3059\u308b\u3002<\/p>\n<p><span style=\"color: #6600ff;\">export JAVA_HOME=\/usr\/java\/jdk1.6.0_24\/<\/span><\/p>\n<p>\u3053\u308c\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4f5c\u696d\u306f\u3059\u3079\u3066\u7d42\u308f\u308a\u3060\u3002<br \/>\nCassandra\u3092service\u30b3\u30de\u30f3\u30c9\u3067\u8d77\u52d5\u3059\u308b\u3002<\/p>\n<p><span style=\"color: #0000ff;\">#<\/span><span style=\"color: #6600ff;\"> service cassandra start<br \/>\n<\/span><span style=\"color: #0000ff;\">Starting Cassandra: OK<br \/>\n#<\/span><br \/>\n\u7d9a\u3044\u3066\uff0c\u7c21\u5358\u306a\u30c6\u30b9\u30c8\u3092\u3084\u3063\u3066\u304a\u304f\u3002<br \/>\n\u3053\u3053\u304b\u3089\u306f\uff0c\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u306b\u623b\u3063\u3066\u69cb\u308f\u306a\u3044\u3002cassandra\u4ee5\u5916\u306e\u30e6\u30fc\u30b6\u30fc\u3067\u3082\u69cb\u308f\u306a\u3044\u3002<\/p>\n<p><span style=\"color: #0000ff;\">$<\/span><span style=\"color: #6600ff;\"> cassandra-cli<br \/>\n<\/span><span style=\"color: #0000ff;\">Welcome to cassandra CLI.<\/span><\/p>\n<p>Type &#8216;help;&#8217; or &#8216;?&#8217; for help. Type &#8216;quit;&#8217; or &#8216;exit;&#8217; to quit.<br \/>\n[default@unknown]<\/p>\n<p>\u3053\u308c\u3067Cassandra\u306eCLI\uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\uff09\u306b\u5165\u3063\u305f\u3002<br \/>\nCLI\u306f\uff0c0.7\u306e\u30d9\u30fc\u30bf\u306e\u3042\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u304b\u3089\uff0c\u3042\u308b\u3044\u306fRC\uff08Release Candidate\uff09\u3042\u305f\u308a\u304b\u3089\uff0c\u3059\u3079\u3066\u306e\u30b3\u30de\u30f3\u30c9\u3092\u30bb\u30df\u30b3\u30ed\u30f3(;)\u3067\u7d42\u308f\u3089\u305b\u308b\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u306b\u5909\u66f4\u306b\u306a\u3063\u3066\u3044\u308b\u30020.6\u306e\u3068\u304d\u304b\u3089\u4f7f\u3063\u3066\u3044\u308b\u4eba\u306f\uff0c\u3053\u308c\u3092\u77e5\u3089\u305a\u306b\u4f7f\u3044\u59cb\u3081\u308b\u3068\uff0chelp\u3059\u3089\u5fdc\u7b54\u304c\u306a\u3044\u306e\u3067\uff0c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u5931\u6557\u3057\u305f\u306e\u304b\u3068\u601d\u3063\u3066\u3057\u307e\u3063\u305f\u308a\u3059\u308b\u3002help\u3067\u306f\u306a\u304fhelp;\u3068\u30bf\u30a4\u30d7\u3057\u306a\u3044\u3068\u306a\u3089\u306a\u3044\u3002\u305f\u3060\u3057\uff0chelp;\u306e\u4ee3\u308a\u306b\uff0c?\u3068\u30bf\u30a4\u30d7\u3057\u3066\u3082\u30b3\u30de\u30f3\u30c9\u4e00\u89a7\u304c\u3067\u308b\u304c\uff0c\u3053\u306e\u5834\u5408\u306f\uff0c\u30bb\u30df\u30b3\u30ed\u30f3\u306f\u8981\u3089\u306a\u3044\u3002\u5358\u306b?\u3068\u30bf\u30a4\u30d7\u3059\u308c\u3070\u3044\u3044\u3002<\/p>\n<p>\u6b21\u306b\uff0c\u4eca\u7acb\u3061\u4e0a\u3052\u305fCassandra\u306b\u63a5\u7d9a\u3057\uff0c\u30ad\u30fc\u30b9\u30da\u30fc\u30b9\u306e\u4e00\u89a7\u3092\u51fa\u3057\u3066\u307f\u308b\u3002<\/p>\n<p><span style=\"color: #0000ff;\">[default@unknown]<\/span><span style=\"color: #6600ff;\"> connect localhost\/9160;<\/span><span style=\"color: #0000ff;\"><br \/>\nConnected to: &#8220;Test Cluster&#8221; on localhost\/9160<br \/>\n[default@unknown]<\/span><span style=\"color: #6600ff;\"> show keyspaces;<\/span><span style=\"color: #0000ff;\"><br \/>\nKeyspace: system:<br \/>\nReplication Strategy: org.apache.cassandra.locator.LocalStrategy<br \/>\nReplication Factor: 1<br \/>\nColumn Families:<br \/>\nColumnFamily: HintsColumnFamily (Super)<br \/>\n&#8220;hinted handoff data&#8221;<br \/>\nColumns sorted by: <\/span><\/p>\n<p>org.apache.cassandra.db.marshal.BytesType\/org.apache.cassandra.db.marshal.BytesType<br \/>\nRow cache size \/ save period: 0.0\/0<br \/>\nKey cache size \/ save period: 0.01\/14400<br \/>\nMemtable thresholds: 0.15\/32\/1440<br \/>\nGC grace seconds: 0<br \/>\nCompaction min\/max thresholds: 4\/32<br \/>\nRead repair chance: 0.0<br \/>\nBuilt indexes: []<br \/>\nColumnFamily: IndexInfo<br \/>\n&#8220;indexes that have been completed&#8221;<br \/>\nColumns sorted by: org.apache.cassandra.db.marshal.UTF8Type<br \/>\nRow cache size \/ save period: 0.0\/0<br \/>\n\uff1a<br \/>\n\uff1a<\/p>\n<p>\u3053\u308c\u3067\uff0c\u4e00\u5fdc\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8d77\u52d5\u306b\u6210\u529f\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u304b\u3081\u3089\u308c\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cassandra\u306f\uff0ckey-value\u65b9\u5f0f\u306eNoSQL\u5206\u6563\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3067\u3042\u308b\u3002\u5143\u3005Facebook\u3067\u4f7f\u308f\u308c\u3066\u3044\u305f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u5316\u3057\u305f\u3082\u306e\u3060\u305d\u3046\u3067\uff0c\u73fe\u5728\u3067\u306fApache\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\uff08\u30a4\u30f3\u30ad\u30e5\u30d9\u30fc\u30bf\u30d7\u30ed\u30b8\u30a7 &hellip; <a href=\"https:\/\/www.melvic.info\/?p=1197\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Cassandra 0.7.4 \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[10,15],"tags":[],"class_list":["post-1197","post","type-post","status-publish","format-standard","hentry","category-computer-technology","category-15"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/s53KbG-36","jetpack-related-posts":[],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.melvic.info\/index.php?rest_route=\/wp\/v2\/posts\/1197","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.melvic.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.melvic.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.melvic.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.melvic.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1197"}],"version-history":[{"count":2,"href":"https:\/\/www.melvic.info\/index.php?rest_route=\/wp\/v2\/posts\/1197\/revisions"}],"predecessor-version":[{"id":1286,"href":"https:\/\/www.melvic.info\/index.php?rest_route=\/wp\/v2\/posts\/1197\/revisions\/1286"}],"wp:attachment":[{"href":"https:\/\/www.melvic.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.melvic.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.melvic.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}