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 "Bill Au (JIRA)" <ji...@apache.org> on 2007/07/06 23:38:04 UTC

[jira] Commented: (SOLR-282) snapshooter does not work under solaris

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

Bill Au commented on SOLR-282:
------------------------------

I think I will go with:

mkdir dir2
cd dir1
find . -print|cpio -pdlmuv ${full_path_name_to_dir2}

This works closer to cp -lr in that it will take care of any subdirectory nder dir1.  I know Lucene does not put any subdirectory inside the data directory.  But you never know what people may but there to take advantage of the snapshot distribution.

> snapshooter does not work under solaris 
> ----------------------------------------
>
>                 Key: SOLR-282
>                 URL: https://issues.apache.org/jira/browse/SOLR-282
>             Project: Solr
>          Issue Type: Bug
>          Components: replication
>    Affects Versions: 1.2
>         Environment: solaris
>            Reporter: Xuesong Luo
>            Assignee: Bill Au
>
> http://www.mail-archive.com/solr-user@lucene.apache.org/msg04761.html
> solr is able to find snapshooter but didn't  generate any snapshot files after the index is updated. I checked the
> log, everything looks fine, then I run snapshooter from command line. It failed because Solaris doesn't support 
> -l option for cp command. I changed command "cp -lr dir1 dir2" to:
> mkdir dir2
> ln dir1/* dir2
> It seems working. Otis suggested to create an issue so that Bill Au & Co. can fix this problem. 
> Please note: several other commands under solr/bin also have this problem. You can use grep "cp -lr" to find all of them 
> and make similar changes.
> I'm also curious why there is no error log when solr failed running snapshooter. Shouldn't solr log an error message?
> Thanks
> Xuesong

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