[ https://issues.apache.org/jira/browse/SOLR-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919581#action_12919581 ]
tom liu commented on SOLR-1395: ------------------------------- My deployment is: # one Master # two Slaves: #* solr01 #* solr02 # two Indexes: #* solrhome01(.zip) #* solrhome02(.zip) And, i use: {noformat} # bin/katta addIndex solrhome01 hdfs://localhost:9000/solr/solrhome01.zip # bin/katta addIndex solrhome02 hdfs://localhost:9000/solr/solrhome02.zip {noformat} so, my shard-Node is: # solrhome01#solrhome01 #* --solr01 #* --solr02 # solrhome02#solrhome02 #* --solr01 #* --solr02 When i searched in master, i found that, in any slave, the search ran twice, such as: {noformat} SolrServer.request: solr01:20000 shards:[solrhome01#solrhome01, solrhome02#solrhome02] request params:fl=id%2Cscore&start=0&q=solr&isShard=true&fsv=true&rows=10&shards=solrhome01%23solrhome01%2Csolrhome02%23solrhome02 2010-10-10 16:17:04 org.apache.solr.core.SolrCore execute 信息: [solrhome02#solrhome02] webapp=null path=/select params={fl=id%2Cscore&start=0&q=solr&isShard=true&fsv=true&rows=10} hits=1 status=0 QTime=16 2010-10-10 16:17:04 org.apache.solr.core.SolrCore execute 信息: [solrhome01#solrhome01] webapp=null path=/select params={fl=id%2Cscore&start=0&q=solr&isShard=true&fsv=true&rows=10} hits=1 status=0 QTime=16 2010-10-10 16:17:04 org.apache.solr.core.SolrCore execute 信息: [solrhome02#solrhome02] webapp=null path=/select params={fl=id%2Cscore%2Cid&start=0&q=solr&isShard=true&rows=10&ids=SOLR1000} status=0 QTime=0 SolrServer.SolrResponse:{response={numFound=1,start=00.5747526,docs=[SolrDocument[{id=SOLR1000, score=0.5747526}]]},QueriedShards=[Ljava.lang.String;@175ace6} {noformat} {noformat} SolrServer.request: tom-SL510:20001 shards:[solrhome01#solrhome01, solrhome02#solrhome02] request params:start=0&ids=SOLR1000&q=solr&isShard=true&rows=10&shards=solrhome01%23solrhome01%2Csolrhome02%23solrhome02 2010-10-10 16:17:04 org.apache.solr.core.SolrCore execute 信息: [solrhome02#solrhome02] webapp=null path=/select params={start=0&ids=SOLR1000&q=solr&isShard=true&rows=10&fsv=true&fl=id%2Cscore} status=0 QTime=16 2010-10-10 16:17:04 org.apache.solr.core.SolrCore execute 信息: [solrhome01#solrhome01] webapp=null path=/select params={start=0&ids=SOLR1000&q=solr&isShard=true&rows=10&fsv=true&fl=id%2Cscore} status=0 QTime=16 2010-10-10 16:17:04 org.apache.solr.core.SolrCore execute 信息: [solrhome01#solrhome01] webapp=null path=/select params={start=0&ids=SOLR1000&ids=SOLR1000&q=solr&isShard=true&rows=10} status=0 QTime=0 SolrServer.SolrResponse:{response={numFound=1,start=0,docs=[SolrDocument[{id=SOLR1000, ...]]},QueriedShards=[Ljava.lang.String;@1d590d} {noformat} i think, in slaves, IS_SHARD=true, so, it would prevent this happens. > 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.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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org