mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Update notes
This commit is contained in:
@ -78,4 +78,56 @@ org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Error CREA
|
||||
- I will migrate all these cores and see if it makes a difference, then probably end up migrating all of them
|
||||
- I removed the statistics-2010, statistics-2015, statistics-2016, and statistics-2018 cores and restarted Tomcat and _all the statistics cores came up OK and the CUA statistics are OK_!
|
||||
|
||||
## 2020-12-07
|
||||
|
||||
- Run `dspace cleanup -v` on CGSpace to clean up deleted bitstreams
|
||||
- Atmire sent a [pull request](https://github.com/ilri/DSpace/pull/457) to address the duplicate owningComm and owningColl
|
||||
- Built and deployed it on DSpace Test but I am not sure how to run it yet
|
||||
- I sent feedback to Atmire on their tracker: https://tracker.atmire.com/tickets-cgiar-ilri/view-ticket?id=839
|
||||
- Abenet and Tezira are having issues with committing to the archive in their workflow
|
||||
- I looked at the server and indeed the locks and transactions are back up:
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
- There are apparently 1,700 locks right now:
|
||||
|
||||
```console
|
||||
$ psql -c 'SELECT * FROM pg_locks pl LEFT JOIN pg_stat_activity psa ON pl.pid = psa.pid;' | wc -l
|
||||
1739
|
||||
```
|
||||
|
||||
## 2020-12-08
|
||||
|
||||
- Atmire sent some instructions for using the DeduplicateValuesProcessor
|
||||
- I modified `atmire-cua-update.xml` as they instructed, but I get a million errors like this when I run AtomicStatisticsUpdateCLI with that configuration:
|
||||
|
||||
```
|
||||
Record uid: 64387815-d9a7-4605-8024-1c0a5c7520e0 couldn't be processed
|
||||
com.atmire.statistics.util.update.atomic.ProcessingException: something went wrong while processing record uid: 64387815-d9a7-4605-8024-1c0a5c7520e0, an error occured in the com.atmire.statistics.util.update.atomic.processor.DeduplicateValuesProcessor
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.applyProcessors(SourceFile:304)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.processRecords(SourceFile:176)
|
||||
at com.atmire.statistics.util.update.atomic.AtomicStatisticsUpdater.performRun(SourceFile:161)
|
||||
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: java.lang.UnsupportedOperationException
|
||||
at org.apache.solr.common.SolrDocument$1.entrySet(SolrDocument.java:256)
|
||||
at java.util.HashMap.putMapEntries(HashMap.java:512)
|
||||
at java.util.HashMap.<init>(HashMap.java:490)
|
||||
at com.atmire.statistics.util.update.atomic.record.Record.getFieldValuesMap(SourceFile:86)
|
||||
at com.atmire.statistics.util.update.atomic.processor.DeduplicateValuesProcessor.process(SourceFile:38)
|
||||
at com.atmire.statistics.util.update.atomic.processor.DeduplicateValuesProcessor.visit(SourceFile:34)
|
||||
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
|
||||
```
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user