[jira] Created: (SOLR-63) snappuller fails if login shell on master server is zsh

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

[jira] Created: (SOLR-63) snappuller fails if login shell on master server is zsh

Michael Gibney (Jira)
snappuller fails if login shell on master server is zsh
-------------------------------------------------------

                 Key: SOLR-63
                 URL: http://issues.apache.org/jira/browse/SOLR-63
             Project: Solr
          Issue Type: Bug
          Components: replication
         Environment: zsh
            Reporter: Bill Au
         Assigned To: Bill Au
            Priority: Minor


snappuller will fails to find the lastest snapshot on the master if the login shell of the id running the srcipt on the master is zsh.  The command

find ${master_data_dir} -name snapshot.* -print

fails with the error

zsh: no matches found: snapshot.*

The "*" needs to be blackslash escaped.

I will attach a patch shortly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (SOLR-63) snappuller fails if login shell on master server is zsh

Michael Gibney (Jira)
     [ http://issues.apache.org/jira/browse/SOLR-63?page=all ]

Bill Au updated SOLR-63:
------------------------

    Attachment: snappuller-solar-63.patch

patch to snappuller to blackslash excape "*" in ssh command to master so that it will work under zsh.

> snappuller fails if login shell on master server is zsh
> -------------------------------------------------------
>
>                 Key: SOLR-63
>                 URL: http://issues.apache.org/jira/browse/SOLR-63
>             Project: Solr
>          Issue Type: Bug
>          Components: replication
>         Environment: zsh
>            Reporter: Bill Au
>         Assigned To: Bill Au
>            Priority: Minor
>         Attachments: snappuller-solar-63.patch
>
>
> snappuller will fails to find the lastest snapshot on the master if the login shell of the id running the srcipt on the master is zsh.  The command
> find ${master_data_dir} -name snapshot.* -print
> fails with the error
> zsh: no matches found: snapshot.*
> The "*" needs to be blackslash escaped.
> I will attach a patch shortly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (SOLR-63) snappuller fails if login shell on master server is zsh

Michael Gibney (Jira)
In reply to this post by Michael Gibney (Jira)
     [ http://issues.apache.org/jira/browse/SOLR-63?page=all ]

Bill Au resolved SOLR-63.
-------------------------

    Resolution: Fixed

patch committed.

> snappuller fails if login shell on master server is zsh
> -------------------------------------------------------
>
>                 Key: SOLR-63
>                 URL: http://issues.apache.org/jira/browse/SOLR-63
>             Project: Solr
>          Issue Type: Bug
>          Components: replication
>         Environment: zsh
>            Reporter: Bill Au
>         Assigned To: Bill Au
>            Priority: Minor
>         Attachments: snappuller-solar-63.patch
>
>
> snappuller will fails to find the lastest snapshot on the master if the login shell of the id running the srcipt on the master is zsh.  The command
> find ${master_data_dir} -name snapshot.* -print
> fails with the error
> zsh: no matches found: snapshot.*
> The "*" needs to be blackslash escaped.
> I will attach a patch shortly.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira