When we run index-discovery -o in our cron, the process generates an
exception. This does not occur when running "index-discovery" without the
optimize flag.
This has happened in DSpace 5x, DSpace 4x, and it might have also happened
for us in DSpace 3x.
What is the normal, expected output from this command?
Do I need to provide additional resources to this command to make it
successful?
*DSpace 5.4*
SOLR Search Optimize -- Process Started:1451713208640
Exception: Expected mime type application/octet-stream but got text/html.
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Temporarily Unavailable</title>
</head><body>
<h1>Service Temporarily Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Expected mime type application/octet-stream but got text/html. <!DOCTYPE
HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Temporarily Unavailable</title>
</head><body>
<h1>Service Temporarily Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>
at org.apache.solr.client.solrj.impl.HttpSolrServer.
executeMethod(HttpSolrServer.java:512)
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.AbstractUpdateRequest.
process(AbstractUpdateRequest.java:124)
at org.apache.solr.client.solrj.SolrServer.optimize(
SolrServer.java:204)
at org.apache.solr.client.solrj.SolrServer.optimize(
SolrServer.java:158)
at org.dspace.discovery.SolrServiceImpl.optimize(
SolrServiceImpl.java:532)
at org.dspace.discovery.IndexClient.main(IndexClient.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(
ScriptLauncher.java:226)
at org.dspace.app.launcher.ScriptLauncher.main(
ScriptLauncher.java:78)
*DSpace 4.3*
SOLR Search Optimize -- Process Started:1448516406357
Exception: Server at http://localhost/solr/search returned non ok
status:503, message:Service Temporarily Unavailable
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Server at http://localhost/solr/search returned non ok status:503,
message:Service Temporarily Unavailable
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(
HttpSolrServer.java:385)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(
HttpSolrServer.java:180)
at org.apache.solr.client.solrj.request.AbstractUpdateRequest.
process(AbstractUpdateRequest.java:117)
at org.apache.solr.client.solrj.SolrServer.optimize(
SolrServer.java:204)
at org.apache.solr.client.solrj.SolrServer.optimize(
SolrServer.java:158)
at org.dspace.discovery.SolrServiceImpl.optimize(
SolrServiceImpl.java:506)
at org.dspace.discovery.IndexClient.main(IndexClient.java:121)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(
ScriptLauncher.java:225)
at org.dspace.app.launcher.ScriptLauncher.main(
ScriptLauncher.java:77)
--
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
--
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.