Solr
  1. Solr
  2. SOLR-3609

Pin down the Solr webapp to a specific directory rather than a unique random directory.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-BETA
    • Component/s: None
    • Labels:
      None

      Description

      I'd like to pin down the extracted webapp dir to a constant known location. I think this is a better user experience, in that the location is fixed, and it also would allow us to write scripts that can find all of our jars.

      For example, there is currently some functionality in ZkController.main to handle some ZooKeeper tasks before starting Solr - something you often want to be able to do. There are more tools that would be nice to add. To create the best user experience for these tools, it would be great to have an example/cloud-tools directory with some simple scripts to make for easy cmd line execution. These scripts will need to be able to easily locate the webapps jars.

        Issue Links

          Activity

          Hide
          Mark Miller added a comment -

          A patch that adds a solr.xml context descriptor. This descriptor points to webapps/solr.war and explodes it to solr-webapp.

          Show
          Mark Miller added a comment - A patch that adds a solr.xml context descriptor. This descriptor points to webapps/solr.war and explodes it to solr-webapp.
          Hide
          Hoss Man added a comment -

          bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment

          Show
          Hoss Man added a comment - bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment
          Hide
          Mark Miller added a comment -

          This messed up prepare-release which tries to delete the work directory - fixing.

          Show
          Mark Miller added a comment - This messed up prepare-release which tries to delete the work directory - fixing.
          Hide
          Lance Norskog added a comment -

          Just did a git pull of branch_4x. ant example fails with:

          
          example:
               [copy] Copying 1 file to /Users/lancenorskog/Documents/open/solr/4.x/solr/example/webapps
          
          BUILD FAILED
          /Users/lancenorskog/Documents/open/solr/4.x/solr/build.xml:53: Directory does not exist: /Users/lancenorskog/Documents/open/solr/4.x/solr/example/solr-webapp
          
          Show
          Lance Norskog added a comment - Just did a git pull of branch_4x. ant example fails with: example: [copy] Copying 1 file to /Users/lancenorskog/Documents/open/solr/4.x/solr/example/webapps BUILD FAILED /Users/lancenorskog/Documents/open/solr/4.x/solr/build.xml:53: Directory does not exist: /Users/lancenorskog/Documents/open/solr/4.x/solr/example/solr-webapp
          Hide
          Hoss Man added a comment -

          I fixed some left over 'work' refrences that didn't get converted to 'solr-webapp' and add solr-webapp/.gitignore just like the old work/.gitignore

          Committed revision 1365383.
          Committed revision 1365384.

          Show
          Hoss Man added a comment - I fixed some left over 'work' refrences that didn't get converted to 'solr-webapp' and add solr-webapp/.gitignore just like the old work/.gitignore Committed revision 1365383. Committed revision 1365384.

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development