lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petersen, Robert (Contr)" <robert.peters...@ftr.com>
Subject Re: Backup a solr cloud collection - timeout in 180s?
Date Tue, 10 Apr 2018 16:25:31 GMT
HI Erick,


I *just* found that parameter in the guide... it was waaay down at the bottom of the page
(in proverbial small print)!


So for other readers the steps are this:

# start the backup async enabled

/admin/collections?action=BACKUP&name=addrsearchBackup&collection=addrsearch&location=/apps/logs/backups&async=1234


# check on the status of the async job

/admin/collections?action=REQUESTSTATUS&requestid=1234


# clear out the status when done

/admin/collections?action=DELETESTATUS&requestid=1234


Thx

Robi

________________________________
From: Erick Erickson <erickerickson@gmail.com>
Sent: Tuesday, April 10, 2018 8:24:20 AM
To: solr-user
Subject: Re: Backup a solr cloud collection - timeout in 180s?

________________________________
WARNING: External email. Please verify sender before opening attachments or clicking on links.
________________________________



Specify the "async" property, see:
https://lucene.apache.org/solr/guide/6_6/collections-api.html

There's also a way to check the status of the backup running in the background.

Best,
Erick

On Mon, Apr 9, 2018 at 11:05 AM, Petersen, Robert (Contr)
<robert.petersen1@ftr.com> wrote:
> Shouldn't this just create the backup file(s) asynchronously? Can the timeout be adjusted?
>
>
> Solr 7.2.1 with five nodes and the addrsearch collection is five shards x five replicas
and "numFound":38837970 docs
>
>
> Thx
>
> Robi
>
>
> http://myServer.corp.pvt:8983/solr/admin/collections?action=BACKUP&name=addrsearchBackup&collection=addrsearch&location=/apps/logs/backups
>
>
>   *
>      *
> responseHeader:
> {
>         *
> status: 500,
>         *
> QTime: 180211
> },
>      *
> error:
> {
>         *
> metadata:
> [
>            *
> "error-class",
>            *
> "org.apache.solr.common.SolrException",
>            *
> "root-error-class",
>            *
> "org.apache.solr.common.SolrException"
> ],
>         *
> msg: "backup the collection time out:180s",
>   *
>
>
> From the logs:
>
>
> 2018-04-09 17:47:32.667 INFO  (qtp64830413-22) [   ] o.a.s.s.HttpSolrCall [admin] webapp=null
path=/admin/collections params={name=addrsearchBackup&action=BACKUP&location=/apps/logs/backups&collection=addrsearch}
status=500 QTime=180211
> 2018-04-09 17:47:32.667 ERROR (qtp64830413-22) [   ] o.a.s.s.HttpSolrCall null:org.apache.solr.common.SolrException:
backup the collection time out:180s
>         at org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:314)
>         at org.apache.solr.handler.admin.CollectionsHandler.invokeAction(CollectionsHandler.java:246)
>         at org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:224)
>         at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:177)
>         at org.apache.solr.servlet.HttpSolrCall.handleAdmin(HttpSolrCall.java:735)
>         at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:716)
>         at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:497)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:382)
>         at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:326)
>
>
>
> ________________________________
>
> This communication is confidential. Frontier only sends and receives email on the basis
of the terms set out at http://www.frontier.com/email_disclaimer.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message