From 28b7dc8af9351ec64877175200237bae276ebdf8 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 6 May 2019 11:50:57 +0300 Subject: [PATCH] Add notes for 2019-05-06 --- content/posts/2019-05.md | 21 +++++++++++++++++++++ docs/2019-05/index.html | 34 +++++++++++++++++++++++++++++++--- docs/sitemap.xml | 10 +++++----- 3 files changed, 57 insertions(+), 8 deletions(-) diff --git a/content/posts/2019-05.md b/content/posts/2019-05.md index 134eb668b..2df3cb04e 100644 --- a/content/posts/2019-05.md +++ b/content/posts/2019-05.md @@ -98,4 +98,25 @@ Please see the DSpace documentation for assistance. - Tag version 1.1.0 of the [dspace-statistics-api](https://github.com/ilri/dspace-statistics-api) (with Falcon 2.0.0) - Deploy on DSpace Test +## 2019-05-06 + +- Peter pointed out that Solr stats are only showing 2019 stats + - I looked at the Solr Admin UI and I see: + +``` +statistics-2018: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error opening new searcher +``` + +- As well as this error in the logs: + +``` +Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/cgspace.cgiar.org/solr/statistics-2018/data/index/write.lock +``` + +- Strangely enough, I *do* see the statistics-2018, statistics-2017, etc cores in the Admin UI... +- I restarted Tomcat a few times (and even deleted all the Solr write locks) and at least five times there were issues loading one statistics core, causing the Atmire stats to be incomplete + - Also, I tried to increase the `writeLockTimeout` in `solrconfig.xml` from the default of 1000ms to 10000ms + - Eventually the Atmire stats started working, despite errors about "Error opening new searcher" in the Solr Admin UI + - I wrote to the dspace-tech mailing list again on the thread from March, 2019 + diff --git a/docs/2019-05/index.html b/docs/2019-05/index.html index 3b372b162..7de9e0e06 100644 --- a/docs/2019-05/index.html +++ b/docs/2019-05/index.html @@ -28,7 +28,7 @@ But after this I tried to delete the item from the XMLUI and it is still present - + @@ -61,9 +61,9 @@ But after this I tried to delete the item from the XMLUI and it is still present "@type": "BlogPosting", "headline": "May, 2019", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-05\/", - "wordCount": "657", + "wordCount": "796", "datePublished": "2019-05-01T07:37:43\x2b03:00", - "dateModified": "2019-05-05T16:45:12\x2b03:00", + "dateModified": "2019-05-05T23:53:42\x2b03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -262,6 +262,34 @@ Please see the DSpace documentation for assistance. +

2019-05-06

+ + + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 8a40eff6b..971dc2995 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,30 +4,30 @@ https://alanorth.github.io/cgspace-notes/ - 2019-05-05T16:45:12+03:00 + 2019-05-05T23:53:42+03:00 0 https://alanorth.github.io/cgspace-notes/2019-05/ - 2019-05-05T16:45:12+03:00 + 2019-05-05T23:53:42+03:00 https://alanorth.github.io/cgspace-notes/tags/notes/ - 2019-05-05T16:45:12+03:00 + 2019-05-05T23:53:42+03:00 0 https://alanorth.github.io/cgspace-notes/posts/ - 2019-05-05T16:45:12+03:00 + 2019-05-05T23:53:42+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2019-05-05T16:45:12+03:00 + 2019-05-05T23:53:42+03:00 0