[ 
https://issues.apache.org/jira/browse/GORA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991489#comment-12991489
 ] 

Alexis commented on GORA-22:
----------------------------

Dear Julien,

Currently, you have to manually create the schema via the Cassandra shell. See 
http://techvineyard.blogspot.com/2010/12/build-nutch-20.html#Cassandra

It might be feasible though: 
https://github.com/zznate/hector-examples/blob/master/src/main/java/com/riptano/cassandra/hector/example/SchemaManipulation.java



Dear Enis,

I'm struggling with Ivy! This is the Ivy tag suggested by 
http://mvnrepository.com/artifact/com.github.stephenc.hector/hector/0.7.0-rc4-1

 <dependency org="com.github.stephenc.hector" name="hector" rev="0.7.0-rc4-1" />

When compiling the gora-cassandra module with ant+ivy, it does not seem to be 
copied to gora-cassandra/lib directory:

compile:
    [javac] Compiling 10 source files to 
/home/alex/java/workspace/Gora/gora-cassandra/build/classes
    [javac] 
/home/alex/java/workspace/Gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraSubColumn.java:9:
 package me.prettyprint.hector.api.beans does not exist
    [javac] import me.prettyprint.hector.api.beans.HColumn;


The maven dependency works fine in Eclipse

 <dependency>
  <groupId>me.prettyprint</groupId>
  <artifactId>hector</artifactId>
  <version>0.7.0-23</version>
  <type>pom</type>
  <scope>compile</scope>
</dependency>

and the jar is downloaded to ~/m2/repository/me/prettyprint/hector/0.7.0-20

> Upgrade cassandra backend to cassandra 0.7
> ------------------------------------------
>
>                 Key: GORA-22
>                 URL: https://issues.apache.org/jira/browse/GORA-22
>             Project: Gora
>          Issue Type: Improvement
>          Components: storage
>    Affects Versions: 0.2-incubating
>            Reporter: Julien Nioche
>             Fix For: 0.2-incubating
>
>         Attachments: gora-cassandra-mapping.xml, gora.patch
>
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to