Open huyle opened 13 years ago
No, There are tests verifying sorting does work:
https://github.com/tjake/Solandra/blob/solandra/test/solandra/SolandraTests.java#L832
Do these pass for you? ant test
Hi Jake,
Tests failed. Here is output from ant test:
[junit] INFO 20:08:05,798 [] Registered new searcher Searcher@20fc40ae main
[junit] INFO 20:08:05,798 user.dir=/u01/app/solandra/tjake-Solandra-462c13a
[junit] INFO 20:08:05,798 SolrDispatchFilter.init() done
[junit] INFO 20:08:05,801 Started SocketConnector@0.0.0.0:8983
[junit] INFO 20:08:06,035 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=126
[junit] INFO 20:08:06,258 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,259 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=0
[junit] INFO 20:08:06,261 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,262 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=0
[junit] INFO 20:08:06,272 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,274 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,276 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,285 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,287 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,288 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=0
[junit] INFO 20:08:06,293 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=0
[junit] INFO 20:08:06,295 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,296 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=0
[junit] INFO 20:08:06,298 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,300 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,302 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,305 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,308 [] webapp=/solandra path=/select params={q={!raw+f%3Djunit_test_query}ping} hits=0 status=0 QTime=1
[junit] INFO 20:08:06,315 Running tests for core: 101961002530780
[junit] INFO 20:08:06,328 Wrote Schema for 101961002530780/schema.xml
[junit] INFO 20:08:06,330 row was marked empty: [Row(key=DecoratedKey(136947913395583345484838255810484242500, 3130313936313030323533303738302f736368656d61), cf=null)]
[junit] java.io.FileNotFoundException: http://localhost:8983/solandra/schema/101961002530780/schema.xml
[junit] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
[junit] at java.net.URL.openStream(URL.java:1010)
[junit] at solandra.SolandraTestRunner.addSchema(SolandraTestRunner.java:132)
[junit] at solandra.SolandraTests.allTestsManyIndexes(SolandraTests.java:91)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
[junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
[junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
[junit] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
[junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
[junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
[junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
[junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
[junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
[junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
[junit] at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
[junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
[junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
[junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
[junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)
[junit] INFO 20:08:06,388 Wrote Schema for 101961002592413/schema.xml
[junit] INFO 20:08:06,390 row was marked empty: [Row(key=DecoratedKey(151362468384239468700862044604825807141, 3130313936313030323539323431332f736368656d61), cf=null)]
[junit] java.io.FileNotFoundException: http://localhost:8983/solandra/schema/101961002592413/schema.xml
[junit] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
[junit] at java.net.URL.openStream(URL.java:1010)
[junit] at solandra.SolandraTests.setAddOtherSchema(SolandraTests.java:403)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:597)
[junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
[junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
[junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
[junit] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
[junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
[junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
[junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
[junit] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:44)
[junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
[junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
[junit] at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
[junit] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
[junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
[junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
[junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:422)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:931)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:785)
[junit] INFO 20:08:06,417 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,418 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,490 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,490 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,563 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,564 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,575 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,576 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,591 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,592 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,598 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,599 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,617 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,618 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,628 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,628 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,634 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,635 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,639 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,640 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,660 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,661 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] INFO 20:08:06,666 row was marked empty: [Row(key=DecoratedKey(9551188407454253498442306096745496329, 313031393631303032353932343133), cf=null)]
[junit] ERROR 20:08:06,667 java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104)
[junit] at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194)
[junit] at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137)
[junit] at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
[junit] at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
[junit] at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
[junit] at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
[junit] at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
[junit] at org.mortbay.jetty.Server.handle(Server.java:326)
[junit] at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
[junit] at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
[junit] at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
[junit] at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
[junit] at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[junit] at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
[junit] at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
[junit] Caused by: java.io.IOException: invalid core '101961002592413'
[junit] at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157)
[junit] at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100)
[junit] ... 15 more
[junit]
[junit] ------------- ---------------- ---------------
[junit] Testcase: allTestsManyIndexes(solandra.SolandraTests): FAILED
[junit]
[junit] junit.framework.AssertionFailedError:
[junit] at solandra.SolandraTestRunner.addSchema(SolandraTestRunner.java:155)
[junit] at solandra.SolandraTests.allTestsManyIndexes(SolandraTests.java:91)
[junit]
[junit]
[junit] Testcase: setAddOtherSchema(solandra.SolandraTests): FAILED
[junit]
[junit] junit.framework.AssertionFailedError:
[junit] at solandra.SolandraTests.setAddOtherSchema(SolandraTests.java:434)
[junit]
[junit]
[junit] Testcase: testOneOtherDocument(solandra.SolandraTests): FAILED
[junit] expected:<200> but was:<500>
[junit] junit.framework.AssertionFailedError: expected:<200> but was:<500>
[junit] at solandra.SolandraTests.testOneOtherDocument(SolandraTests.java:459)
[junit]
[junit]
[junit] Testcase: testAllUUIDSearch(solandra.SolandraTests): Caused an ERROR
[junit] Error executing query
[junit] org.apache.solr.client.solrj.SolrServerException: Error executing query
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
[junit] at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
[junit] at solandra.SolandraTests.testAllUUIDSearch(SolandraTests.java:480)
[junit]
[junit]
[junit] request: http://localhost:8983/solandra/101961002592413/select?q=uuid:[* TO *]&wt=javabin&version=2
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
[junit]
[junit]
[junit] Testcase: testSomeOtherDocuments(solandra.SolandraTests): FAILED
[junit] expected:<200> but was:<500>
[junit] junit.framework.AssertionFailedError: expected:<200> but was:<500>
[junit] at solandra.SolandraTests.writeDocs(SolandraTests.java:794)
[junit] at solandra.SolandraTests.testSomeOtherDocuments(SolandraTests.java:545)
[junit]
[junit]
[junit] Testcase: testAllUUIDSearchAgain(solandra.SolandraTests): Caused an ERROR
[junit] Error executing query
[junit] org.apache.solr.client.solrj.SolrServerException: Error executing query
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
[junit] at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
[junit] at solandra.SolandraTests.testAllUUIDSearchAgain(SolandraTests.java:566)
[junit]
[junit]
[junit] request: http://localhost:8983/solandra/101961002592413/select?q=uuid:[* TO *]&wt=javabin&version=2
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
[junit]
[junit]
[junit] Testcase: testAllMessageTypeSearch(solandra.SolandraTests): Caused an ERROR
[junit] Error executing query
[junit] org.apache.solr.client.solrj.SolrServerException: Error executing query
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
[junit] at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
[junit] at solandra.SolandraTests.testAllMessageTypeSearch(SolandraTests.java:576)
[junit]
[junit]
[junit] request: http://localhost:8983/solandra/101961002592413/select?q=messageType:[* TO *]&wt=javabin&version=2
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
[junit]
[junit]
[junit] Testcase: testAllMessageTypeTransportSearch(solandra.SolandraTests): Caused an ERROR
[junit] Error executing query
[junit] org.apache.solr.client.solrj.SolrServerException: Error executing query
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
[junit] at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
[junit] at solandra.SolandraTests.testAllMessageTypeTransportSearch(SolandraTests.java:586)
[junit]
[junit]
[junit] request: http://localhost:8983/solandra/101961002592413/select?q=messageType:Transport&wt=javabin&version=2
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
[junit]
[junit]
[junit] Testcase: testAddMoreOtherDocuments(solandra.SolandraTests): FAILED
[junit] expected:<200> but was:<500>
[junit] junit.framework.AssertionFailedError: expected:<200> but was:<500>
[junit] at solandra.SolandraTests.writeDocs(SolandraTests.java:794)
[junit] at solandra.SolandraTests.testAddMoreOtherDocuments(SolandraTests.java:600)
[junit]
[junit]
[junit] Testcase: testClearAllRecords(solandra.SolandraTests): Caused an ERROR
[junit] java.io.IOException: invalid core '101961002592413' java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413' at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194) at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.io.IOException: invalid core '101961002592413' at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157) at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100) ... 15 more
[junit]
[junit] java.io.IOException: invalid core '101961002592413' java.lang.RuntimeException: java.io.IOException: invalid core '101961002592413' at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:104) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:194) at solandra.SolandraDispatchFilter.doFilter(SolandraDispatchFilter.java:137) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) Caused by: java.io.IOException: invalid core '101961002592413' at org.apache.solr.core.SolandraCoreContainer.readSchema(SolandraCoreContainer.java:157) at org.apache.solr.core.SolandraCoreContainer.getCore(SolandraCoreContainer.java:100) ... 15 more
[junit]
[junit] request: http://localhost:8983/solandra/101961002592413/update?wt=javabin&version=2
[junit]
[junit]
[junit] request: http://localhost:8983/solandra/101961002592413/update?wt=javabin&version=2
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
[junit] at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
[junit] at org.apache.solr.client.solrj.SolrServer.deleteById(SolrServer.java:102)
[junit] at solandra.SolandraTests.testClearAllRecords(SolandraTests.java:653)
[junit]
[junit]
[junit] Testcase: testAddMoreDocuments(solandra.SolandraTests): FAILED
[junit] expected:<200> but was:<500>
[junit] junit.framework.AssertionFailedError: expected:<200> but was:<500>
[junit] at solandra.SolandraTests.writeDocs(SolandraTests.java:794)
[junit] at solandra.SolandraTests.testAddMoreDocuments(SolandraTests.java:761)
[junit]
[junit]
[junit] Testcase: testSingleSearchQuery(solandra.SolandraTests): Caused an ERROR
[junit] Error executing query
[junit] org.apache.solr.client.solrj.SolrServerException: Error executing query
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
[junit] at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
[junit] at solandra.SolandraTests.testSingleSearchQuery(SolandraTests.java:810)
[junit]
[junit]
[junit] request: http://localhost:8983/solandra/101961002592413/select?q=key:stop&wt=javabin&version=2
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
[junit]
[junit]
[junit] Testcase: testDualSearchQuery(solandra.SolandraTests): Caused an ERROR
[junit] Error executing query
[junit] org.apache.solr.client.solrj.SolrServerException: Error executing query
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:95)
[junit] at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
[junit] at solandra.SolandraTests.testDualSearchQuery(SolandraTests.java:826)
[junit]
[junit]
[junit] request: http://localhost:8983/solandra/101961002592413/select?q=messageType:InstructionDef AND key:stop&wt=javabin&version=2
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)
[junit] at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
[junit] at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
[junit]
[junit]
[junit] Testcase: testLongRangeQueries(solandra.SolandraTests): FAILED
[junit] expected:<200> but was:<500>
[junit] junit.framework.AssertionFailedError: expected:<200> but was:<500>
[junit] at solandra.SolandraTests.writeDocs(SolandraTests.java:794)
[junit] at solandra.SolandraTests.testLongRangeQueries(SolandraTests.java:843)
[junit]
[junit]
[junit] Test solandra.SolandraTests FAILED
BUILD FAILED /u01/app/solandra/tjake-Solandra-462c13a/build.xml:171: Some test(s) failed.
Huy, how did you run the tests? I cannot seem to get any output either on console or in the files in build/output folder. I am running by using the command "ant test -Dcassandra=
I used embed cassandra. So I ran "ant test" without any other params.
ah pardon me, I fixed the tests it seems the solr resource url parsing was busted. try again?
Well I can't seem to run the tests but I downloaded the latest code today, started solandra, created a core (njs_test) with schema.xml that comes with code and then added data using curl. e.g. curl http://localhost:8983/solandra/njs_test/update/json -H 'Content-type:application/json' -d '[ {"url : "x1", "title" : "apple", "text" : "apple" } ]' and then after addding 8 records, when I do this query in browser http://localhost:8983/solandra/njs_test/select?q=_:_&fl=title&sort=title asc and in the output I do not always see the data sorted by title. Not only that the sort order changes sometimes (not always) if I refresh the url in the browser quite frequently.
There is definitely a problem with sorting.
yeah, sounds like asc sorting is busted, i havent had any cycles to fix, could you try commenting out? and retesting?
https://github.com/tjake/Solandra/blob/solandra/src/lucandra/CassandraUtils.java#L121
That seems to have worked. It wasn't just asc sorting that was broken, I was having problems with both asc and desc. I commented out that whole try/catch block and sorting now works as expected.
We are testing copy of code pulled two days ago, and find that sorting not working at all; neither string nor numeric. Is there any kind of known bug with sorting? Thanks!
Huy