Hi Erick,Tanya

    Happened I saw the mail,and I would like report anothe relative issue.
    I create a core through the solr/admin URL.
    when I set the  collection name to / , the catalina.out of the tomcat
send lots of exceptions  -Path must
not end with / character-. Worse, It seems never to stop, always continue.

   Is there any pre-check to make sure the input is correct?

  When the exceptions come out ,I have to stop all the tomcats, It shows
that the exceptions continue due to it would switch to the other tomcat
server.




2013/8/21 Erick Erickson <erickerick...@gmail.com>

> It looks like you've specified your zkHost (?) as something like
> machine:port/solr/
>
> rather than
> machine:port/solr
>
> Is that possible?
>
> Best,
> Erick
>
>
> On Tue, Aug 20, 2013 at 12:10 PM, Tanya <tanya.karpin...@gmail.com> wrote:
>
> > Hi,
> >
> > I have integrated SolrCloud search in some system with single shard and
> > works fine on single tests.
> >
> > Recently we started to run performance test and we are getting following
> > exception after a while.
> >
> > Help is really appreciated,
> >
> > Thanks
> > Tanya
> >
> > 2013-08-20 10:45:56,128 [cTaskExecutor-1] ERROR
> > LoggingAspect                  - Exception
> >
> > java.lang.RuntimeException: java.lang.IllegalArgumentException: Path must
> > not end with / character
> >
> >         at
> > org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:123)
> >
> >         at
> > org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:88)
> >
> >         at
> > org.apache.solr.common.cloud.ZkStateReader.<init>(ZkStateReader.java:148)
> >
> >         at
> >
> >
> org.apache.solr.client.solrj.impl.CloudSolrServer.connect(CloudSolrServer.java:147)
> >
> >         at
> >
> >
> org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:173)
> >
> >         at
> >
> >
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
> >
> >         at
> >
> >
> com.mcm.search.solr.SolrDefaultIndexingAdapter.updateEntities(SolrDefaultIndexingAdapter.java:109)
> >
> >         at
> >
> >
> com.mcm.search.AbstractSearchEngineMediator.updateDocuments(AbstractSearchEngineMediator.java:89)
> >
> >         at
> >
> >
> com.alu.dmsp.search.mediator.wrapper.SearchMediatorWrapper.updateDocuments(SearchMediatorWrapper.java:255)
> >
> >         at
> >
> >
> com.alu.dmsp.business.module.beans.DiscoverySolrIndexingRequestHandler.executeLogic(DiscoverySolrIndexingRequestHandler.java:122)
> >
> >         at
> >
> >
> com.alu.dmsp.business.module.beans.DiscoverySolrIndexingRequestHandler.executeLogic(DiscoverySolrIndexingRequestHandler.java:36)
> >
> >         at
> >
> >
> com.alu.dmsp.common.business.BasicBusinessServiceExecutionRequestHandler.executeRequest(BasicBusinessServiceExecutionRequestHandler.java:107)
> >
> >         at
> >
> >
> com.alu.dmsp.common.business.BasicBusinessServiceExecutionRequestHandler.execute(BasicBusinessServiceExecutionRequestHandler.java:84)
> >
> >         at
> >
> >
> com.alu.dmsp.common.business.beans.BasicBusinessService.executeRequest(BasicBusinessService.java:92)
> >
> >         at
> >
> >
> com.alu.dmsp.common.business.beans.BasicBusinessService.execute(BasicBusinessService.java:79)
> >
> >         at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
> >
> >         at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >
> >         at
> >
> >
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
> >
> >         at
> >
> >
> com.alu.dmsp.common.log.LoggingAspect.logWebServiceMethodCall(LoggingAspect.java:143)
> >
> >         at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
> >
> >         at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> >
> >         at
> >
> >
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> >
> >         at com.sun.proxy.$Proxy44.execute(Unknown Source)
> >
> >        at
> >
> >
> com.alu.dmsp.business.indexing.beans.DiscoveryIndexingRequestHandler.indexEntity(DiscoveryIndexingRequestHandler.java:54)
> >
> >         at
> >
> >
> com.alu.dmsp.business.indexing.beans.DiscoveryIndexingRequestHandler.executeLogic(DiscoveryIndexingRequestHandler.java:42)
> >
> >         at
> >
> >
> com.alu.dmsp.business.indexing.beans.DiscoveryIndexingRequestHandler.executeLogic(DiscoveryIndexingRequestHandler.java:26)
> >
> >         at
> >
> >
> com.alu.dmsp.common.business.BasicBusinessServiceExecutionRequestHandler.executeRequest(BasicBusinessServiceExecutionRequestHandler.java:107)
> >
> >         at
> >
> >
> com.alu.dmsp.common.business.BasicBusinessServiceExecutionRequestHandler.execute(BasicBusinessServiceExecutionRequestHandler.java:84)
> >
> >         at
> >
> >
> com.alu.dmsp.common.business.beans.BasicBusinessService.executeRequest(BasicBusinessService.java:92)
> >
> >         at
> >
> >
> com.alu.dmsp.common.business.beans.BasicBusinessService.execute(BasicBusinessService.java:79)
> >
> >         at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
> >
> >         at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >
> >         at
> >
> >
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
> >
> >         at
> >
> >
> com.alu.dmsp.common.log.LoggingAspect.logWebServiceMethodCall(LoggingAspect.java:143)
> >
> >         at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
> >
> >         at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> >
> >         at
> >
> >
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> >
> >         at com.sun.proxy.$Proxy44.execute(Unknown Source)
> >
> >        at
> >
> >
> com.alu.dmsp.distribution.handler.logic.BasicDistributionLogic.execute(BasicDistributionLogic.java:22)
> >
> >         at
> >
> >
> com.alu.dmsp.distribution.handler.logic.ExternalDistribution.distribute(ExternalDistribution.java:39)
> >
> >         at
> >
> >
> com.alu.dmsp.distribution.handler.logic.ExternalDistribution$$FastClassByCGLIB$$9a93efb6.invoke(<generated>)
> >
> >         at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
> >
> >         at
> >
> >
> org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
> >
> >         at
> >
> >
> com.alu.dmsp.common.log.LoggingAspect.logWebServiceMethodCall(LoggingAspect.java:143)
> >
> >         at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
> >
> >         at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> >
> >         at
> >
> >
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
> >
> >         at
> >
> >
> com.alu.dmsp.distribution.handler.logic.ExternalDistribution$$EnhancerByCGLIB$$6bcd667b.distribute(<generated>)
> >
> >         at
> >
> >
> com.alu.dmsp.distribution.handler.DistributionHandler.processMessage(DistributionHandler.java:40)
> >
> >         at
> >
> >
> com.alu.dmsp.distribution.handler.DistributionHandler.processMessage(DistributionHandler.java:18)
> >
> >         at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
> >
> >         at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >
> >         at
> >
> >
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
> >
> >         at
> >
> >
> com.alu.dmsp.common.log.LoggingAspect.logWebServiceMethodCall(LoggingAspect.java:143)
> >
> >         at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
> >
> >         at
> >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >
> >         at java.lang.reflect.Method.invoke(Method.java:606)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:55)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
> >
> >         at
> >
> >
> org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
> >
> >         at
> >
> >
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
> >
> >         at
> >
> >
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
> >
> >         at com.sun.proxy.$Proxy61.processMessage(Unknown Source)
> >
> >         at
> >
> >
> com.alu.dmsp.common.messaging.kafka.KafkaConsumerExecuter.run(KafkaConsumerExecuter.java:40)
> >
> >         at java.lang.Thread.run(Thread.java:724)
> >
> > Caused by: java.lang.IllegalArgumentException: Path must not end with /
> > character
> >
> >         at
> > org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:58)
> >
> >         at
> >
> >
> org.apache.zookeeper.client.ConnectStringParser.<init>(ConnectStringParser.java:57)
> >
> >         at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:443)
> >
> >         at org.apache.zookeeper.ZooKeeper.<init>(ZooKeeper.java:380)
> >
> >         at
> > org.apache.solr.common.cloud.SolrZooKeeper.<init>(SolrZooKeeper.java:40)
> >
> >         at
> >
> >
> org.apache.solr.common.cloud.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:37)
> >
> >         at
> > org.apache.solr.common.cloud.SolrZkClient.<init>(SolrZkClient.java:105)
> >
> >         ... 113 more
> >
>

Reply via email to