Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-282

snapshooter does not work under solaris

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.3
    • replication (scripts)
    • None
    • solaris

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            billa William Au
            xluo Xuesong Luo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment