Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>Leaflet Quick Start Guide Example</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.3/leaflet.css" />
<style>
html {height: 100%;}
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" ><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><!-- Latest compiled and minified CSS --><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"><link href="https://ss1.4sqi.net/styles/standalone-pages/venue-detail-bca501b0f68f03c0f5e7aa3c5e940c1c.css" type="text/css" rel="stylesheet"/></head><body><div><div class="jumbotron"><div class="container">Lunch</div></div><div class="suggestion"><div class="wrapper" style="float:left;position:relative;"><img src="https://irs2.4sqi.net/img/general/360x150/20635179_IwXgGxQUJypr_v6Ft90lQiHB263LjZFGWvKR8VAVIZ4.jpg"><div class="testCaption" style="position:absolute;bottom:0; left: 0.5em;color: #fff;"><p> Great lunch places nearby</p></div></div><div class="blargh" st
Server error: com.foursquare.common.exception.RemoteException: com.foursquare.venue.rec.flow.gen.RawRecException on fsao37.prod.foursquare.com: { "messages": [ "java.util.IllegalFormatConversionException: f != java.lang.String: java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4045) java.util.Formatter$FormatSpecifier.printFloat(Formatter.java:2761) java.util.Formatter$FormatSpecifier.print(Formatter.java:2708) java.util.Formatter.format(Formatter.java:2488) [------------------------------- SNIP -------------------------------] com.foursquare.venue.recscore.concrete.StructuredTasteMatchScorer$$anonfun$score$3$$anonfun$62.apply(Scorers.scala:1166) com.foursquare.venue.recscore.concrete.StructuredTasteMatchScorer$$anonfun$score$3$$anonfun$62.apply(Scorers.scala:1145) scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) scala.collection.immutable.List.foreach(List.scala:318) scala.collecti
Message list
com.foursquare.common.exception.SoftException: BrowseSuggestions RecException: com.foursquare.net.client.thrift.ServiceException: tastes-rpc exception: java.util.concurrent.RejectedExecutionException: com.foursquare.net.client.thrift.BaseFSThriftClient$$anonfun$apply$1.applyOrElse(FSThriftClient.scala:106) com.foursquare.net.client.thrift.BaseFSThriftClient$$anonfun$apply$1.applyOrElse(FSThriftClient.scala:104) scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:33) com.twitter.util.Future$$anonfun$rescue$1.apply(Future.scala:633) com.twitter.util.Future$$anonfun$rescue$1.apply(Future.scala:632) com.twitter.util.Promise$Transformer.liftedTree1$1(Promise.scala:67) [------------------------------- SNIP -------------------------------] Caused by: com.foursquare.common.exception.RemoteException: java.util.concurrent.RejectedExecutionException on fsaq46.prod.foursquare.com: Task java.util.concurrent.FutureTask@6eaeeb79 rejected from ConcreteFutureService: com.foursquare.common.co
Message list
com.foursquare.common.exception.SoftException: Failed to call browse.friendTipsCategoryCountsNew Caused by:
com.foursquare.net.client.thrift.ServiceException: tastes-rpc exception: java.util.concurrent.RejectedExecutionException Caused by:
com.foursquare.common.exception.RemoteException: java.util.concurrent.RejectedExecutionException on fsaj4.prod.foursquare.com: Task java.util.concurrent.FutureTask@684c8c97 rejected from ConcreteFutureService: com.foursquare.common.concurrent.Executors$$anon$1@4fd00e65[Running, pool size = 96, active threads = 93, queued tasks = 0, completed tasks = 7008914] likely reason: likely too full. Active: 93, Max: 96
Exception list
com.foursquare.common.exception.SoftException Caused by:
com.foursquare.net.client.thrift.ServiceException Caused by:
com.foursquare.common.exception.RemoteException
Backtrace
com.foursquare.common.exception.SoftError$.error (SoftError.scala:23)
{
"size": 250,
"timeout": 2000,
"query": {
"filtered": {
"query": {
"match_all": {}
},
"filter": {
"bool": {
fsan14: [2014-06-25 19:31:09,996][WARN ][index.search.slowlog.query] [fsan14.prod.foursquare.com] [venues20140529][2] took[1.3s], took_millis[1345], types[slashemdoc], stats[expandedQuery], search_type[QUERY_THEN_FETCH], total_shards[4], source[{"size":50,"timeout":2000,"query":{"filtered":{"query":{"dis_max":{"queries":[{"multi_match":{"query":"new york earth room","fields":["name.edgengram^0.2","aliases^1.0","name.text^1.0"]}},{"bool":{"should":[{"dis_max":{"queries":[{"multi_match":{"query":"new","fields":["aliases^0.3","name.text^0.3"]}},{"multi_match":{"query":"new american","fields":["aliases^0.3","name.text^0.3"]}}]}},{"dis_max":{"queries":[{"multi_match":{"query":"york","fields":["aliases^0.3","name.text^0.3"]}},{"multi_match":{"query":"house of york","fields":["aliases^0.3","name.text^0.3"]}}]}},{"dis_max":{"queries":[{"multi_match":{"query":"earth","fields":["aliases^0.3","name.text^0.3"]}},{"multi_match":{"query":"planet earth","fields":["aliases^0.3","name.text^0.3"]}}]}},{"dis_max":{"queries":[{"
Total Requests: 10084
Min: 2 ms
Max: 1564 ms
Med: 43 ms
Avg: 36 ms
+----------------------
| Latency Distribution
+----------------------
100: ##################################################################################################### (92.11%, 9288)
200: ###### (5.07%, 511)
thriftclients.api-highlights-rpc.available: 132
thriftclients.api-highlights-rpc.connections: 138
thriftclients.api-highlights-rpc.fsae10_prod_foursquare_com:24500.available: 1
thriftclients.api-highlights-rpc.fsae10_prod_foursquare_com:24500.connections: 1
thriftclients.api-highlights-rpc.fsae10_prod_foursquare_com:24500.load: 0
thriftclients.api-highlights-rpc.fsae10_prod_foursquare_com:24500.pending: 0
thriftclients.api-highlights-rpc.fsae10_prod_foursquare_com:24500.pool_cached: 0
thriftclients.api-highlights-rpc.fsae10_prod_foursquare_com:24500.pool_size: 1
thriftclients.api-highlights-rpc.fsae10_prod_foursquare_com:24500.pool_waiters: 0
thriftclients.api-highlights-rpc.fsae10_prod_foursquare_com:24501.available: 1
215 10.1.7.12
212 10.1.15.2
208 10.1.6.30
202 10.1.10.14
198 10.1.7.28
198 10.1.14.2
197 10.1.5.15
197 10.1.10.20
195 10.1.5.25
189 10.1.5.16