Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-728

Update Solr script to resolve issues with ZK and creating collection

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.5.0
    • 0.5.1, 0.6.0
    • None
    • None

    Description

      I found few issues with the script creating Solr for Ranger.

      1. If there are multiple hosts given in the ZK hosts, then it create ZK node fails
      2. We should use bin/solr create_collection command to create the collection. Currently we are using curl command
      3. Currently we are passing all argument via command line. It might be better to customize solr.in.sh and use it while calling bin/solr
      4. Provide wrapper "solr" script to include SOLR_INCLUDE before calling bin/solr
      5. Update documentation to make the setup more clear

      Attachments

        Activity

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

          People

            bosco Bosco
            bosco Bosco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment