<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>DataStax Support Forums &#187; Topic: Suggestions to write DSE Solr unit test cases .</title>
		<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases</link>
		<description>Software, Support, and Training for Apache Cassandra</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 02:40:30 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.datastax.com/support-forums/search.php</link>
		</textInput>
		<atom:link href="http://www.datastax.com/support-forums/rss/topic/suggestions-to-write-dse-solr-unit-test-cases" rel="self" type="application/rss+xml" />

		<item>
			<title>shruti on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7583</link>
			<pubDate>Tue, 20 Nov 2012 09:15:32 +0000</pubDate>
			<dc:creator>shruti</dc:creator>
			<guid isPermaLink="false">7583@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Sam ,&#60;br /&#62;
I have tried and integrated the Cassandra-unit using DSE jars . I am able to start DSE cassandra and load data into it using cassandra-unit , however when posting the solr xml files  I am getting exception -&#60;/p&#62;
&#60;p&#62;SLF4J: Class path contains multiple SLF4J bindings.&#60;br /&#62;
SLF4J: Found binding in [jar:file:/C:/Documents%20and%20Settings/sm40/.m2/repository/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]&#60;br /&#62;
SLF4J: Found binding in [jar:file:/C:/dse-2.2/resources/dse/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]&#60;br /&#62;
SLF4J: See &#60;a href=&#34;http://www.slf4j.org/codes.html#multiple_bindings&#34; rel=&#34;nofollow&#34;&#62;http://www.slf4j.org/codes.html#multiple_bindings&#60;/a&#62; for an explanation.&#60;br /&#62;
Catalina Base-----&#38;gt;src/test/resources/tomcat/&#60;br /&#62;
2012-11-20 14:40:37,577 [main] DEBUG cassandraunit.utils.EmbeddedCassandraServerHelper - Starting cassandra...&#60;br /&#62;
2012-11-20 14:40:37,577 [main] DEBUG cassandraunit.utils.EmbeddedCassandraServerHelper - Initialization needed&#60;br /&#62;
2012-11-20 14:40:37,655 [Thread-1] DEBUG hadoop.conf.Configuration - java.io.IOException: config()&#60;br /&#62;
	at org.apache.hadoop.conf.Configuration.&#38;lt;init&#38;gt;(Configuration.java:228)&#60;br /&#62;
	at org.apache.hadoop.conf.Configuration.&#38;lt;init&#38;gt;(Configuration.java:215)&#60;br /&#62;
	at org.apache.hadoop.mapred.JobConf.&#38;lt;init&#38;gt;(JobConf.java:321)&#60;br /&#62;
	at com.datastax.bdp.hadoop.mapred.CassandraJobConf.&#38;lt;init&#38;gt;(CassandraJobConf.java:32)&#60;br /&#62;
	at com.datastax.bdp.server.DseServer.&#38;lt;clinit&#38;gt;(DseServer.java:122)&#60;br /&#62;
	at com.datastax.bdp.hadoop.mapred.SchemaTool.init(SchemaTool.java:408)&#60;br /&#62;
	at com.datastax.bdp.server.DseDaemon.setup(DseDaemon.java:113)&#60;br /&#62;
	at org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:389)&#60;br /&#62;
	at org.cassandraunit.utils.EmbeddedCassandraServerHelper$1.run(EmbeddedCassandraServerHelper.java:106)&#60;br /&#62;
	at java.lang.Thread.run(Unknown Source)&#60;/p&#62;
&#60;p&#62;2012-11-20 14:40:38,015 [Thread-1] INFO  bdp.snitch.DseDelegateSnitch - Detected enabled Solr plugin, setting my role to Search&#60;br /&#62;
2012-11-20 14:40:38,030 [Thread-1] INFO  bdp.config.DseConfig - Loading settings from file:/D:/cassandra-unit-master/target/test-classes/dse.yaml&#60;br /&#62;
2012-11-20 14:40:38,030 [Thread-1] DEBUG bdp.config.DseConfig - Delegated snitch is com.datastax.bdp.snitch.DseSimpleSnitch&#60;br /&#62;
2012-11-20 14:40:38,030 [Thread-1] INFO  bdp.snitch.DseSimpleSnitch - Detected search service is enabled, setting my DC to Solr&#60;br /&#62;
2012-11-20 14:40:38,030 [Thread-1] INFO  bdp.config.DseConfig - Load of settings is done.&#60;br /&#62;
2012-11-20 14:40:38,374 [Thread-1] INFO  bdp.server.DseDaemon - DSE version: 2.2&#60;br /&#62;
2012-11-20 14:40:38,374 [Thread-1] INFO  bdp.server.DseDaemon - Hadoop version: 1.0.2-dse-SNAPSHOT&#60;br /&#62;
2012-11-20 14:40:38,374 [Thread-1] INFO  bdp.server.DseDaemon - Hive version: 0.9.0-SNAPSHOT&#60;br /&#62;
2012-11-20 14:40:38,374 [Thread-1] INFO  bdp.server.DseDaemon - Pig version: 0.9.2&#60;br /&#62;
2012-11-20 14:40:38,374 [Thread-1] INFO  bdp.server.DseDaemon - Solr version: 4.0-SNAPSHOT&#60;br /&#62;
2012-11-20 14:40:38,374 [Thread-1] INFO  bdp.server.DseDaemon - Sqoop version: 1.4.2-dse-SNAPSHOT&#60;br /&#62;
2012-11-20 14:40:38,374 [Thread-1] INFO  bdp.server.DseDaemon - Mahout version: 0.6&#60;br /&#62;
2012-11-20 14:40:38,374 [Thread-1] INFO  bdp.server.DseDaemon - Appender version: 1.0-SNAPSHOT&#60;br /&#62;
2012-11-20 14:40:39,311 [pool-1-thread-1] INFO  bdp.plugin.SolrContainerPlugin - Starting Embedded Tomcat&#60;br /&#62;
Nov 20, 2012 2:40:39 PM org.apache.catalina.core.AprLifecycleListener init&#60;br /&#62;
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Program Files\PC Connectivity Solution\;C:\MINGW\bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Perforce;C:\Program Files\MATLAB\R2010a\bin;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Program Files\Enterprise Vault\EVClient\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Ant\bin;D:\Program Files\Perforce;C:\Program Files\Windows Imaging\;C:\ostaw32-1-4-4\ext\omniorb\bin\x86_win32;C:\gnuwin32\bin;C:\Program Files\Microsoft Visual Studio 8\VC\bin;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE;C:\Program Files\Microsoft Visual Studio 8\VC\include;C:\Program Files\Python;C:\Program Files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT;C:\cygwin\bin;C:\project\android-ndk-r6b;C:\Program Files\Java\jdk1.6.0_25\bin;C:\apache-maven-3.0.4\bin;C:\curl;&#60;br /&#62;
2012-11-20 14:40:39,702 [pool-1-thread-1] INFO  org.mortbay.log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog&#60;br /&#62;
Nov 20, 2012 2:40:39 PM org.apache.coyote.http11.Http11Protocol init&#60;br /&#62;
INFO: Initializing Coyote HTTP/1.1 on http-8983&#60;br /&#62;
Nov 20, 2012 2:40:39 PM org.apache.catalina.startup.Catalina load&#60;br /&#62;
INFO: Initialization processed in 494 ms&#60;br /&#62;
Nov 20, 2012 2:40:39 PM org.apache.catalina.core.StandardService start&#60;br /&#62;
INFO: Starting service Solr&#60;br /&#62;
Nov 20, 2012 2:40:39 PM org.apache.catalina.core.StandardEngine start&#60;br /&#62;
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32&#60;br /&#62;
Nov 20, 2012 2:40:39 PM org.apache.coyote.http11.Http11Protocol start&#60;br /&#62;
INFO: Starting Coyote HTTP/1.1 on http-8983&#60;br /&#62;
Nov 20, 2012 2:40:39 PM org.apache.jk.common.ChannelSocket init&#60;br /&#62;
INFO: JK: ajp13 listening on /0.0.0.0:8009&#60;br /&#62;
Nov 20, 2012 2:40:40 PM org.apache.jk.server.JkMain start&#60;br /&#62;
INFO: Jk running ID=0 time=0/46  config=null&#60;br /&#62;
2012-11-20 14:40:40,014 [pool-1-thread-1] INFO  bdp.plugin.SolrContainerPlugin - Embedded Tomcat started&#60;br /&#62;
2012-11-20 14:40:40,014 [pool-1-thread-1] INFO  bdp.plugin.PluginManager - Plugin activated: com.datastax.bdp.plugin.SolrContainerPlugin&#60;br /&#62;
Nov 20, 2012 2:40:40 PM org.apache.catalina.startup.Catalina start&#60;br /&#62;
INFO: Server startup in 157 ms&#60;br /&#62;
2012-11-20 14:40:40,061 [Thread-1] INFO  bdp.server.DseDaemon - Binding thrift service to /0.0.0.0:9171&#60;br /&#62;
2012-11-20 14:40:40,061 [Thread-1] INFO  bdp.server.DseDaemon - Using TFastFramedTransport with a max frame size of 15728640 bytes.&#60;br /&#62;
2012-11-20 14:40:40,077 [Thread-1] INFO  bdp.server.DseDaemon - Using synchronous/threadpool thrift server on /0.0.0.0 : 9171&#60;br /&#62;
2012-11-20 14:40:40,077 [Thread-9] INFO  bdp.server.DseDaemon - Listening for thrift clients...&#60;br /&#62;
2012-11-20 14:40:41,124 [main] INFO  org.cassandraunit.DataLoader - creating keyspace : testKeyspace&#60;br /&#62;
2012-11-20 14:40:41,124 [main] INFO  org.cassandraunit.DataLoader - loading data into keyspace : testKeyspace&#60;br /&#62;
shouldWork Get DataSet --&#38;gt;testKeyspace&#60;br /&#62;
solrConfig URL-&#38;gt;http://localhost:8983/solr/resource/testKeyspace.testcf/solrconfig.xml&#60;br /&#62;
2012-11-20 14:41:06,294 [main] INFO  test.lts.PostTool - Entering PostTool postFile&#60;br /&#62;
2012-11-20 14:41:06,294 [main] INFO  test.lts.PostTool - PostTool: POSTing files to &#60;a href=&#34;http://localhost:8983/solr/resource/testKeyspace.testcf/solrconfig.xml.&#34; rel=&#34;nofollow&#34;&#62;http://localhost:8983/solr/resource/testKeyspace.testcf/solrconfig.xml.&#60;/a&#62;.&#60;br /&#62;
2012-11-20 14:41:06,294 [main] INFO  test.lts.PostTool - PostTool: POSTing file solrconfig.xml&#60;br /&#62;
java.io.IOException: Error writing request body to server&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.checkError(Unknown Source)&#60;br /&#62;
	at sun.net.www.protocol.http.HttpURLConnection$StreamingOutputStream.write(Unknown Source)&#60;br /&#62;
	at org.cassandraunit.test.lts.PostTool.pipe(PostTool.java:275)&#60;br /&#62;
	at org.cassandraunit.test.lts.PostTool.postData(PostTool.java:218)&#60;br /&#62;
	at org.cassandraunit.test.lts.PostTool.postFile(PostTool.java:138)&#60;br /&#62;
	at org.cassandraunit.test.lts.PostTool.postFiles(PostTool.java:80)&#60;br /&#62;
	at org.cassandraunit.test.lts.PostTool.postFile(PostTool.java:61)&#60;br /&#62;
	at org.cassandraunit.test.lts.LoadDeviceData.postSolrConfig(LoadDeviceData.java:157)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#60;br /&#62;
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)&#60;br /&#62;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)&#60;br /&#62;
	at java.lang.reflect.Method.invoke(Unknown Source)&#60;br /&#62;
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)&#60;br /&#62;
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)&#60;br /&#62;
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)&#60;br /&#62;
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)&#60;br /&#62;
	at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)&#60;br /&#62;
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)&#60;br /&#62;
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)&#60;br /&#62;
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)&#60;br /&#62;
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)&#60;br /&#62;
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)&#60;br /&#62;
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)&#60;br /&#62;
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)&#60;br /&#62;
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)&#60;br /&#62;
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)&#60;br /&#62;
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)&#60;br /&#62;
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)&#60;br /&#62;
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)&#60;br /&#62;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)&#60;br /&#62;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)&#60;br /&#62;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)&#60;br /&#62;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)&#60;br /&#62;
2012-11-20 14:41:15,466 [main] ERROR test.lts.PostTool - PostTool: FATAL: IOException while posting data: java.io.IOException: Error writing request body to server&#60;br /&#62;
2012-11-20 14:41:18,450 [main] ERROR test.lts.PostTool - PostTool: FATAL: IOException while reading response: java.io.IOException: Incomplete output stream&#60;/p&#62;
&#60;p&#62;Hope you can provide a pointer to solve this .&#60;/p&#62;
&#60;p&#62;Thanks !
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sam on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7570</link>
			<pubDate>Mon, 19 Nov 2012 09:31:22 +0000</pubDate>
			<dc:creator>sam</dc:creator>
			<guid isPermaLink="false">7570@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Are there any stacktraces printed to the console or the application log?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shruti on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7566</link>
			<pubDate>Mon, 19 Nov 2012 06:06:45 +0000</pubDate>
			<dc:creator>shruti</dc:creator>
			<guid isPermaLink="false">7566@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;hi Sam ,&#60;/p&#62;
