Re: Using Thrift
I faced the same issue: You can find the similar issue here. http://stackoverflow.com/questions/8370365/debugging-bizarre-spring-slf4j-jar-issue Also, Spring community is acknowledging on the SLF4J Issue here (commons-logging issue): http://static.springsource.org/spring/docs/3.0.x/spring-framework-reference/htmlsingle/spring-framework-reference.html#dependency-management You can exclude that jar file. org.springframework spring-context 3.0.0.RELEASE runtime commons-logging commons-logging On Mon, Apr 2, 2012 at 2:32 PM, aaron morton wrote: > I would recommend starting with a higher level client like Hector > or Astyanax http://wiki.apache.org/cassandra/ClientOptions > > They have *a lot* of features and will make it easier to focus on learning > how to use Cassandra. Then when you know what you like or do not like about > the existing clients, try to improve them or write your own. > > Hope that helps. > > > - > Aaron Morton > Freelance Developer > @aaronmorton > http://www.thelastpickle.com > > On 2/04/2012, at 11:12 PM, Rishabh Agrawal wrote: > > Hello, > > > > I have just started exploring Cassandra from java side and using wish to use > thrift as my api. The problem is whenever is I try to compile my java code I > get following error : > > > > “package org.slf4j does not exist” > > > > Can anyone help me with this. > > > > Thanks and Regards > Rishabh Agrawal > > > > Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know > more about our Big Data quick-start program at the event. > > New Impetus webcast ‘Cloud-enabled Performance Testing vis-à-vis On-premise’ > available at http://bit.ly/z6zT4L. > > > 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. > >
Re: Using Thrift
I would recommend starting with a higher level client like Hector or Astyanax http://wiki.apache.org/cassandra/ClientOptions They have *a lot* of features and will make it easier to focus on learning how to use Cassandra. Then when you know what you like or do not like about the existing clients, try to improve them or write your own. Hope that helps. - Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 2/04/2012, at 11:12 PM, Rishabh Agrawal wrote: > Hello, > > I have just started exploring Cassandra from java side and using wish to use > thrift as my api. The problem is whenever is I try to compile my java code I > get following error : > > “package org.slf4j does not exist” > > Can anyone help me with this. > > Thanks and Regards > Rishabh Agrawal > > > Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know > more about our Big Data quick-start program at the event. > > New Impetus webcast ‘Cloud-enabled Performance Testing vis-à-vis On-premise’ > available at http://bit.ly/z6zT4L. > > > 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.
Re: Using Thrift
slf4j is just a logging facade, if you actually want log files, you need a logger, say log4j-*.jar in your classpath. Then just configure that with a log4j.properties file. That properties file also needs to be on the classpath. On 04/02/2012 09:05 AM, Rishabh Agrawal wrote: I didn't fine slf4j files in distribution. So I downloaded them can you help me how to configure it. *From:*Dave Brosius [mailto:dbros...@mebigfatguy.com] *Sent:* Monday, April 02, 2012 6:28 PM *To:* user@cassandra.apache.org *Subject:* Re: Using Thrift For a thrift client, you need the following jars at a minimum apache-cassandra-clientutil-*.jar apache-cassandra-thrift-*.jar libthrift-*.jar slf4j-api-*.jar slf4j-log4j12-*.jar all of these jars can be found in the cassandra distribution. On 04/02/2012 07:40 AM, Rishabh Agrawal wrote: Any suggestions *From:*Rishabh Agrawal *Sent:* Monday, April 02, 2012 4:42 PM *To:* user@cassandra.apache.org <mailto:user@cassandra.apache.org> *Subject:* Using Thrift Hello, I have just started exploring Cassandra from java side and using wish to use thrift as my api. The problem is whenever is I try to compile my java code I get following error : "package org.slf4j does not exist" Can anyone help me with this. Thanks and Regards Rishabh Agrawal Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know more about our Big Data quick-start program at the event. New Impetus webcast 'Cloud-enabled Performance Testing vis-à-vis On-premise' available at http://bit.ly/z6zT4L. 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. Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know more about our Big Data quick-start program at the event. New Impetus webcast 'Cloud-enabled Performance Testing vis-à-vis On-premise' available at http://bit.ly/z6zT4L. 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. Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know more about our Big Data quick-start program at the event. New Impetus webcast 'Cloud-enabled Performance Testing vis-à-vis On-premise' available at http://bit.ly/z6zT4L. 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.
RE: Using Thrift
Best to read about maven. Save you some grief. On Apr 2, 2012 3:05 PM, "Rishabh Agrawal" wrote: > I didn’t fine slf4j files in distribution. So I downloaded them can you > help me how to configure it. > > > > *From:* Dave Brosius [mailto:dbros...@mebigfatguy.com] > *Sent:* Monday, April 02, 2012 6:28 PM > *To:* user@cassandra.apache.org > *Subject:* Re: Using Thrift > > > > For a thrift client, you need the following jars at a minimum > > apache-cassandra-clientutil-*.jar > apache-cassandra-thrift-*.jar > libthrift-*.jar > slf4j-api-*.jar > slf4j-log4j12-*.jar > > all of these jars can be found in the cassandra distribution. > > > > On 04/02/2012 07:40 AM, Rishabh Agrawal wrote: > > Any suggestions…. > > > > *From:* Rishabh Agrawal > *Sent:* Monday, April 02, 2012 4:42 PM > *To:* user@cassandra.apache.org > *Subject:* Using Thrift > > > > Hello, > > > > I have just started exploring Cassandra from java side and using wish to > use thrift as my api. The problem is whenever is I try to compile my java > code I get following error : > > > > “package org.slf4j does not exist” > > > > Can anyone help me with this. > > > > Thanks and Regards > > Rishabh Agrawal > > > -- > > > Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know > more about our Big Data quick-start program at the event. > > New Impetus webcast ‘Cloud-enabled Performance Testing vis-à-vis > On-premise’ available at http://bit.ly/z6zT4L. > > > 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. > > > -- > > > Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know > more about our Big Data quick-start program at the event. > > New Impetus webcast ‘Cloud-enabled Performance Testing vis-à-vis > On-premise’ available at http://bit.ly/z6zT4L. > > > 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. > > > > -- > > Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know > more about our Big Data quick-start program at the event. > > New Impetus webcast ‘Cloud-enabled Performance Testing vis-à-vis > On-premise’ available at http://bit.ly/z6zT4L. > > > 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. >
RE: Using Thrift
I didn't fine slf4j files in distribution. So I downloaded them can you help me how to configure it. From: Dave Brosius [mailto:dbros...@mebigfatguy.com] Sent: Monday, April 02, 2012 6:28 PM To: user@cassandra.apache.org Subject: Re: Using Thrift For a thrift client, you need the following jars at a minimum apache-cassandra-clientutil-*.jar apache-cassandra-thrift-*.jar libthrift-*.jar slf4j-api-*.jar slf4j-log4j12-*.jar all of these jars can be found in the cassandra distribution. On 04/02/2012 07:40 AM, Rishabh Agrawal wrote: Any suggestions From: Rishabh Agrawal Sent: Monday, April 02, 2012 4:42 PM To: user@cassandra.apache.org<mailto:user@cassandra.apache.org> Subject: Using Thrift Hello, I have just started exploring Cassandra from java side and using wish to use thrift as my api. The problem is whenever is I try to compile my java code I get following error : "package org.slf4j does not exist" Can anyone help me with this. Thanks and Regards Rishabh Agrawal Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know more about our Big Data quick-start program at the event. New Impetus webcast 'Cloud-enabled Performance Testing vis-à-vis On-premise' available at http://bit.ly/z6zT4L. 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. Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know more about our Big Data quick-start program at the event. New Impetus webcast 'Cloud-enabled Performance Testing vis-à-vis On-premise' available at http://bit.ly/z6zT4L. 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. Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know more about our Big Data quick-start program at the event. New Impetus webcast 'Cloud-enabled Performance Testing vis-à-vis On-premise' available at http://bit.ly/z6zT4L. 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.
Re: Using Thrift
For a thrift client, you need the following jars at a minimum apache-cassandra-clientutil-*.jar apache-cassandra-thrift-*.jar libthrift-*.jar slf4j-api-*.jar slf4j-log4j12-*.jar all of these jars can be found in the cassandra distribution. On 04/02/2012 07:40 AM, Rishabh Agrawal wrote: Any suggestions *From:*Rishabh Agrawal *Sent:* Monday, April 02, 2012 4:42 PM *To:* user@cassandra.apache.org *Subject:* Using Thrift Hello, I have just started exploring Cassandra from java side and using wish to use thrift as my api. The problem is whenever is I try to compile my java code I get following error : "package org.slf4j does not exist" Can anyone help me with this. Thanks and Regards Rishabh Agrawal Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know more about our Big Data quick-start program at the event. New Impetus webcast 'Cloud-enabled Performance Testing vis-à-vis On-premise' available at http://bit.ly/z6zT4L. 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. Impetus to sponsor and exhibit at Structure Data 2012, NY; Mar 21-22. Know more about our Big Data quick-start program at the event. New Impetus webcast 'Cloud-enabled Performance Testing vis-à-vis On-premise' available at http://bit.ly/z6zT4L. 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.