Re: JDBC CQL Driver unable to locate cassandra.yaml

2011-07-16 Thread Brandon Williams
Try another slash in file:/, ie file://

On Thu, Jul 14, 2011 at 10:55 AM, Derek Tracy trac...@gmail.com wrote:
 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




Re: JDBC CQL Driver unable to locate cassandra.yaml

2011-07-14 Thread Derek Tracy
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



JDBC CQL Driver unable to locate cassandra.yaml

2011-07-13 Thread Derek Tracy
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
-


Re: JDBC CQL Driver unable to locate cassandra.yaml

2011-07-13 Thread Jonathan Ellis
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


RE: JDBC CQL Driver unable to locate cassandra.yaml

2011-07-13 Thread Vivek Mishra
setting server.config -$SERVER_PATH/Cassandra.yaml  as a system property 
should resolve this?

-Original Message-
From: Jonathan Ellis [mailto:jbel...@gmail.com]
Sent: Thursday, July 14, 2011 3:53 AM
To: user@cassandra.apache.org
Subject: Re: JDBC CQL Driver unable to locate cassandra.yaml

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



Register for Impetus Webinar on ‘Device Side Performance Optimization of Mobile 
Apps’, July 08 (10:00 am Pacific Time). Impetus is presenting a Cassandra case 
study on July 11 as a sponsor for Cassandra SF 2011 in San Francisco.

Click http://www.impetus.com to know more. Follow us on 
www.twitter.com/impetuscalling


NOTE: This message may contain information that is confidential, proprietary, 
privileged or otherwise protected by law. The message is intended solely for 
the named addressee. If received in error, please destroy and notify the 
sender. Any use of this email is prohibited when received in error. Impetus 
does not represent, warrant and/or guarantee, that the integrity of this 
communication has been maintained nor that the communication is free of errors, 
virus, interception or interference.