Add notes for 2019-05-06

This commit is contained in:
Alan Orth 2019-05-06 11:50:57 +03:00
parent 7302d14d81
commit 28b7dc8af9
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
3 changed files with 57 additions and 8 deletions

View File

@ -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) - 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 - 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
<!-- vim: set sw=2 ts=2: --> <!-- vim: set sw=2 ts=2: -->

View File

@ -28,7 +28,7 @@ But after this I tried to delete the item from the XMLUI and it is still present
<meta property="og:type" content="article" /> <meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-05/" /> <meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2019-05/" />
<meta property="article:published_time" content="2019-05-01T07:37:43&#43;03:00"/> <meta property="article:published_time" content="2019-05-01T07:37:43&#43;03:00"/>
<meta property="article:modified_time" content="2019-05-05T16:45:12&#43;03:00"/> <meta property="article:modified_time" content="2019-05-05T23:53:42&#43;03:00"/>
<meta name="twitter:card" content="summary"/> <meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="May, 2019"/> <meta name="twitter:title" content="May, 2019"/>
@ -61,9 +61,9 @@ But after this I tried to delete the item from the XMLUI and it is still present
"@type": "BlogPosting", "@type": "BlogPosting",
"headline": "May, 2019", "headline": "May, 2019",
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-05\/", "url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-05\/",
"wordCount": "657", "wordCount": "796",
"datePublished": "2019-05-01T07:37:43\x2b03:00", "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": { "author": {
"@type": "Person", "@type": "Person",
"name": "Alan Orth" "name": "Alan Orth"
@ -262,6 +262,34 @@ Please see the DSpace documentation for assistance.
</ul></li> </ul></li>
</ul> </ul>
<h2 id="2019-05-06">2019-05-06</h2>
<ul>
<li><p>Peter pointed out that Solr stats are only showing 2019 stats</p>
<ul>
<li><p>I looked at the Solr Admin UI and I see:</p>
<pre><code>statistics-2018: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Error opening new searcher
</code></pre></li>
</ul></li>
<li><p>As well as this error in the logs:</p>
<pre><code>Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/home/cgspace.cgiar.org/solr/statistics-2018/data/index/write.lock
</code></pre></li>
<li><p>Strangely enough, I <em>do</em> see the statistics-2018, statistics-2017, etc cores in the Admin UI&hellip;</p></li>
<li><p>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</p>
<ul>
<li>Also, I tried to increase the <code>writeLockTimeout</code> in <code>solrconfig.xml</code> from the default of 1000ms to 10000ms</li>
<li>Eventually the Atmire stats started working, despite errors about &ldquo;Error opening new searcher&rdquo; in the Solr Admin UI</li>
<li>I wrote to the dspace-tech mailing list again on the thread from March, 2019</li>
</ul></li>
</ul>
<!-- vim: set sw=2 ts=2: --> <!-- vim: set sw=2 ts=2: -->

View File

@ -4,30 +4,30 @@
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2019-05-05T16:45:12+03:00</lastmod> <lastmod>2019-05-05T23:53:42+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/2019-05/</loc> <loc>https://alanorth.github.io/cgspace-notes/2019-05/</loc>
<lastmod>2019-05-05T16:45:12+03:00</lastmod> <lastmod>2019-05-05T23:53:42+03:00</lastmod>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
<lastmod>2019-05-05T16:45:12+03:00</lastmod> <lastmod>2019-05-05T23:53:42+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc> <loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2019-05-05T16:45:12+03:00</lastmod> <lastmod>2019-05-05T23:53:42+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>
<url> <url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc> <loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2019-05-05T16:45:12+03:00</lastmod> <lastmod>2019-05-05T23:53:42+03:00</lastmod>
<priority>0</priority> <priority>0</priority>
</url> </url>