[
https://issues.apache.org/jira/browse/SOLR-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13527239#comment-13527239
]
Mark Miller commented on SOLR-4135:
-----------------------------------
Hey Shawn, I think SOLR-4117 does indeed solve this for 5.X - however, doing
this on 4.X is a bit more difficult. Because we are using a library to get the
size, we would have to replace that call with our code.
That's fine with me, but I'm hoping to merge back the 5.X directory work soon,
now that it has hardened a fair amount.
> java.lang.IllegalArgumentException when getting index size in replication
> handler
> ---------------------------------------------------------------------------------
>
> Key: SOLR-4135
> URL: https://issues.apache.org/jira/browse/SOLR-4135
> Project: Solr
> Issue Type: Bug
> Components: replication (java)
> Affects Versions: 4.1
> Environment: Linux bigindy5 2.6.32-279.14.1.el6.centos.plus.x86_64 #1
> SMP Wed Nov 7 00:40:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> java version "1.7.0_09"
> Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
> Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
> solr-impl 4.1-SNAPSHOT 1415856M - ncindex - 2012-11-30 14:42:27
> Reporter: Shawn Heisey
> Fix For: 4.1, 5.0
>
>
> 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)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]