mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-12-22 21:22:19 +01:00
Add notes for 2020-12-09
This commit is contained in:
parent
cb1b3871ca
commit
a61fd6b1ad
@ -130,4 +130,58 @@ Caused by: java.lang.UnsupportedOperationException
|
||||
... 10 more
|
||||
```
|
||||
|
||||
- I sent some feedback to Atmire
|
||||
- They responded with an updated CUA (6.x-4.1.10-ilri-RC7) that has a fix for the duplicates processor _and_ a possible fix for the database locking issues (a bug in CUASolrLoggerServiceImpl that causes an infinite loop and a Tomcat timeout)
|
||||
- I deployed the changes on DSpace Test and CGSpace, hopefully it will fix both issues!
|
||||
- In other news, after I restarted Tomcat on CGSpace the statistics-2013 core didn't come back up properly, so I exported it and imported it into the main statistics core like I did for the others a few days ago
|
||||
- Sync DSpace Test with CGSpace's Solr, PostgreSQL database, and assetstore...
|
||||
|
||||
## 2020-12-09
|
||||
|
||||
- I was running the AtomicStatisticsUpdateCLI to remove duplicates on DSpace Test but it failed near the end of the statistics core (after 20 hours or so) with a memory error:
|
||||
|
||||
```
|
||||
Successfully finished updating Solr Storage Reports | Wed Dec 09 15:25:11 CET 2020
|
||||
Run 1 — 67% — 10,000/14,935 docs — 6m 6s — 6m 6s
|
||||
Exception: GC overhead limit exceeded
|
||||
java.lang.OutOfMemoryError: GC overhead limit exceeded
|
||||
at org.noggit.CharArr.toString(CharArr.java:164)
|
||||
```
|
||||
|
||||
- I increased the JVM heap to 2048m and tried again, but it failed with a memory error again...
|
||||
- I increased the JVM heap to 4096m and tried again, but it failed with another error:
|
||||
|
||||
```
|
||||
Successfully finished updating Solr Storage Reports | Wed Dec 09 15:53:40 CET 2020
|
||||
Exception: parsing error
|
||||
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: parsing error
|
||||
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:530)
|
||||
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
|
||||
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
|
||||
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
|
||||
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.getNextSetOfSolrDocuments(SourceFile:392)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.performRun(SourceFile:157)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.update(SourceFile:128)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdateCLI.main(SourceFile:78)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.lang.reflect.Method.invoke(Method.java:498)
|
||||
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
|
||||
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
|
||||
Caused by: org.apache.solr.common.SolrException: parsing error
|
||||
at org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:45)
|
||||
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:528)
|
||||
... 14 more
|
||||
Caused by: org.apache.http.TruncatedChunkException: Truncated chunk ( expected size: 8192; actual size: 2843)
|
||||
at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:200)
|
||||
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)
|
||||
at org.apache.solr.common.util.FastInputStream.readWrappedStream(FastInputStream.java:80)
|
||||
at org.apache.solr.common.util.FastInputStream.refill(FastInputStream.java:89)
|
||||
at org.apache.solr.common.util.FastInputStream.read(FastInputStream.java:125)
|
||||
at org.apache.solr.common.util.FastInputStream.readFully(FastInputStream.java:152)
|
||||
...
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
@ -20,7 +20,7 @@ I started processing those (about 411,000 records):
|
||||
<meta property="og:type" content="article" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/2020-12/" />
|
||||
<meta property="article:published_time" content="2020-12-01T11:32:54+02:00" />
|
||||
<meta property="article:modified_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="article:modified_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
@ -46,9 +46,9 @@ I started processing those (about 411,000 records):
|
||||
"@type": "BlogPosting",
|
||||
"headline": "December, 2020",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2020-12/",
|
||||
"wordCount": "754",
|
||||
"wordCount": "1051",
|
||||
"datePublished": "2020-12-01T11:32:54+02:00",
|
||||
"dateModified": "2020-12-06T16:53:29+02:00",
|
||||
"dateModified": "2020-12-08T11:14:33+02:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -256,6 +256,59 @@ Caused by: java.lang.UnsupportedOperationException
|
||||
at com.atmire.statistics.util.update.atomic.record.UsageRecord.accept(SourceFile:23)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.applyProcessors(SourceFile:301)
|
||||
... 10 more
|
||||
</code></pre><ul>
|
||||
<li>I sent some feedback to Atmire
|
||||
<ul>
|
||||
<li>They responded with an updated CUA (6.x-4.1.10-ilri-RC7) that has a fix for the duplicates processor <em>and</em> a possible fix for the database locking issues (a bug in CUASolrLoggerServiceImpl that causes an infinite loop and a Tomcat timeout)</li>
|
||||
<li>I deployed the changes on DSpace Test and CGSpace, hopefully it will fix both issues!</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>In other news, after I restarted Tomcat on CGSpace the statistics-2013 core didn’t come back up properly, so I exported it and imported it into the main statistics core like I did for the others a few days ago</li>
|
||||
<li>Sync DSpace Test with CGSpace’s Solr, PostgreSQL database, and assetstore…</li>
|
||||
</ul>
|
||||
<h2 id="2020-12-09">2020-12-09</h2>
|
||||
<ul>
|
||||
<li>I was running the AtomicStatisticsUpdateCLI to remove duplicates on DSpace Test but it failed near the end of the statistics core (after 20 hours or so) with a memory error:</li>
|
||||
</ul>
|
||||
<pre><code>Successfully finished updating Solr Storage Reports | Wed Dec 09 15:25:11 CET 2020
|
||||
Run 1 — 67% — 10,000/14,935 docs — 6m 6s — 6m 6s
|
||||
Exception: GC overhead limit exceeded
|
||||
java.lang.OutOfMemoryError: GC overhead limit exceeded
|
||||
at org.noggit.CharArr.toString(CharArr.java:164)
|
||||
</code></pre><ul>
|
||||
<li>I increased the JVM heap to 2048m and tried again, but it failed with a memory error again…</li>
|
||||
<li>I increased the JVM heap to 4096m and tried again, but it failed with another error:</li>
|
||||
</ul>
|
||||
<pre><code>Successfully finished updating Solr Storage Reports | Wed Dec 09 15:53:40 CET 2020
|
||||
Exception: parsing error
|
||||
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: parsing error
|
||||
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:530)
|
||||
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
|
||||
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
|
||||
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
|
||||
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.getNextSetOfSolrDocuments(SourceFile:392)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.performRun(SourceFile:157)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.update(SourceFile:128)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdateCLI.main(SourceFile:78)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||
at java.lang.reflect.Method.invoke(Method.java:498)
|
||||
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:229)
|
||||
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
|
||||
Caused by: org.apache.solr.common.SolrException: parsing error
|
||||
at org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:45)
|
||||
at org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:528)
|
||||
... 14 more
|
||||
Caused by: org.apache.http.TruncatedChunkException: Truncated chunk ( expected size: 8192; actual size: 2843)
|
||||
at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:200)
|
||||
at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)
|
||||
at org.apache.solr.common.util.FastInputStream.readWrappedStream(FastInputStream.java:80)
|
||||
at org.apache.solr.common.util.FastInputStream.refill(FastInputStream.java:89)
|
||||
at org.apache.solr.common.util.FastInputStream.read(FastInputStream.java:125)
|
||||
at org.apache.solr.common.util.FastInputStream.readFully(FastInputStream.java:152)
|
||||
...
|
||||
</code></pre><!-- raw HTML omitted -->
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/categories/notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
<meta property="og:description" content="Documenting day-to-day work on the [CGSpace](https://cgspace.cgiar.org) repository." />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/posts/" />
|
||||
<meta property="og:updated_time" content="2020-12-06T16:53:29+02:00" />
|
||||
<meta property="og:updated_time" content="2020-12-08T11:14:33+02:00" />
|
||||
|
||||
|
||||
|
||||
|
@ -4,27 +4,27 @@
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
|
||||
<lastmod>2020-12-06T16:53:29+02:00</lastmod>
|
||||
<lastmod>2020-12-08T11:14:33+02:00</lastmod>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||
<lastmod>2020-12-06T16:53:29+02:00</lastmod>
|
||||
<lastmod>2020-12-08T11:14:33+02:00</lastmod>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2020-12/</loc>
|
||||
<lastmod>2020-12-06T16:53:29+02:00</lastmod>
|
||||
<lastmod>2020-12-08T11:14:33+02:00</lastmod>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
|
||||
<lastmod>2020-12-06T16:53:29+02:00</lastmod>
|
||||
<lastmod>2020-12-08T11:14:33+02:00</lastmod>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
|
||||
<lastmod>2020-12-06T16:53:29+02:00</lastmod>
|
||||
<lastmod>2020-12-08T11:14:33+02:00</lastmod>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
|
Loading…
Reference in New Issue
Block a user