I tried putting the cassandra.yaml in the classpath but got the same error.
Adding -Dcassandra.config=file:/path/to/cassandra.yaml did work.


---------------------------------
Derek Tracy
trac...@gmail.com
---------------------------------



On Wed, Jul 13, 2011 at 6:22 PM, Jonathan Ellis <jbel...@gmail.com> wrote:

> The current version of the driver does require having the server's
> cassandra.yaml on the classpath.  This is a bug.
>
> On Wed, Jul 13, 2011 at 3:13 PM, Derek Tracy <trac...@gmail.com> wrote:
> > I am trying to integrate the Cassandra JDBC CQL driver with my companies
> ETL
> > product.
> > We have an interface that performs database queries using there
> respective
> > JDBC drivers.
> > When I try to use the Cassandra CQL JDBC driver I keep getting a
> stacktrace:
> >
> > Unable to locate cassandra.yaml
> >
> > I am using Cassandra 0.8.1.  Is there a guide on how to utilize/setup the
> > JDBC driver?
> >
> >
> >
> > Derek Tracy
> > trac...@gmail.com
> > ---------------------------------
> >
> >
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>

Reply via email to