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

distributiondump.jsp gets the path to logs wrong

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0, 1.2
    • 1.3
    • Admin UI
    • None
    • Tomcat 5.5

    Description

      I can't seem to get the Distribution Info page to work.

      I think it is because I have a custom path to solr. My path to the logs directory looks like this: /apps/search/solr/catalog/logs (The base url to solr ends up being http://domain.com/catalog) I have to create my path like this in order to have multiple instances of solr running in the same container.

      distributiondump.jsp is creating the path to the status file using: cwd + "/solr/logs/snapshot.current", which ends up being wrong.

      Would it be possible to make it use a rootdir variable like: rootdir + "/logs/snapshot.current"? If there is no way to determine the rootdir, perhaps it could be added to solrconfig.xml (or at least let it be overridden there.)

      Attachments

        Activity

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

          People

            billa William Au
            xevo Ken Prows
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment