Skip to content

Instantly share code, notes, and snippets.

View shalinmangar's full-sized avatar

Shalin Shekhar Mangar shalinmangar

View GitHub Profile
@shalinmangar
shalinmangar / gist:6157773
Created August 5, 2013 17:30
SOLR-5113 - CollectionsAPIDistributedZKTest failure
This file has been truncated, but you can view the full file.
:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false
79472 T279 C51 P51759 oascsi.HttpClientUtil.createClient Creating new http client, config:maxConnections=128&maxConnectionsPerHost=32&followRedirects=false
79472 T131 oascc.ZkStateReader.updateClusterState Updating cloud state from ZooKeeper...
79473 T76 oasc.ZkController.register We are http://127.0.0.1:51787/new_implicit_coll_2_d_replica4/ and leader is http://127.0.0.1:51743/new_implicit_coll_2_d_replica3/
79474 T76 oasc.ZkController.register No LogReplay needed for core=new_implicit_coll_2_d_replica4 baseURL=http://127.0.0.1:51787
79474 T76 oasc.ZkController.checkRecovery Core needs to recover:new_implicit_coll_2_d_replica4
79475 T76 oasu.DefaultSolrCoreState.doRecovery Running recovery - first canceling any ongoing recovery
79474 T131 oass.SolrDispatchFilter.handleAdminRequest [admin] webapp=null path=/admin/cores params={numShards=4&shard=b&name=new_implicit_coll_2_b_replica4&action=CREATE&collection=new_implicit_coll_2&wt=javabin&qt=/a
@shalinmangar
shalinmangar / ProducerConsumerTest.scala
Created April 21, 2011 18:40
RabbitMQ Producer Consumer Performance Test
package com.aol.platformx
import com.rabbitmq.client.{QueueingConsumer, ConnectionFactory}
import java.util.concurrent.atomic.AtomicLong
import java.util.concurrent.Executors
/**
*
* @author shalinsmangar
* Date: 4/20/11
<b:if cond='data:blog.url == &quot;http://shalinsays.blogspot.com/2009/10/why-you-should-contribute-to-open.html&quot;'>
<link href='http://shal.in/post/285909694/why-you-should-contribute-to-open-source' rel='canonical'/>
<meta content='0;URL=http://shal.in/post/285909694/why-you-should-contribute-to-open-source' http-equiv='REFRESH'/>
</b:if>