You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Lee Marlow (JIRA)" <ji...@apache.org> on 2006/10/12 01:11:34 UTC

[jira] Created: (SOLR-53) Allow symbolic links and rsync over ssh in snap scripts

Allow symbolic links and rsync over ssh in snap scripts
-------------------------------------------------------

                 Key: SOLR-53
                 URL: http://issues.apache.org/jira/browse/SOLR-53
             Project: Solr
          Issue Type: Improvement
          Components: update
            Reporter: Lee Marlow


Our index directories are symbolic links to a shared location because we use capistrano to deploy our Ruby on Rails application.  This caused problems with snappuller and snapinstaller, so I added the -L option to the find command to make it work.

I also modified snappuller to rsync over ssh, which means there is no need to run the rsync daemon - one less service to run.

I will attach the patch.

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

        

[jira] Updated: (SOLR-53) Allow symbolic links and rsync over ssh in snap scripts

Posted by "Lee Marlow (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/SOLR-53?page=all ]

Lee Marlow updated SOLR-53:
---------------------------

    Attachment: symbolic_links_and_rsync_over_ssh.diff

Here is the patch.

> Allow symbolic links and rsync over ssh in snap scripts
> -------------------------------------------------------
>
>                 Key: SOLR-53
>                 URL: http://issues.apache.org/jira/browse/SOLR-53
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Lee Marlow
>         Attachments: symbolic_links_and_rsync_over_ssh.diff
>
>
> Our index directories are symbolic links to a shared location because we use capistrano to deploy our Ruby on Rails application.  This caused problems with snappuller and snapinstaller, so I added the -L option to the find command to make it work.
> I also modified snappuller to rsync over ssh, which means there is no need to run the rsync daemon - one less service to run.
> I will attach the patch.

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

        

[jira] Commented: (SOLR-53) Allow symbolic links and rsync over ssh in snap scripts

Posted by "Bill Au (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SOLR-53?page=comments#action_12441716 ] 
            
Bill Au commented on SOLR-53:
-----------------------------

The "-L" option to find isn't univeral to all versions of Unix/Linux.  For example,
it doesn't exist for the find in RedHat Enterprise Linux 4.

Our performance testing shows that using ssh instead of rsyncd slows down the file transfer by about 30%.  So the use of ssh should be optional for users where performance is important.

> Allow symbolic links and rsync over ssh in snap scripts
> -------------------------------------------------------
>
>                 Key: SOLR-53
>                 URL: http://issues.apache.org/jira/browse/SOLR-53
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Lee Marlow
>         Attachments: symbolic_links_and_rsync_over_ssh.diff
>
>
> Our index directories are symbolic links to a shared location because we use capistrano to deploy our Ruby on Rails application.  This caused problems with snappuller and snapinstaller, so I added the -L option to the find command to make it work.
> I also modified snappuller to rsync over ssh, which means there is no need to run the rsync daemon - one less service to run.
> I will attach the patch.

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

        

[jira] Resolved: (SOLR-53) Allow symbolic links and rsync over ssh in snap scripts

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

Shalin Shekhar Mangar resolved SOLR-53.
---------------------------------------

    Resolution: Won't Fix

Reading the comments it seems we are not able to support this across platforms. The Java based replication should be able to work with a symbolic link to the index directory. Closing this issue for now, we can open this again if needed.

> Allow symbolic links and rsync over ssh in snap scripts
> -------------------------------------------------------
>
>                 Key: SOLR-53
>                 URL: https://issues.apache.org/jira/browse/SOLR-53
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Lee Marlow
>         Attachments: symbolic_links_and_rsync_over_ssh.diff
>
>
> Our index directories are symbolic links to a shared location because we use capistrano to deploy our Ruby on Rails application.  This caused problems with snappuller and snapinstaller, so I added the -L option to the find command to make it work.
> I also modified snappuller to rsync over ssh, which means there is no need to run the rsync daemon - one less service to run.
> I will attach the patch.

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


[jira] Commented: (SOLR-53) Allow symbolic links and rsync over ssh in snap scripts

Posted by "Lee Marlow (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/SOLR-53?page=comments#action_12441778 ] 
            
Lee Marlow commented on SOLR-53:
--------------------------------

I was wondering whether -L was available everywhere.  It worked on our Macs and Fedora Core 5 boxes, so I was just hoping it would be close enough to universal.

Rsync over ssh works fine for us as our index isn't that large, 10-20 MB.

> Allow symbolic links and rsync over ssh in snap scripts
> -------------------------------------------------------
>
>                 Key: SOLR-53
>                 URL: http://issues.apache.org/jira/browse/SOLR-53
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>            Reporter: Lee Marlow
>         Attachments: symbolic_links_and_rsync_over_ssh.diff
>
>
> Our index directories are symbolic links to a shared location because we use capistrano to deploy our Ruby on Rails application.  This caused problems with snappuller and snapinstaller, so I added the -L option to the find command to make it work.
> I also modified snappuller to rsync over ssh, which means there is no need to run the rsync daemon - one less service to run.
> I will attach the patch.

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