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

Backup/Restore should provide a param for specifying the directory implementation it should use



    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2
    • Component/s: None
    • Labels:


      Currently when we create a backup we use SimpleFSDirectory to write the backup indexes. Similarly during a restore we open the index using FSDirectory.open .

      We should provide a param called directoryImpl or type which will be used to specify the Directory implementation to backup the index.
      Likewise during a restore you would need to specify the directory impl which was used during backup so that the index can be opened correctly.

      This param will address the problem that currently if a user is running Solr on HDFS there is no way to use the backup/restore functionality as the directory is hardcoded.

      With this one could be running Solr on a local FS but backup the index on HDFS etc.


        1. SOLR-7374.patch
          100 kB
          Varun Thacker
        2. SOLR-7374.patch
          90 kB
          Hrishikesh Gadre
        3. SOLR-7374.patch
          84 kB
          Hrishikesh Gadre
        4. SOLR-7374.patch
          80 kB
          Hrishikesh Gadre
        5. SOLR-7374.patch
          81 kB
          Mark Miller
        6. SOLR-7374.patch
          74 kB
          Hrishikesh Gadre
        7. SOLR-7374.patch
          74 kB
          Hrishikesh Gadre
        8. SOLR-7374.patch
          68 kB
          Hrishikesh Gadre
        9. SOLR-7374.patch
          68 kB
          Hrishikesh Gadre

          Issue Links



              • Assignee:
                varun Varun Thacker
                varun Varun Thacker
              • Votes:
                0 Vote for this issue
                10 Start watching this issue


                • Created: