[
https://issues.apache.org/jira/browse/SOLR-3665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421054#comment-13421054
]
Hoss Man commented on SOLR-3665:
--------------------------------
Root exception that pops up is...
{noformat}
[junit4:junit4] > Caused by: java.lang.IllegalArgumentException:
/home/hossman/lucene/dev/solr/build/solr-core/test/J0/./solrtest-CoreAdminHandlerTest-1343089260495/index
does not exist
[junit4:junit4] > at
org.apache.commons.io.FileUtils.sizeOfDirectory(FileUtils.java:2074)
[junit4:junit4] > at
org.apache.solr.handler.admin.CoreAdminHandler.getIndexSize(CoreAdminHandler.java:864)
[junit4:junit4] > at
org.apache.solr.handler.admin.CoreAdminHandler.getCoreStatus(CoreAdminHandler.java:849)
[junit4:junit4] > at
org.apache.solr.handler.admin.CoreAdminHandler.handleStatusAction(CoreAdminHandler.java:576)
[junit4:junit4] > ... 41 more
{noformat}
...we could conceivably make CoreAdminHandler work around this type of
situation by having CoreAdminHandler.getIndexSize return null in the case that
the directory doesn't exist, but perhaps it would be better to enhance
Directory (or DirectoryFactory) to return this type of information and delegate
to that.
> CoreAdminHandler STATUS command fails when using RAMDirectoryFactory
> --------------------------------------------------------------------
>
> Key: SOLR-3665
> URL: https://issues.apache.org/jira/browse/SOLR-3665
> Project: Solr
> Issue Type: Bug
> Reporter: Hoss Man
>
> working on SOLR-3634 i've run into a hicup testing that CoreAdminHandler
> STATUS actions work properly because it tries to get the size of a directory
> that doesn't actually exist because of RAMDirectoryFactory.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]