Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4054

Solr statistics year shards don't load properly in Windows environments

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.8
    • Fix Version/s: None
    • Component/s: DSpace API, Solr
    • Labels:
      None
    • Environment:
      Windows 7, Tomcat 8.0
    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Needed

      Description

      Solr statistics year shards don't load properly in Windows environments when using the conventional

      dspace.dir = /dspace

      build property.

      This may be affecting all currently released 5.x and 6.x versions.

      The problem is located in }}{{org.dspace.statistics.SolrLogger (5.x) and }}{{org.dspace.statistics.SolrLoggerServiceImpl (6.x), respectively.

       

      Taking the 5.10 version, the offending code is located in org.dspace.statistics.SolrLogger.createCore(HttpSolrServer, String) 

       

       

      // ...
      String solrDir = ConfigurationManager.getProperty("dspace.dir") + File.separator + "solr" +File.separator;
      // ...
      create.setDataDir(solrDir + coreName + File.separator + "data");
      // ...
      

       

      https://github.com/DSpace/DSpace/blob/dspace-6.3/dspace-api/src/main/java/org/dspace/statistics/SolrLoggerServiceImpl.java

       

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gerrit Gerrit Hübbers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: