[jira] [Updated] (SOLR-3809) Replication of config files fails when using sub directories

2012-09-12 Thread Hoss Man (JIRA)

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

Hoss Man updated SOLR-3809:
---

Attachment: SOLR-3809.patch

i modified TestReplicationHandler to demonstrate the original bug Emma 
mentioned, and then merged in his patch to show that it fixed the problem -- 
however i then modified the fix quite a bit, as it was doing some wonky stuff 
(like equality comparisons between a string path and a File object)

I think this patch is good to go.

 Replication of config files fails when using sub directories
 

 Key: SOLR-3809
 URL: https://issues.apache.org/jira/browse/SOLR-3809
 Project: Solr
  Issue Type: Bug
Reporter: Emmanuel Espina
Assignee: Hoss Man
 Fix For: 4.0

 Attachments: SOLR-3809.patch, SOLR-3809.patch


 If you want to replicate a configuration file inside a subdirectory of conf 
 directory (eg conf/stopwords/english.txt) Solr fails because it cannot find 
 the subdirectory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3809) Replication of config files fails when using sub directories

2012-09-07 Thread Emmanuel Espina (JIRA)

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

Emmanuel Espina updated SOLR-3809:
--

Attachment: SOLR-3809.patch

Fixes this bug creating sub directories

 Replication of config files fails when using sub directories
 

 Key: SOLR-3809
 URL: https://issues.apache.org/jira/browse/SOLR-3809
 Project: Solr
  Issue Type: Bug
Reporter: Emmanuel Espina
Priority: Minor
 Attachments: SOLR-3809.patch


 If you want to replicate a configuration file inside a subdirectory of conf 
 directory (eg conf/stopwords/english.txt) Solr fails because it cannot find 
 the subdirectory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3809) Replication of config files fails when using sub directories

2012-09-07 Thread Erik Hatcher (JIRA)

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

Erik Hatcher updated SOLR-3809:
---

Fix Version/s: 4.0

 Replication of config files fails when using sub directories
 

 Key: SOLR-3809
 URL: https://issues.apache.org/jira/browse/SOLR-3809
 Project: Solr
  Issue Type: Bug
Reporter: Emmanuel Espina
Priority: Minor
 Fix For: 4.0

 Attachments: SOLR-3809.patch


 If you want to replicate a configuration file inside a subdirectory of conf 
 directory (eg conf/stopwords/english.txt) Solr fails because it cannot find 
 the subdirectory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3809) Replication of config files fails when using sub directories

2012-09-07 Thread Hoss Man (JIRA)

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

Hoss Man updated SOLR-3809:
---

Priority: Major  (was: Minor)
Assignee: Hoss Man

Ouch!

We should definitely fix this for 4x since the example evne suggests/encourages 
a conf/lang/ subdir.

Emmanuel: I don't suppose you could also help add a test for this in the 
existing SnapPuller tests? (i haven't looked at them in depth, but i'm assuming 
there's something in there about ensuring that a config file gets replicated, 
hopefully it will be simple to just introduce a new dir into the existing test 
and see it fail)




 Replication of config files fails when using sub directories
 

 Key: SOLR-3809
 URL: https://issues.apache.org/jira/browse/SOLR-3809
 Project: Solr
  Issue Type: Bug
Reporter: Emmanuel Espina
Assignee: Hoss Man
 Fix For: 4.0

 Attachments: SOLR-3809.patch


 If you want to replicate a configuration file inside a subdirectory of conf 
 directory (eg conf/stopwords/english.txt) Solr fails because it cannot find 
 the subdirectory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org