[ 
https://issues.apache.org/jira/browse/SOLR-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12924911#action_12924911
 ] 

tom liu commented on SOLR-1395:
-------------------------------

Concurrency request would be thrown NPE.
Such as:
{noformat}
ab -n 10000 -c 5 http://solr01:8080/solr/select?q=solr&;...
{noformat}

it would be thrown NPE:
{noformat}
10/10/26 17:36:03 TRACE client.WorkQueue:261 - Done waiting, results = 
ClientResult: 0 results, 0 errors, 0/2 shards (id=2359:0)
10/10/26 17:36:03 TRACE client.WorkQueue:270 - Shutting down work queue, 
results = ClientResult: 0 results, 0 errors, 0/2 shards (id=2359:0)
10/10/26 17:36:03 TRACE client.ClientResult:286 - close() called.
10/10/26 17:36:03 TRACE client.ClientResult:290 - Notifying closed listener.
10/10/26 17:36:03 TRACE client.WorkQueue:136 - Shut down via 
ClientRequest.close()
10/10/26 17:36:03 TRACE client.WorkQueue:188 - Shutdown() called (id=2359)
10/10/26 17:36:03 TRACE client.WorkQueue:277 - Returning results = 
ClientResult: 0 results, 0 errors, 0/2 shards (closed), took 10003 ms 
(id=2359:0)
10/10/26 17:36:03 DEBUG client.Client:427 - 
broadcast(request([Ljava.lang.Object;@7cf02bee), 
{solr03:20000=[solrhome01#solrhome01, solrhome02#solrhome02]}) took 10004 msec 
for ClientResult: 0 results, 0 errors, 0/2 shards (closed)
10/10/26 17:36:03 INFO component.SearchHandler:89 - KattaCommComponent 
results.size: 0
10/10/26 17:36:03 WARN component.SearchHandler:93 - Received 0 responses for 
query [], not 1
10/10/26 17:36:03 ERROR core.SolrCore:151 - java.lang.NullPointerException
        at 
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:553)
        at 
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:435)
        at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:304)
        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
{noformat}

But use 
{noformat}
ab -n 10000 -c 1 http://solr01:8080/solr/select?q=solr&;... 
{noformat}
do not thrown

BTW::
NPE would stop RPC communication in request method of SolrKattaServer.java

> Integrate Katta
> ---------------
>
>                 Key: SOLR-1395
>                 URL: https://issues.apache.org/jira/browse/SOLR-1395
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 1.4
>            Reporter: Jason Rutherglen
>            Priority: Minor
>             Fix For: Next
>
>         Attachments: back-end.log, front-end.log, hadoop-core-0.19.0.jar, 
> katta-core-0.6-dev.jar, katta.node.properties, katta.zk.properties, 
> log4j-1.2.13.jar, solr-1395-1431-3.patch, solr-1395-1431-4.patch, 
> solr-1395-1431-katta0.6.patch, solr-1395-1431-katta0.6.patch, 
> solr-1395-1431.patch, solr-1395-katta-0.6.2-1.patch, 
> solr-1395-katta-0.6.2.patch, SOLR-1395.patch, SOLR-1395.patch, 
> SOLR-1395.patch, test-katta-core-0.6-dev.jar, zkclient-0.1-dev.jar, 
> zookeeper-3.2.1.jar
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> We'll integrate Katta into Solr so that:
> * Distributed search uses Hadoop RPC
> * Shard/SolrCore distribution and management
> * Zookeeper based failover
> * Indexes may be built using Hadoop

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to