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

distributiondump.jsp gets the path to logs wrong

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0, 1.2
    • Fix Version/s: 1.3
    • Component/s: Admin UI
    • Labels:
      None
    • Environment:

      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

            People

            • Assignee:
              billa Bill Au
              Reporter:
              xevo Ken Prows
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: