Re: Upgrade to Hector and Cassandra 1.1.X

2012-07-09 Thread Lewis John Mcgibbney
Hi Alexis,

We made the decision to phase towards Maven for the build lifecycle
therefore Any + Ivy will most certainly be outdated for all modules.

Best

Lewis

On Sun, Jul 8, 2012 at 8:52 PM, Alexis alexis.detregl...@gmail.com wrote:
 Hi Kaz,

 Currently, in my case, gora-cassandra build fails. Any idea why the
 build appears as successful on Hudson?
 https://builds.apache.org/job/gora-trunk/337/org.apache.gora$gora-cassandra/

 $ svn co http://svn.apache.org/repos/asf/gora/trunk/ gora
 $ cd gora/gora-cassandra
 $ ant

 compile:
 [javac] Compiling 10 source files to
 /home/alex/java/ext/gora/gora-cassandra/build/classes
 [javac] 
 /home/alex/java/ext/gora/gora-cassandra/src/main/java/org/apache/gora/cassandra/query/CassandraColumn.java:23:
 package me.prettyprint.cassandra.serializers does not exist
 [javac] import me.prettyprint.cassandra.serializers.FloatSerializer;
 BUILD FAILED


 Now the only required dependencies in gora-cassandra/ivy/ivy.xml are:
  dependency org=org.apache.gora name=gora-core
 rev=latest.integration changing=true conf=*-@/
  dependency org=org.jdom name=jdom rev=1.1/
  dependency org=org.hectorclient name=hector-core rev=1.1-0/

 compile:
 [javac] Compiling 10 source files to
 /home/alex/java/ext/gora/gora-cassandra/build/classes
 [javac] Note: Some input files use unchecked or unsafe operations.
 [javac] Note: Recompile with -Xlint:unchecked for details.
 BUILD SUCCESSFUL

 I plan to commit patch attached in email and JIRA if you're fine with it:
 https://issues.apache.org/jira/browse/GORA-140

 Alexis

 On Fri, Jun 1, 2012 at 8:51 AM, Kazuomi Kashii kazu...@kashii.net wrote:
 I found the following in hector-core-1.1-0.pom of
 .m2/repository/org/hectorclient/hector-core/1.1-0.

 !--for abstract types? --
 dependency
 groupIdorg.apache.cassandra/groupId
 artifactIdcassandra-all/artifactId
 /dependency

 Currently, I am not sure that it is really necessary.
 Anyway, we should remove cassandra-all from pom.xml of gora and
 gora-cassandra.
 -Kaz



 On 6/1/12 7:44 AM, Kazuomi Kashii wrote:

 Regarding dependency,
 gora-cassandra is a client library of Cassandra via Hector,
 so it depends only apache-cassandra-thrift-1.1.0.jar (or ...-1.0.x.jar),
 and cassandra-all is not necessary.
 -Kaz


 On 6/1/12 6:50 AM, Lewis John Mcgibbney wrote:

 Afternoon Everyone (specifically Kazuomi),

 In process of upgrading our gora-cassandra deps and wondered if I
 could cut a corner and for you to remind me about the changes you made
 to the Gora source to accommodate the upgrade?

 Hector has been renamed to org.hectorclient, however package naming
 has been retained (for the time being). Also I think you mentioned
 something about dropping the cassandra-all dependency... is this
 correct. If so that would be great as it's a beast with many
 transitive deps which we end up fetching as well.

 Any hits would be great.

 Have a great weekend

 Lewis






-- 
Lewis


[jira] [Commented] (GORA-140) Requires some adjustments on dependency at gora-cassandra

2012-07-09 Thread Lewis John McGibbney (JIRA)

[ 
https://issues.apache.org/jira/browse/GORA-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13409649#comment-13409649
 ] 

Lewis John McGibbney commented on GORA-140:
---

Hi Alexis are you happy with these dependency changes?

 Requires some adjustments on dependency at gora-cassandra
 -

 Key: GORA-140
 URL: https://issues.apache.org/jira/browse/GORA-140
 Project: Apache Gora
  Issue Type: Improvement
  Components: maven, storage-cassandra
Affects Versions: 0.2
Reporter: Kazuomi Kashii
Priority: Minor
 Fix For: 0.3

 Attachments: GORA-140-v2.patch, GORA-140-v3.patch, GORA-140-v4.patch, 
 GORA-140.patch, cassandraIvy.patch


 avro and slf4j-log4j should be added.
 cassandra-all can be removed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira