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

java.lang.IllegalArgumentException when getting index size in replication handler

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.1
    • 4.1, 6.0
    • replication (java)
    • None

    Description

      Very similar to SOLR-4117, but happens even with branch_4x checkouts after that patch was committed. I am not actually doing replication. This exception happens on some calls to /admin/mbeans?stats=true that are made by a SolrJ application.

      ERROR - 2012-11-30 17:31:00.592; org.apache.solr.common.SolrException; java.lang.IllegalArgumentException: /index/solr4/cores/s5_0/../../data/s5_0/index/segments_9k does not exist
      at org.apache.commons.io.FileUtils.sizeOf(FileUtils.java:2053)
      at org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2089)
      at org.apache.solr.handler.ReplicationHandler.getIndexSize(ReplicationHandler.java:477)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              elyograg Shawn Heisey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: