[ 
https://issues.apache.org/jira/browse/SOLR-9242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15370234#comment-15370234
 ] 

Varun Thacker commented on SOLR-9242:
-------------------------------------

There's another type of test failure : 
https://builds.apache.org/job/Lucene-Solr-Tests-master/1270/console

In this case the ZK watch for updating the clusterprop occurs after the backup 
command has been invoked . Hence it doesn't find the value set in the 
cluster-prop api

{code}
[junit4]   2> 819240 INFO  (qtp102693249-7831) [n:127.0.0.1:52710_solr    ] 
o.a.s.h.a.CollectionsHandler Invoked Collection Action :clusterprop with params 
val=/location/does/not/exist&name=location&action=CLUSTERPROP&wt=javabin&version=2
 and sendToOCPQueue=true
   [junit4]   2> 819241 INFO  (qtp102693249-7831) [n:127.0.0.1:52710_solr    ] 
o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/collections 
params={val=/location/does/not/exist&name=location&action=CLUSTERPROP&wt=javabin&version=2}
 status=0 QTime=0
   [junit4]   2> 819242 INFO  (qtp102693249-7825) [n:127.0.0.1:52710_solr    ] 
o.a.s.h.a.CollectionsHandler Invoked Collection Action :backup with params 
name=invalidbackuprequest&action=BACKUP&collection=backuprestore&wt=javabin&version=2
 and sendToOCPQueue=true
   [junit4]   2> 819242 INFO  (zkCallback-1166-thread-1) [    ] 
o.a.s.c.c.ZkStateReader Loaded cluster properties: 
{location=/location/does/not/exist}
   [junit4]   2> 819242 INFO  
(zkCallback-1160-thread-2-processing-n:127.0.0.1:41141_solr) 
[n:127.0.0.1:41141_solr    ] o.a.s.c.c.ZkStateReader Loaded cluster properties: 
{location=/location/does/not/exist}
   [junit4]   2> 819242 ERROR (qtp102693249-7825) [n:127.0.0.1:52710_solr    ] 
o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: 'location' is 
not specified as a query parameter or as a default repository property or as a 
cluster property.
   [junit4]   2>        at 
org.apache.solr.handler.admin.CollectionsHandler$CollectionOperation$28.call(CollectionsHandler.java:822)
   [junit4]   2>        at 
org.apache.solr.handler.admin.CollectionsHandler.handleRequestBody(CollectionsHandler.java:207)
   [junit4]   2>        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:154)
   [junit4]   2>        at 
org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:659)
   [junit4]   2>        at 
org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:441)
   [junit4]   2>        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)
   [junit4]   2>        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
   [junit4]   2>        at 
org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:111)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
   [junit4]   2>        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:224)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
   [junit4]   2>        at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
   [junit4]   2>        at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:462)
   [junit4]   2>        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
   [junit4]   2>        at 
org.eclipse.jetty.server.Server.handle(Server.java:518)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
   [junit4]   2>        at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
   [junit4]   2>        at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
   [junit4]   2>        at 
org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
   [junit4]   2>        at 
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
   [junit4]   2>        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
   [junit4]   2>        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
   [junit4]   2>        at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
   [junit4]   2>        at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
   [junit4]   2>        at java.lang.Thread.run(Thread.java:745)
   [junit4]   2> 
   [junit4]   2> 819242 INFO  (qtp102693249-7825) [n:127.0.0.1:52710_solr    ] 
o.a.s.s.HttpSolrCall [admin] webapp=null path=/admin/collections 
params={name=invalidbackuprequest&action=BACKUP&collection=backuprestore&wt=javabin&version=2}
 status=400 QTime=0
   [junit4]   2> 819242 INFO  
(zkCallback-1159-thread-1-processing-n:127.0.0.1:52710_solr) 
[n:127.0.0.1:52710_solr    ] o.a.s.c.c.ZkStateReader Loaded cluster properties: 
{location=/location/does/not/exist}
{code}

Line 819242 should occur before 819242



> Collection level backup/restore should provide a param for specifying the 
> repository implementation it should use
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-9242
>                 URL: https://issues.apache.org/jira/browse/SOLR-9242
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hrishikesh Gadre
>            Assignee: Varun Thacker
>             Fix For: 6.2
>
>         Attachments: SOLR-9242.patch, SOLR-9242.patch, SOLR-9242.patch, 
> SOLR-9242.patch, SOLR-9242.patch
>
>
> SOLR-7374 provides BackupRepository interface to enable storing Solr index 
> data to a configured file-system (e.g. HDFS, local file-system etc.). This 
> JIRA is to track the work required to extend this functionality at the 
> collection level.



--
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