From 89d2c079f69ae7edb60e30deb31147265ef57a3b Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Tue, 31 May 2016 15:21:42 +0300 Subject: [PATCH] Update notes for 2016-05-31 --- content/2016-05.md | 19 ++++++++++++++++++- public/2016-05/index.html | 20 +++++++++++++++++++- public/index.xml | 20 +++++++++++++++++++- public/tags/notes/index.xml | 20 +++++++++++++++++++- 4 files changed, 75 insertions(+), 4 deletions(-) diff --git a/content/2016-05.md b/content/2016-05.md index 4ecbb6f65..d67707c4e 100644 --- a/content/2016-05.md +++ b/content/2016-05.md @@ -226,4 +226,21 @@ $ JAVA_OPTS="-Xmx1024m -Dfile.encoding=UTF-8" /home/cgspace.cgiar.org/bin/dspace - The `index-authority` script ran over night and was finished in the morning - Hopefully this was because we haven't been running it regularly and it will speed up next time -- I am running it again with a timer to see +- I am running it again with a timer to see: + +``` +$ time /home/cgspace.cgiar.org/bin/dspace index-authority +Retrieving all data +Initialize org.dspace.authority.indexer.DSpaceAuthorityIndexer +Cleaning the old index +Writing new data +All done ! + +real 37m26.538s +user 2m24.627s +sys 0m20.540s +``` + +- Update `tomcat7` crontab on CGSpace and DSpace Test to have the `index-authority` script that we were missing +- Add new ILRI subject and CCAFS project tags to `input-forms.xml` ([#226](https://github.com/ilri/DSpace/pull/226), [#225](https://github.com/ilri/DSpace/pull/225)) +- Manually mapped the authors of a few old CCAFS records to the new CCAFS authority UUID and re-indexed authority indexes to see if it helps correct those items. diff --git a/public/2016-05/index.html b/public/2016-05/index.html index 37ae87215..2a07e57a2 100644 --- a/public/2016-05/index.html +++ b/public/2016-05/index.html @@ -353,7 +353,25 @@ $ /home/cgspace.cgiar.org/bin/dspace metadata-import -e aorth@mjanja.ch -f ~/CTA + +
$ time /home/cgspace.cgiar.org/bin/dspace index-authority
+Retrieving all data
+Initialize org.dspace.authority.indexer.DSpaceAuthorityIndexer
+Cleaning the old index
+Writing new data
+All done !
+
+real    37m26.538s
+user    2m24.627s
+sys     0m20.540s
+
+ + diff --git a/public/index.xml b/public/index.xml index ef468b096..72c522d26 100644 --- a/public/index.xml +++ b/public/index.xml @@ -291,7 +291,25 @@ $ /home/cgspace.cgiar.org/bin/dspace metadata-import -e aorth@mjanja.ch -f ~/CTA <ul> <li>The <code>index-authority</code> script ran over night and was finished in the morning</li> <li>Hopefully this was because we haven&rsquo;t been running it regularly and it will speed up next time</li> -<li>I am running it again with a timer to see</li> +<li>I am running it again with a timer to see:</li> +</ul> + +<pre><code>$ time /home/cgspace.cgiar.org/bin/dspace index-authority +Retrieving all data +Initialize org.dspace.authority.indexer.DSpaceAuthorityIndexer +Cleaning the old index +Writing new data +All done ! + +real 37m26.538s +user 2m24.627s +sys 0m20.540s +</code></pre> + +<ul> +<li>Update <code>tomcat7</code> crontab on CGSpace and DSpace Test to have the <code>index-authority</code> script that we were missing</li> +<li>Add new ILRI subject and CCAFS project tags to <code>input-forms.xml</code> (<a href="https://github.com/ilri/DSpace/pull/226">#226</a>, <a href="https://github.com/ilri/DSpace/pull/225">#225</a>)</li> +<li>Manually mapped the authors of a few old CCAFS records to the new CCAFS authority UUID and re-indexed authority indexes to see if it helps correct those items.</li> </ul> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 9c5177a5e..ed158b6c1 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -291,7 +291,25 @@ $ /home/cgspace.cgiar.org/bin/dspace metadata-import -e aorth@mjanja.ch -f ~/CTA <ul> <li>The <code>index-authority</code> script ran over night and was finished in the morning</li> <li>Hopefully this was because we haven&rsquo;t been running it regularly and it will speed up next time</li> -<li>I am running it again with a timer to see</li> +<li>I am running it again with a timer to see:</li> +</ul> + +<pre><code>$ time /home/cgspace.cgiar.org/bin/dspace index-authority +Retrieving all data +Initialize org.dspace.authority.indexer.DSpaceAuthorityIndexer +Cleaning the old index +Writing new data +All done ! + +real 37m26.538s +user 2m24.627s +sys 0m20.540s +</code></pre> + +<ul> +<li>Update <code>tomcat7</code> crontab on CGSpace and DSpace Test to have the <code>index-authority</code> script that we were missing</li> +<li>Add new ILRI subject and CCAFS project tags to <code>input-forms.xml</code> (<a href="https://github.com/ilri/DSpace/pull/226">#226</a>, <a href="https://github.com/ilri/DSpace/pull/225">#225</a>)</li> +<li>Manually mapped the authors of a few old CCAFS records to the new CCAFS authority UUID and re-indexed authority indexes to see if it helps correct those items.</li> </ul>