Hi Lewis, I'm using cassandra 1.2.3 right now, but I'm building against 1.1.2 as defined in trunk/pom.xml.
I've tried your suggestion about upgrading Jackson, and it seems to work :) I've created a 'patch' [0] for it ;) This way I can build nutch and the parsechecker test works, I will test a bit more tonight. --Roland [0] https://issues.apache.org/jira/browse/GORA-222 On Thu, Mar 28, 2013 at 11:33 PM, Lewis John Mcgibbney <[email protected]> wrote: > Hi Roland, > > It brings me some comfort to discover that your also stepping in to the > deep blue with Nutch 2.x HEAD and Gora trunk HEAD. ;) > I am very interested in getting to the bottom of this. > Firstly, I posted some observations on this list a while back regarding > problems I was having with both of the above. I documented my observations > here > http://people.apache.org/~lewismc/gora/ > > On Thu, Mar 28, 2013 at 8:13 AM, <[email protected]> wrote: > >> (using the gora-cassandra backend) >> > Which Cassandra version are you using Roland? > > >> >> Exception in thread "main" java.lang.NoClassDefFoundError: >> org/codehaus/jackson/Versioned >> This seems to be avro & hadoop or maybe even cassandra related, as far >> as I can see. > > ... > >> So these jars seem to reference org.codehaus.jackson.Versioned which >> is just in versions >= 1.6.0 of jackson-core-asl. >> >> I found this in out maven pom.xml: >> <jackson.version>1.4.2</jackson.version> >> [...] >> <!-- Avro needs this version of jackson --> >> <dependency> >> <groupId>org.codehaus.jackson</groupId> >> <artifactId>jackson-core-asl</artifactId> >> <version>${jackson.version}</version> >> </dependency> >> > > When we made the upgrade to Hadoop 1.0.1 [0] a while back, we noticed some > dodgy (sorry for use of word but this is how I am explaining it) behaviour > regarding transitive dependencies. Some dependencies were therefore > excluded from being inherited transitively in order to compile and test > gora-*. > > Have you tried upgrading the jackson versioning in parent pom.xml? > Maybe we can try this, package the artifact and use it within some test > crawl within Nutch. > Nutch is a great use case for Gora and we have identified and fixed a pile > of bugs this way... sometimes however (and this is by no exception) there > are a number of hoops to jump through before it becomes clear from where > the problem stems. > > [0] https://issues.apache.org/jira/browse/GORA-76