&#60;p&#62;The exception occurs when addSolrConfig method gets invoked .
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sam on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7495</link>
			<pubDate>Wed, 14 Nov 2012 09:54:30 +0000</pubDate>
			<dc:creator>sam</dc:creator>
			<guid isPermaLink="false">7495@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;If there are errors submitting the Solr resources, you should see a stacktrace and the test should immediately fail (this should happen during setup). Is this when you're seeing the 400 responses, or is it during the actual test execution?&#60;/p&#62;
&#60;p&#62;Are there any stacktraces printed to the console?&#60;/p&#62;
&#60;p&#62;The example should be self contained, so there isn't anything else you should need to configure for Solr.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shruti on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7427</link>
			<pubDate>Wed, 07 Nov 2012 06:42:08 +0000</pubDate>
			<dc:creator>shruti</dc:creator>
			<guid isPermaLink="false">7427@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi Sam ,&#60;br /&#62;
Using your code , I was able to start EmbeddedDSE . Cassandra has started properly as I was able to load data into it , However seems like Solr has not started as posting my solrconfig and schema xml's is throwing 400 Response Code .&#60;br /&#62;
Do I need to provide some additional information /configuration for Solr to start up ? &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shruti on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7395</link>
			<pubDate>Mon, 05 Nov 2012 08:37:40 +0000</pubDate>
			<dc:creator>shruti</dc:creator>
			<guid isPermaLink="false">7395@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Thanks again Sam,&#60;br /&#62;
