[ 
https://issues.apache.org/jira/browse/SOLR-9482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Smiley closed SOLR-9482.
------------------------------
    Resolution: Invalid

Please ask for help on the list.  BTW the presence of a stack trace doesn't 
necessarily mean there's a Solr bug.  For example perhaps not all of your nodes 
have a shared file system for the backup location -- a prerequisite for this 
feature.

> Solr -Unable to Backup collection using given api
> -------------------------------------------------
>
>                 Key: SOLR-9482
>                 URL: https://issues.apache.org/jira/browse/SOLR-9482
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Praveen
>
> I am unable to backup the solr  collection. Please help
>  
> curl 
> 'http://localhost:8983/solr/admin/collections?action=BACKUP&name=top4_bk&collection=topapp&location=/home/ubuntu/'
> <?xml version="1.0" encoding="UTF-8"?>
> <response>
> <lst name="responseHeader"><int name="status">500</int><int 
> name="QTime">39</int></lst><lst name="failure"><str 
> name="10.95.160.232:8983_solr">org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error
>  from server at http://10.95.160.232:8983/solr: Failed to backup 
> core=topapp_shard5_replica2 because org.apache.solr.common.SolrException: 
> Directory to contain snapshots doesn't exist: 
> /home/ubuntu/top4_bk</str></lst><str name="Operation backup caused 
> exception:">org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
>  Could not backup all replicas</str><lst name="exception"><str 
> name="msg">Could not backup all replicas</str><int 
> name="rspCode">500</int></lst><lst name="error"><lst name="metadata"><str 
> name="error-class">org.apache.solr.common.SolrException</str><str 
> name="root-error-class">org.apache.solr.common.SolrException</str></lst><str 
> name="msg">Could not backup all replicas</str><str 
> name="trace">org.apache.solr.common.SolrException: Could not backup all 
> replicas
>  at 
> org.apache.solr.handler.admin.CollectionsHandler.handleResponse(CollectionsHandler.java:273)
>  at 
> org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:204)
>  at 
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:156)
>  at 
> org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:663)
>  at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:445)
>  at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
>  at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
>  at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
>  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
>  at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>  at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
>  at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
>  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
>  at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
>  at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>  at 
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
>  at 
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
>  at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
>  at org.eclipse.jetty.server.Server.handle(Server.java:518)
>  at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
>  at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
>  at 
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
>  at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
>  at 
> org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
>  at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
>  at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
>  at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
>  at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
>  at java.lang.Thread.run(Thread.java:745)
> </str><int name="code">500</int></lst>
> </response>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to