You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jochen Just (JIRA)" <ji...@apache.org> on 2012/05/25 16:02:23 UTC

[jira] [Created] (SOLR-3489) Config file replication less error prone

Jochen Just created SOLR-3489:
---------------------------------

             Summary: Config file replication less error prone
                 Key: SOLR-3489
                 URL: https://issues.apache.org/jira/browse/SOLR-3489
             Project: Solr
          Issue Type: Improvement
          Components: replication (java)
    Affects Versions: 3.6
            Reporter: Jochen Just
            Priority: Minor


If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
Example:
{{
<!-- the error in the configuration is the space before stopwords.txt. Because of that that file is not replicated -->
<str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
}}

It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283469#comment-13283469 ] 

Jochen Just commented on SOLR-3489:
-----------------------------------

The patch is based on branch lucene_solr_36
                
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Just updated SOLR-3489:
------------------------------

    Attachment:     (was: SOLR-3489_reproducing_config.tar.gz)
    
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Just updated SOLR-3489:
------------------------------

    Attachment: SOLR-3489_reproducing_config.tar.gz
    
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Comment Edited] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283456#comment-13283456 ] 

Jochen Just edited comment on SOLR-3489 at 5/25/12 2:14 PM:
------------------------------------------------------------

Steps to reproduce:
# unpack [^SOLR-3489_reproducing_config.tar.gz] into solr-example directory
# start master via {{java -Denable.master=true -Dsolr.solr.home=master -jar start.jar}}
# start slave via {{java -Denable.slave=true -Dsolr.solr.home=slave -Djetty.port=8984 -jar start.jar}}
# add document in master/singledoc.xml to master
# either replicate manually or wait 60 seconds

Result:
* test.txt will be replicated
* stopwords.txt won't
                
      was (Author: jjaa):
    Steps to reproduce:
# unpack SOLR-3489_reproducing_config.tar.gz into solr-example directory
# start master via {{java -Denable.master=true -Dsolr.solr.home=master -jar start.jar}}
# start slave via {{java -Denable.slave=true -Dsolr.solr.home=slave -Djetty.port=8984 -jar start.jar}}
# add document in master/singledoc.xml to master
# either replicate manually or wait 60 seconds

Result:
* test.txt will be replicated
* stopwords.txt won't
                  
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (SOLR-3489) Config file replication less error prone

Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl reassigned SOLR-3489:
---------------------------------

    Assignee: Jan Høydahl
    
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Assignee: Jan Høydahl
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Commented] (SOLR-3489) Config file replication less error prone

Posted by "Jack Krupansky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283485#comment-13283485 ] 

Jack Krupansky commented on SOLR-3489:
--------------------------------------

It would be nice to add a similar protection against space before and after the colon for aliases. As well as a check for an empty name before and after the colon.
                
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Just updated SOLR-3489:
------------------------------

    Attachment:     (was: SOLR-3489_reproducing_config.tar.gz)
    
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Just updated SOLR-3489:
------------------------------

    Attachment: SOLR-3489_reproducing_config.tar.gz

Steps to reproduce:
# unpack SOLR-3489_reproducing_config.tar.gz into solr-example directory
# start master via {{java -Denable.master=true -Dsolr.solr.home=master -jar start.jar}}
# start slave via {{java -Denable.slave=true -Dsolr.solr.home=slave -Djetty.port=8984 -jar start.jar}}
# add document in master/singledoc.xml to master
# either replicate manually or wait 60 seconds

Result:
* test.txt will be replicated
* stopwords.txt won't
                
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Just updated SOLR-3489:
------------------------------

    Attachment: SOLR-3489.patch

The attached patch should solve that problem.
                
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3489) Config file replication less error prone

Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3489:
------------------------------

    Attachment: SOLR-3489.patch

New smaller patch, for trunk
                
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Assignee: Jan Høydahl
>            Priority: Minor
>             Fix For: 4.0, 3.6.1
>
>         Attachments: SOLR-3489.patch, SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Commented] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284632#comment-13284632 ] 

Jochen Just commented on SOLR-3489:
-----------------------------------

I am not quite sure, whether I have understood the last comment. As I was quite surprised, to read that my patch is identical to the trunk code, I checked that. But in my opinion, this is not the case and the described problem still exists in trunk.
                
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Assignee: Jan Høydahl
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Reopened] (SOLR-3489) Config file replication less error prone

Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl reopened SOLR-3489:
-------------------------------

    
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Assignee: Jan Høydahl
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Resolved] (SOLR-3489) Config file replication less error prone

Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl resolved SOLR-3489.
-------------------------------

    Resolution: Fixed

You were right Jochen - my bad. I simplified the patch a bit and committed to both trunk and branch.
                
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Assignee: Jan Høydahl
>            Priority: Minor
>             Fix For: 4.0, 3.6.1
>
>         Attachments: SOLR-3489.patch, SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Updated] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Just updated SOLR-3489:
------------------------------

    Description: 
If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
Example:
{code:xml}
<!-- The error in the configuration is the space before stopwords.txt.
     Because of that that file is not replicated -->
<str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
{code}

It would be nice, if that space simply would be ignored.

  was:
If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
Example:
{{
<!-- the error in the configuration is the space before stopwords.txt. Because of that that file is not replicated -->
<str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
}}

It would be nice, if that space simply would be ignored.

    
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283488#comment-13283488 ] 

Jochen Just commented on SOLR-3489:
-----------------------------------

I will look into that, but not before next week i guess
                
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Updated] (SOLR-3489) Config file replication less error prone

Posted by "Jochen Just (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Just updated SOLR-3489:
------------------------------

    Attachment: SOLR-3489_reproducing_config.tar.gz
    
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (SOLR-3489) Config file replication less error prone

Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl resolved SOLR-3489.
-------------------------------

    Resolution: Fixed

Thanks for reporting. You patch (which is identical with the trunk code) is committed to branch 3_6
                
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Assignee: Jan Høydahl
>            Priority: Minor
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Updated] (SOLR-3489) Config file replication less error prone

Posted by "Jan Høydahl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Høydahl updated SOLR-3489:
------------------------------

    Fix Version/s: 3.6.1
                   4.0
    
> Config file replication less error prone
> ----------------------------------------
>
>                 Key: SOLR-3489
>                 URL: https://issues.apache.org/jira/browse/SOLR-3489
>             Project: Solr
>          Issue Type: Improvement
>          Components: replication (java)
>    Affects Versions: 3.6
>            Reporter: Jochen Just
>            Assignee: Jan Høydahl
>            Priority: Minor
>             Fix For: 4.0, 3.6.1
>
>         Attachments: SOLR-3489.patch, SOLR-3489_reproducing_config.tar.gz
>
>
> If the listing of configuration files that should be replicated contains a space, the following file is not replicated.
> Example:
> {code:xml}
> <!-- The error in the configuration is the space before stopwords.txt.
>      Because of that that file is not replicated -->
> <str name="confFiles">schema.xml,test.txt, stopwords.txt</str>
> {code}
> It would be nice, if that space simply would be ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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