Created: (SOLR-188) bin scripts do not support non-default webapp names

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Created: (SOLR-188) bin scripts do not support non-default webapp names

JIRA jira@apache.org
bin scripts do not support non-default webapp names
---------------------------------------------------

                 Key: SOLR-188
                 URL: https://issues.apache.org/jira/browse/SOLR-188
             Project: Solr
          Issue Type: Bug
          Components: update
    Affects Versions: 1.1.0, 1.2
         Environment: Unix/Linux operating systems
            Reporter: Jeff Rodenburg
             Fix For: 1.1.0, 1.2


If the solr web application has been configured in a non-default location, i.e. http://localhost:8080/solrapp2/, the operation scripts under http://localhost:8080/solrapp2/bin/ will fail.  The current logic assumes the location to be {hostname}:{port}/solr.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Updated: (SOLR-188) bin scripts do not support non-default webapp names

JIRA jira@apache.org

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

Jeff Rodenburg updated SOLR-188:
--------------------------------

    Attachment: scripts_url.patch

This patch updates the following scripts:

abc
abo
commit
optimize
readercycle

The primary addition to these files is the "-U" parameter, which accepts a full url path to the update url.  When included, the -U parameter overrides the -h (hostname), -p (port) and -w (webapp) parameters.

In addition, the -w (webapp) parameter has been incorporated into the script as well (wasn't previously).  Default values of hostname=localhost and webapp=solr are used.

> bin scripts do not support non-default webapp names
> ---------------------------------------------------
>
>                 Key: SOLR-188
>                 URL: https://issues.apache.org/jira/browse/SOLR-188
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.1.0, 1.2
>         Environment: Unix/Linux operating systems
>            Reporter: Jeff Rodenburg
>             Fix For: 1.1.0, 1.2
>
>         Attachments: scripts_url.patch
>
>
> If the solr web application has been configured in a non-default location, i.e. http://localhost:8080/solrapp2/, the operation scripts under http://localhost:8080/solrapp2/bin/ will fail.  The current logic assumes the location to be {hostname}:{port}/solr.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Commented: (SOLR-188) bin scripts do not support non-default webapp names

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Hoss Man commented on SOLR-188:
-------------------------------

FWIW: I haven't looked at this patch in depth and my bash fu is weak, but i definitely like the idea of this new -U param since the work with plugable update handlers makes it possible to completely redefinte the path for sending xml updates messages.

> bin scripts do not support non-default webapp names
> ---------------------------------------------------
>
>                 Key: SOLR-188
>                 URL: https://issues.apache.org/jira/browse/SOLR-188
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.1.0, 1.2
>         Environment: Unix/Linux operating systems
>            Reporter: Jeff Rodenburg
>             Fix For: 1.1.0, 1.2
>
>         Attachments: scripts_url.patch
>
>
> If the solr web application has been configured in a non-default location, i.e. http://localhost:8080/solrapp2/, the operation scripts under http://localhost:8080/solrapp2/bin/ will fail.  The current logic assumes the location to be {hostname}:{port}/solr.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Assigned: (SOLR-188) bin scripts do not support non-default webapp names

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Bill Au reassigned SOLR-188:
----------------------------

    Assignee: Bill Au

> bin scripts do not support non-default webapp names
> ---------------------------------------------------
>
>                 Key: SOLR-188
>                 URL: https://issues.apache.org/jira/browse/SOLR-188
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.1.0, 1.2
>         Environment: Unix/Linux operating systems
>            Reporter: Jeff Rodenburg
>         Assigned To: Bill Au
>             Fix For: 1.1.0, 1.2
>
>         Attachments: scripts_url.patch
>
>
> If the solr web application has been configured in a non-default location, i.e. http://localhost:8080/solrapp2/, the operation scripts under http://localhost:8080/solrapp2/bin/ will fail.  The current logic assumes the location to be {hostname}:{port}/solr.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Commented: (SOLR-188) bin scripts do not support non-default webapp names

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Bill Au commented on SOLR-188:
------------------------------

The patch looks good.  I am going to commit it and update the related documentation in the Solr Wiki.

> bin scripts do not support non-default webapp names
> ---------------------------------------------------
>
>                 Key: SOLR-188
>                 URL: https://issues.apache.org/jira/browse/SOLR-188
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.1.0, 1.2
>         Environment: Unix/Linux operating systems
>            Reporter: Jeff Rodenburg
>         Assigned To: Bill Au
>             Fix For: 1.1.0, 1.2
>
>         Attachments: scripts_url.patch
>
>
> If the solr web application has been configured in a non-default location, i.e. http://localhost:8080/solrapp2/, the operation scripts under http://localhost:8080/solrapp2/bin/ will fail.  The current logic assumes the location to be {hostname}:{port}/solr.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

Resolved: (SOLR-188) bin scripts do not support non-default webapp names

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

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

Bill Au resolved SOLR-188.
--------------------------

    Resolution: Fixed

Thanks Jeff for the patch.  It has been applied.  I have also updated the Solr Wiki:

http://wiki.apache.org/solr/SolrOperationsTools

> bin scripts do not support non-default webapp names
> ---------------------------------------------------
>
>                 Key: SOLR-188
>                 URL: https://issues.apache.org/jira/browse/SOLR-188
>             Project: Solr
>          Issue Type: Bug
>          Components: update
>    Affects Versions: 1.1.0, 1.2
>         Environment: Unix/Linux operating systems
>            Reporter: Jeff Rodenburg
>         Assigned To: Bill Au
>             Fix For: 1.1.0, 1.2
>
>         Attachments: scripts_url.patch
>
>
> If the solr web application has been configured in a non-default location, i.e. http://localhost:8080/solrapp2/, the operation scripts under http://localhost:8080/solrapp2/bin/ will fail.  The current logic assumes the location to be {hostname}:{port}/solr.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.