cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "Hector" by andy.africa
Date Mon, 16 Aug 2010 14:57:23 GMT
Dear Wiki user,

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

The "Hector" page has been changed by andy.africa.
http://wiki.apache.org/cassandra/Hector?action=diff&rev1=1&rev2=2

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

   1. Install Apache Maven if you don't. Just download it, extract, drop "...\apache-maven\bin"
to your PATH envrimonet variable.
   1. Download & extract Apache Cassanra. Go to "...\apache-cassandra-0.6.4\bin" and run
it (cassandra.bat).
   1. Download & extract Hector (http://github.com/rantav/hector/downloads) just in case
near with apache-maven folder.
-  1. Setup new wicket project. Go to the folder with your projects and type "''mvn archetype:generate
-DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4.10
-DgroupId=com.mycompany -DartifactId=cassandrabrowser''"
+  1. Setup new wicket project. Go to the folder with your projects and type "''mvn archetype:generate
-DarchetypeGroupId=org.apache.wicket -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.4.10
-DgroupId=com.mycompany -DartifactId=cassandrabrowser''" (more details at http://wicket.apache.org/start/quickstart.html)
-  1. Go to cassandrabrowser project folder and add this lines to pom.xml<<BR>>
       <!--HECTOR--><<BR>>        <dependency><<BR>> 
          <groupId>org.apache.cassandra</groupId><<BR>>          
 <artifactId>cassandra</artifactId><<BR>>            <version>0.6.4</version><<BR>>
           <systemPath>${basedir}/lib/apache-cassandra-0.6.4.jar</systemPath><<BR>>
           <scope>system</scope><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>org.apache.cassandra</groupId><<BR>>
           <artifactId>cassandra-javautils</artifactId><<BR>>    
       <systemPath>${basedir}/lib/cassandra-javautils.jar</systemPath><<BR>>
           <version>1.0.0</version><<BR>>            <scope>system</scope><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>com.reardencommerce</groupId><<BR>>          
 <artifactId>clhm-production</artifactId><<BR>>            <version>1.0.0</version><<BR>>
           <scope>system</scope><<BR>>            <systemPath>${basedir}/lib/clhm-production.jar</systemPath><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>commons-codec</groupId><<BR>>            <artifactId>commons-codec</artifactId><<BR>>
           <version>1.4</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>commons-pool</groupId><<BR>>
           <artifactId>commons-pool</artifactId><<BR>>           
<version>1.5.3</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>com.google.collections</groupId><<BR>>
           <artifactId>google-collections</artifactId><<BR>>     
      <version>1.0</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>me.prettyprint.cassandra</groupId><<BR>>
           <artifactId>hector</artifactId><<BR>>            <version>0.6.15</version><<BR>>
           <scope>system</scope><<BR>>            <systemPath>${basedir}/lib/hector-0.6.0-15.jar</systemPath><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>org.cliffc.high_scale_lib</groupId><<BR>>    
       <artifactId>high-scale</artifactId><<BR>>            <version>1.0</version><<BR>>
           <scope>system</scope><<BR>>            <systemPath>${basedir}/lib/high-scale-lib.jar</systemPath><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>libthrift</groupId><<BR>>            <artifactId>libthrift</artifactId><<BR>>
           <version>917130</version><<BR>>            <scope>system</scope><<BR>>
           <systemPath>${basedir}/lib/libthrift-r917130.jar</systemPath><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>org.slf4j</groupId><<BR>>            <artifactId>slf4j-log4j12</artifactId><<BR>>
           <version>1.5.8</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>org.slf4j</groupId><<BR>>
           <artifactId>slf4j-api</artifactId><<BR>>            <version>1.5.8</version><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>org.slf4j</groupId><<BR>>            <artifactId>slf4j-log4j12</artifactId><<BR>>
           <version>1.5.8</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>org.perf4j</groupId><<BR>>
           <artifactId>perf4j</artifactId><<BR>>            <version>0.9.12</version><<BR>>
       </dependency><<BR>>        <!--/HECTOR--><<BR>>
+  1. Go to "cassandrabrowser" project folder and add this lines to pom.xml after <dependencies>
line. <<BR>>        <!--HECTOR--><<BR>>        <dependency><<BR>>
           <groupId>org.apache.cassandra</groupId><<BR>>         
  <artifactId>cassandra</artifactId><<BR>>            <version>0.6.4</version><<BR>>
           <systemPath>${basedir}/lib/apache-cassandra-0.6.4.jar</systemPath><<BR>>
           <scope>system</scope><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>org.apache.cassandra</groupId><<BR>>
           <artifactId>cassandra-javautils</artifactId><<BR>>    
       <systemPath>${basedir}/lib/cassandra-javautils.jar</systemPath><<BR>>
           <version>1.0.0</version><<BR>>            <scope>system</scope><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>com.reardencommerce</groupId><<BR>>          
 <artifactId>clhm-production</artifactId><<BR>>            <version>1.0.0</version><<BR>>
           <scope>system</scope><<BR>>            <systemPath>${basedir}/lib/clhm-production.jar</systemPath><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>commons-codec</groupId><<BR>>            <artifactId>commons-codec</artifactId><<BR>>
           <version>1.4</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>commons-pool</groupId><<BR>>
           <artifactId>commons-pool</artifactId><<BR>>           
<version>1.5.3</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>com.google.collections</groupId><<BR>>
           <artifactId>google-collections</artifactId><<BR>>     
      <version>1.0</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>me.prettyprint.cassandra</groupId><<BR>>
           <artifactId>hector</artifactId><<BR>>            <version>0.6.15</version><<BR>>
           <scope>system</scope><<BR>>            <systemPath>${basedir}/lib/hector-0.6.0-15.jar</systemPath><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>org.cliffc.high_scale_lib</groupId><<BR>>    
       <artifactId>high-scale</artifactId><<BR>>            <version>1.0</version><<BR>>
           <scope>system</scope><<BR>>            <systemPath>${basedir}/lib/high-scale-lib.jar</systemPath><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>libthrift</groupId><<BR>>            <artifactId>libthrift</artifactId><<BR>>
           <version>917130</version><<BR>>            <scope>system</scope><<BR>>
           <systemPath>${basedir}/lib/libthrift-r917130.jar</systemPath><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>org.slf4j</groupId><<BR>>            <artifactId>slf4j-log4j12</artifactId><<BR>>
           <version>1.5.8</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>org.slf4j</groupId><<BR>>
           <artifactId>slf4j-api</artifactId><<BR>>            <version>1.5.8</version><<BR>>
       </dependency><<BR>><<BR>>        <dependency><<BR>>
           <groupId>org.slf4j</groupId><<BR>>            <artifactId>slf4j-log4j12</artifactId><<BR>>
           <version>1.5.8</version><<BR>>        </dependency><<BR>><<BR>>
       <dependency><<BR>>            <groupId>org.perf4j</groupId><<BR>>
           <artifactId>perf4j</artifactId><<BR>>            <version>0.9.12</version><<BR>>
       </dependency><<BR>>        <!--/HECTOR--><<BR>>
-  1.
+  1. From "apache-cassandra-0.6.4\lib\" to "cassandrabrowser\lib" copy jars: ''apache-cassandra-0.6.4.jar,
clhm-production.jar, high-scale-lib.jar, libthrift-r917130.jar.''
+  1. From "hector-0.6.0-15" to "cassandrabrowser\lib" copy jars: ''cassandra-javautils.jar,
hector-0.6.0-15.jar.''
+  1. Test jetty by running in project folder command ''"mvn jetty:run"''
+  1. Visit http://localhost:8080/
  
- 
- 

Mime
View raw message