[ https://issues.apache.org/jira/browse/SOLR-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511128
]
Bill Au commented on SOLR-282:
------------------------------
Yes, I am thinking it will be an alternate codepath for Solaris only,
keeping "cp -l" as the default.
With so many different OSes out there I am not sure if we can come up with a
single solution to works everywhere. I am not sure we want to spend the
time to find it even if it exists. I for one only have access to a handful
of OSes.
Bill
> 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.
|