However I am facing problems related to avro while creating the Keyspace .I am using avro 1.6 jar &#38;amp; avro-tools 1.6.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sam on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7386</link>
			<pubDate>Sat, 03 Nov 2012 13:45:27 +0000</pubDate>
			<dc:creator>sam</dc:creator>
			<guid isPermaLink="false">7386@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;In the gist, lines 151-162 are adding data into the columnfamily. You could pull that out into a fixture setup method if you have a particular dataset that you'll use across tests.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Sam
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shruti on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7385</link>
			<pubDate>Sat, 03 Nov 2012 12:20:56 +0000</pubDate>
			<dc:creator>shruti</dc:creator>
			<guid isPermaLink="false">7385@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi sam ,&#60;br /&#62;
Thanks a lot for the pointers .&#60;br /&#62;
Just wanted to know how do you add data into your keyspace and columnfamily . Whenever I try and index a CF , it throws unconfigured CF exception . &#60;/p&#62;
&#60;p&#62;Is there a way populate data in cassandra daemon which gets started .
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sam on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7124</link>
			<pubDate>Fri, 26 Oct 2012 10:04:26 +0000</pubDate>
			<dc:creator>sam</dc:creator>
			<guid isPermaLink="false">7124@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Whilst it isn't something maintained or supported by DataStax, this is an approach that you can use to run an embedded DSE Search instance in junit tests. It certainly isn't as polished as cassandra-unit, but its something which has worked well for me&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://gist.github.com/344d9e60be76b6c6df58&#34; rel=&#34;nofollow&#34;&#62;https://gist.github.com/344d9e60be76b6c6df58&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Hope you find it useful
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rahja on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7092</link>
			<pubDate>Wed, 24 Oct 2012 07:17:18 +0000</pubDate>
			<dc:creator>rahja</dc:creator>
			<guid isPermaLink="false">7092@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;sdelmas, thanks for you reply.&#60;/p&#62;
