Hi Cassandra users,

I've begun work on a very exciting project which has been moving quite
slowly recently. It's combining Apache Nutch, Gora ORM framework (Apache
Incubator) and Apache Cassandra as a back end storage platform for web
crawling.

Atm I'm running Cassandra 0.8.4 in local/single mode and after starting the
server up I get the pleasing  INFO output so I'm happy with the way it is
running. When using Gora we need to pass properties for the location of the
Cassandra server and when I try to inject URLs I'm getting

lewis@lewis-01:~/ASF/nutchgora/runtime/local$ bin/nutch inject urls crawldb
InjectorJob: starting
InjectorJob: urlDir: urls
InjectorJob: org.apache.gora.util.GoraException: java.io.IOException:
java.io.IOException: Property with base name "servers" could not be found,
make sure to include this property in gora.properties file
    at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:110)
    at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:93)
    at
org.apache.nutch.storage.StorageUtils.createWebStore(StorageUtils.java:59)
    at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:243)
    at org.apache.nutch.crawl.InjectorJob.inject(InjectorJob.java:268)
    at org.apache.nutch.crawl.InjectorJob.run(InjectorJob.java:282)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.nutch.crawl.InjectorJob.main(InjectorJob.java:292)
Caused by: java.io.IOException: java.io.IOException: Property with base
name "servers" could not be found, make sure to include this property in
gora.properties file
    at
org.apache.gora.cassandra.store.CassandraStore.readMapping(CassandraStore.java:462)
    at
org.apache.gora.cassandra.store.CassandraStore.initialize(CassandraStore.java:91)
    at
org.apache.gora.store.DataStoreFactory.initializeDataStore(DataStoreFactory.java:81)
    at
org.apache.gora.store.DataStoreFactory.createDataStore(DataStoreFactory.java:104)
    ... 7 more
Caused by: java.io.IOException: Property with base name "servers" could not
be found, make sure to include this property in gora.properties file
    at
org.apache.gora.store.DataStoreFactory.findPropertyOrDie(DataStoreFactory.java:254)
    at
org.apache.gora.cassandra.store.CassandraStore.createClient(CassandraStore.java:394)
    at
org.apache.gora.cassandra.store.CassandraStore.readMapping(CassandraStore.java:425)
    ... 10 more

Can anyone please navigate me to a page which details the types of
properties we can pass to Cassandra?

Thank you kindly.

Lewis
-- 
*Lewis*

Reply via email to