Skip to content

Instantly share code, notes, and snippets.

{"size":260,"timeout":2000,"query":{"function_score":{"query":{"filtered":{"query":{"match_all":{}},"filter":{"terms":{"geoS2CellIds":["8824C700AB000000","8824C70744000000","8824C70754000000","8824C7075C000000","8824C70764000000","8824C70769000000","8824C7076F000000","8824C70770100000","8824C7077C000000","8824C70784000000","8824C7A830000000","8824C7A844000000","8824C7A84C000000","8824C7A854000000","8824C7A9C0000000","8824C7AA04000000","8824C7AA1C000000","8824C7AA21000000","8824C7AA27500000"],"execution":"plain","_cache":false}}}},"script_score":{"script":"10.0 * pow((doc['point'].distanceInKm(geoLat,geoLong) + 0.1), -1.0) * doc['decayedPopularity1'].value","params":{"geoLat":42.545229,"geoLong":-83.214704}},"boost_mode":"replace"}},"stats":["nearby"]}
{
"size": 260,
"timeout": 2000,
"query": {
"function_score": {
"query": {
"filtered": {
"query": {
"match_all": {}
},
curl -XPUT http://fsae13:9202/venueReadCurrent/_warmer/tipWarmer -d ' {
"query" : {
"top_children" : {
"query" : {
"constant_score" : {
"query" : {
"filtered" : {
"query" : {
"bool" : {
"should" : [ {
6411,fsaf10.prod.foursquare.com
5608,fsaf5.prod.foursquare.com
2141,fsaq20.prod.foursquare.com
2101,fsal20.prod.foursquare.com
480,fsae8.prod.foursquare.com
419,fsao27.prod.foursquare.com
348,fsao52.prod.foursquare.com
316,fsal22.prod.foursquare.com
303,fsal18.prod.foursquare.com
296,fsan53.prod.foursquare.com
8826,fsag23.prod.foursquare.com
5711,fsaf5.prod.foursquare.com
4497,fsaf10.prod.foursquare.com
1935,fsaq20.prod.foursquare.com
1446,fsao51.prod.foursquare.com
503,fsaj24.prod.foursquare.com
476,fsan4.prod.foursquare.com
472,fsao52.prod.foursquare.com
450,fsan14.prod.foursquare.com
434,fsao29.prod.foursquare.com
Started by upstream project "foursquare.hadoop.parentbuild" build number 8371
originally caused by:
Started by an SCM change
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on fsao43 in workspace <http://fsan39.prod.foursquare.com:8080/job/foursquare.hadoop.packageonly/ws/>
Fetching changes from the remote Git repository
Fetching upstream changes from git@repo.prod.foursquare.com:foursquare.web.git
Checking out Revision 2e8341ec200ec33fb1baf90f454bc174cdebb45f (detached)
[2014-06-02 17:20:01,451] [pool-ConcreteRecFutureService-thread-58] INFO c.f.v.r.s.concrete.RecFlowHelper - Some({ "interpretations" : [ { "what" : "", "where" : "san francisco ca", "feature" : { "cc" : "US", "geometry" : { "center" : { "lat" : 37.77493, "lng" : -122.41942 }, "bounds" : { "ne" : { "lat" : 37.929823999999996, "lng" : -122.28178 }, "sw" : { "lat" : 37.639829999999996, "lng" : -123.173825 } }, "wkbGeometry" : "AAAAAAYAAAACAAAAAAMAAAABAAABnsBepQLE1l5GQELd81Gb1AbAXqUdFOO81EBC38ENe+mFwF6lM7U5MlFAQuFOVPepGcBepT8tPHktQELhzGPxQSDAXqVUrCm\/FkBC4rjYI0IkwF6lbC79Q41AQuO7YkE9uMBepaSkj5bhQELlCdBjWkLAXqZqREF4cEBC5rfDUExIwF6nL61stTVAQuhZQpF1CMBepWnjyWiUQELoWWQfZEnAXqNBt1p0wEBC6Fyq+8GtwF6i9\/z8P4FAQuhZZB9kScBeolGgBcRlQELoW9lEqlTAXqIuf29L6EBC6F1KXfIjwF6h7SiM5wRAQuhgAp8WscBeod5hScbzQELoVlf7aZjAXqHRTjvNNkBC6FnIyTINwF6hwOe8PFxAQuhQLux8lcBeob9ZRsMzQELoZydWhh7AXqHRiPQv6EBC6KHO8kD6wF6h3irDIilAQujV6NVBD8BeobvCuU2UQELpF3IMjNbAXqGjdpItlEBC6R2r4nF6wF6hpnYg7o1AQukuYhMaj8BeoZ\/oaDPGQELpRVIZqEfAXqGPhhpg1EBC6UiY9gWrwF6hkfs\
com.twitter.util.TimeoutException: 5.seconds
at com.twitter.util.Promise.ready(Promise.scala:403) ~[com.twitter-util-core_2.10-6.5.0.jar:6.5.0]
at com.twitter.util.Promise.result(Promise.scala:408) ~[com.twitter-util-core_2.10-6.5.0.jar:6.5.0]
at com.twitter.util.Await$.result(Awaitable.scala:75) ~[com.twitter-util-core_2.10-6.5.0.jar:6.5.0]
at com.foursquare.memcached.rpc.client.MemcachedClient$.com$foursquare$memcached$rpc$client$MemcachedClient$$createOrThrow(MemcachedClient.scala:404) ~[classes/:na]
at com.foursquare.memcached.rpc.client.MemcachedClient$$anonfun$get$4.apply(MemcachedClient.scala:441) ~[classes/:na]
at com.foursquare.memcached.rpc.client.MemcachedClient$$anonfun$get$4.apply(MemcachedClient.scala:441) ~[classes/:na]
at scala.collection.mutable.MapLike$class.getOrElseUpdate(MapLike.scala:189) ~[org.scala-lang-scala-library-2.10.3.jar:na]
at com.foursquare.memcached.rpc.client.MemcachedClient$$anon$1.scala$collection$mutable$Sync
2014-05-23 14:41:21.205 batman[5715:3203] -[FSExpertise initWithCoder:]: unrecognized selector sent to instance 0x110439600
2014-05-23 14:41:21.210 batman[5715:3203] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FSExpertise initWithCoder:]: unrecognized selector sent to instance 0x110439600'
*** First throw call stack:
(
0 CoreFoundation 0x00000001046a0495 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x000000010312d99e objc_exception_throw + 43
2 CoreFoundation 0x000000010473165d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3 CoreFoundation 0x0000000104691d8d ___forwarding___ + 973
4 CoreFoundation 0x0000000104691938 _CF_forwarding_prep_0 + 120
5 Foundation 0x0000000102cf6b8d _decodeObjectBinary + 2541
export/hdi3/home/blee/filters/foursquare.web/.pvenvs/ce0a2d86c2.434d5d/lib/python2.7/site-packages/numpy-1.7.1-py2.7-linux-x86_64.egg/numpy/random/__init__.py:99: RuntimeWarning: compiletime version 2.6 of module 'mtrand' does not match runtime version 2.7
from mtrand import *
/export/hdi3/home/blee/filters/foursquare.web/.pvenvs/ce0a2d86c2.434d5d/lib/python2.7/site-packages/scikit_learn-0.13.1-py2.7-linux-x86_64.egg/sklearn/__check_build/__init__.py:45: RuntimeWarning: compiletime version 2.6 of module 'sklearn.check_build._check_build' does not match runtime version 2.7
from ._check_build import check_build
/export/hdi3/home/blee/filters/foursquare.web/.pvenvs/ce0a2d86c2.434d5d/lib/python2.7/site-packages/scipy-0.12.0-py2.7-linux-x86_64.egg/scipy/sparse/csgraph/__init__.py:148: RuntimeWarning: compiletime version 2.6 of module 'scipy.sparse.csgraph._shortest_path' does not match runtime version 2.7
from ._shortest_path import shortest_path, floyd_warshall, dijkstra,\
/export/hdi3/home/blee/filters/fou