[Dspace-tech] stats sharding problem

2 views
Skip to first unread message

Germán Biozzoli

unread,
Aug 26, 2015, 10:58:26 AM8/26/15
to dspac...@lists.sourceforge.net
Hi everybody

I'm in the process to test upgrade existent DSpace 1.6x instance to 3.1. One of the main reasons to do so is relative to the big stats index. I moved the solr index to data folder inside upgraded version, I can see (with all time consuming) the stats under new version, but when I try to

./dspace stats-util -s

It shows

-------------------------
 INFO [main] (DSpaceKernelInit.java:52) - Created new kernel: DSpaceKernel:org.dspace:name=52b9f41b-5639-47ad-abf8-89e5764ff45c,type=DSpaceKernel:lastLoad=null:loadTime=0:running=false:kernel=null
 INFO [main] (ConfigurationManager.java:1224) - Loading from classloader: file:/services/sites/instances/iris31/config/dspace.cfg
 INFO [main] (ConfigurationManager.java:1224) - Using dspace provided log configuration (log.init.config)
 INFO [main] (ConfigurationManager.java:1224) - Loading: /services/sites/instances/iris31/config/log4j.properties
Exception: org.apache.solr.client.solrj.response.QueryResponse.getFacetRanges()Ljava/util/List;
java.lang.NoSuchMethodError: org.apache.solr.client.solrj.response.QueryResponse.getFacetRanges()Ljava/util/List;
at org.dspace.statistics.SolrLogger.shardSolrIndex(SolrLogger.java:1183)
at org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:101)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:183)

--------------------------
looking at specific solr index everything looks normal

INFO: [statistics] webapp=/solr path=/select params={wt=javabin&q=type:2+AND+id:1&version=2} hits=217 status=0 QTime=36 
28/05/2013 15:58:49 org.apache.solr.core.SolrCore execute
INFO: [statistics] webapp=/solr path=/select params={facet=true&facet.mincount=1&q=*:*&facet.range.start=NOW/YEAR-13YEARS&facet.range=time&facet.range.end=NOW/YEAR%2B0YEARS&facet.range.gap=%2B1YEAR&wt=javabin&rows=0&version=2} hits=91408844 status=0 QTime=52835 


Any ideas?
Thanks & regards
German
Reply all
Reply to author
Forward
0 new messages