&#60;p&#62;We have a few more questions related to unit testing with Solr. We intend to have a  completely automated unit tests which can be easily run from our build systems or from developers machine, without requiring any additional/manual setups.&#60;/p&#62;
&#60;p&#62;For this we need a way to&#60;br /&#62;
1) Start DSE cassandra+solr, as embedded service in the same JVM as unit tests (junit). Apache cassandra supports running it as embedded service, like what is mentioned @ &#60;a href=&#34;http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/&#34; rel=&#34;nofollow&#34;&#62;http://prettyprint.me/2010/02/14/running-cassandra-as-an-embedded-service/&#60;/a&#62;&#60;br /&#62;
How do we start DSE cassandar+solr as embedded serrvice.&#60;/p&#62;
&#60;p&#62;For plain cassandra unit tests we are currently using cassandra-unit (&#60;a href=&#34;https://github.com/jsevellec/cassandra-unit)&#34; rel=&#34;nofollow&#34;&#62;https://github.com/jsevellec/cassandra-unit)&#60;/a&#62;, which depends on apache cassandra-all, and starts plain apache cassandra as embedded service.&#60;/p&#62;
&#60;p&#62;To start DSE cassandra+solr as embedded service, do we need to compile against any specific DSE jars?&#60;/p&#62;
&#60;p&#62;2) How to populate data in embedded cassandra+solr and also instruct solr for indexing. Cassandra-Unit allows populating data very easily by defining them in XML/Json/Yaml data files? Is there any similar or other way with DSE cassandar+solr?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sven on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7088</link>
			<pubDate>Tue, 23 Oct 2012 20:43:36 +0000</pubDate>
			<dc:creator>Sven</dc:creator>
			<guid isPermaLink="false">7088@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Solr is already in the same JVM as Cassandra when you use DSE. A good way to test Solr would be to use cql or http requests. You could use scripts to drive that or use an existing test framework like junit.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shruti on "Suggestions to write DSE Solr unit test cases ."</title>
			<link>http://www.datastax.com/support-forums/topic/suggestions-to-write-dse-solr-unit-test-cases#post-7068</link>
			<pubDate>Tue, 23 Oct 2012 05:39:13 +0000</pubDate>
			<dc:creator>shruti</dc:creator>
			<guid isPermaLink="false">7068@http://www.datastax.com/support-forums/</guid>
			<description>&#60;p&#62;Hi ,&#60;/p&#62;
&#60;p&#62;Can you please suggest a way to write unit test cases using DSE Solr .&#60;br /&#62;
Currently my application is storing data in DSE cassandra and querying it through Solr .&#60;/p&#62;
&#60;p&#62;Is there any way to start DSE in embedded/in memory mode so that it starts both Solr and Cassandra . &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
