You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2012/12/01 19:41:58 UTC

[jira] [Created] (SOLR-4135) java.lang.IllegalArgumentException when getting index size in replication handler

Shawn Heisey created SOLR-4135:
----------------------------------

             Summary: 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
            Reporter: Shawn Heisey




--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-4135) java.lang.IllegalArgumentException when getting index size in replication handler

Posted by "Shawn Heisey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Heisey updated SOLR-4135:
-------------------------------

    Fix Version/s: 5.0
                   4.1
      Description: 
Very similar to SOLR-4117, but happens even with branch_4x checkouts after that patch was committed.

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)

      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)

    
> 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)
>            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.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-4135) java.lang.IllegalArgumentException when getting index size in replication handler

Posted by "Shawn Heisey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Heisey updated SOLR-4135:
-------------------------------

    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)


  was:
Very similar to SOLR-4117, but happens even with branch_4x checkouts after that patch was committed.

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)


    
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-4135) java.lang.IllegalArgumentException when getting index size in replication handler

Posted by "Shawn Heisey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508021#comment-13508021 ] 

Shawn Heisey commented on SOLR-4135:
------------------------------------

Full exception:

{code}
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)
        at org.apache.solr.handler.ReplicationHandler.getStatistics(ReplicationHandler.java:525)
        at org.apache.solr.handler.admin.SolrInfoMBeanHandler.getMBeanInfo(SolrInfoMBeanHandler.java:159)
        at org.apache.solr.handler.admin.SolrInfoMBeanHandler.handleRequestBody(SolrInfoMBeanHandler.java:65)
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:145)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1753)
        at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:455)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:276)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
        at org.eclipse.jetty.server.Server.handle(Server.java:365)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
        at java.lang.Thread.run(Thread.java:722)
{code}

                
> 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)
>            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.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-4135) java.lang.IllegalArgumentException when getting index size in replication handler

Posted by "Shawn Heisey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508026#comment-13508026 ] 

Shawn Heisey commented on SOLR-4135:
------------------------------------

Each exception actually happens twice, the second one identical in every way to the first except for "null" being added to the first line.

{code}
ERROR - 2012-11-30 17:31:00.592; org.apache.solr.common.SolrException; null: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)
        at org.apache.solr.handler.ReplicationHandler.getStatistics(ReplicationHandler.java:525)
        at org.apache.solr.handler.admin.SolrInfoMBeanHandler.getMBeanInfo(SolrInfoMBeanHandler.java:159)
        at org.apache.solr.handler.admin.SolrInfoMBeanHandler.handleRequestBody(SolrInfoMBeanHandler.java:65)
        at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:145)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1753)
        at org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:455)
        at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:276)
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1307)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:453)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1072)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:382)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1006)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
        at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
        at org.eclipse.jetty.server.Server.handle(Server.java:365)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:485)
        at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:926)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:988)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
        at java.lang.Thread.run(Thread.java:722)
{code}

                
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Updated] (SOLR-4135) java.lang.IllegalArgumentException when getting index size in replication handler

Posted by "Shawn Heisey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Heisey updated SOLR-4135:
-------------------------------

    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


  was:
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)


    
> 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.
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-4135) java.lang.IllegalArgumentException when getting index size in replication handler

Posted by "Shawn Heisey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-4135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508029#comment-13508029 ] 

Shawn Heisey commented on SOLR-4135:
------------------------------------

Looking through historical logs that don't really go back very far, it appears that all of the exceptions I have seen are for segments_nn, *.id, and *.del files.  I can't guarantee that it doesn't happen with actual segment files, but none have appeared in the logs that I have examined.

Thoughts:
1) Is the exception being logged twice because of logging duplicates (nested catch statements?), or is it because the size calculation is being done twice?  I have not looked at the code, but I would guess it's more likely to be the former.
2) Does this mean some synchronization is required to prevent the index from being updated while stats are being gathered?  That seems like a possible performance killer, so is there a better solution?
3) SOLR-3990.

                
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org