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


http://www.mail-archive.com/[EMAIL PROTECTED]/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.

Thanks
Xuesong



I'm also curious why there is no error log when solr failed running
snapshooter. 

Thanks
Xuesong

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

Reply via email to