Skip to content

Instantly share code, notes, and snippets.

@dan24678
Created November 24, 2015 19:16
Show Gist options
  • Save dan24678/5d738e4017d8a38c182b to your computer and use it in GitHub Desktop.
Save dan24678/5d738e4017d8a38c182b to your computer and use it in GitHub Desktop.
14:14:36.104 [biz-query-actor-system-akka.actor.default-dispatcher-2] DEBUG s.can.server.HttpServerConnection - Dispatching POST request to http://localhost:9080/v1/lead-events/query to handler Actor[akka://biz-query-actor-system/system/IO-TCP/selectors/$a/1#-407128859]
14:14:36.107 [Logging-akka.actor.default-dispatcher-4] INFO c.l.biz.query.web.route.QueryRoute - route=/v1/lead-events/query, account_id=4DB99601-90C0-4A88-973C-13220A5313A2, request=ParsedLeadQueryRequest_v1(a4bd9ac4-cb91-5c7b-1771-fd09625a85ac,None,4db99601-90c0-4a88-973c-13220a5313a2,None,None,None,None,Set(lead_hour, lead_five_minutes, lead_twelve_hours, fields_changed, lead_week, lead_day))
14:14:36.108 [biz-query-actor-system-akka.actor.default-dispatcher-3] INFO c.l.b.q.c.CoreActors$$anonfun$2$$anon$1 - [d0c892cc788c87e4] LeadQueryRequest(a4bd9ac4-cb91-5c7b-1771-fd09625a85ac,None,4db99601-90c0-4a88-973c-13220a5313a2,None,None,None,None,com.leadid.biz.query.domain.HttpEntity$$anon$1@69c0a74f,Set(lead_hour, lead_five_minutes, lead_twelve_hours, fields_changed, lead_week, lead_day))
14:14:36.220 [biz-query-actor-system-akka.actor.default-dispatcher-2] ERROR c.l.b.q.c.CoreActors$$anonfun$2$$anon$1 - [d0c892cc788c87e4] Illegal storage value 'null' for the field 'query_type': key not found: null
scala.collection.MapLike$class.default(MapLike.scala:228)
scala.collection.AbstractMap.default(Map.scala:59)
scala.collection.MapLike$class.apply(MapLike.scala:141)
scala.collection.AbstractMap.apply(Map.scala:59)
com.leadid.leaf.modeling.MappedScope.apply(MappedScope.scala:46)
com.leadid.biz.query.db.dynamo.DynamoConversions$$anonfun$60$$anonfun$61.apply(DynamoConversions.scala:207)
com.leadid.biz.query.db.dynamo.DynamoConversions$$anonfun$60$$anonfun$61.apply(DynamoConversions.scala:207)
scala.util.Try$.apply(Try.scala:192)
com.leadid.biz.query.db.dynamo.DynamoConversions$$anonfun$60.apply(DynamoConversions.scala:207)
com.leadid.biz.query.db.dynamo.DynamoConversions$$anonfun$60.apply(DynamoConversions.scala:207)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$extract$1.apply(DynamoFieldSerializer.scala:108)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$extract$1.apply(DynamoFieldSerializer.scala:102)
scala.Option.map(Option.scala:146)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer.extract(DynamoFieldSerializer.scala:101)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$collectCalcs$1$$anonfun$apply$2.apply(DynamoFieldSerializer.scala:65)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$collectCalcs$1$$anonfun$apply$2.apply(DynamoFieldSerializer.scala:65)
scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:155)
scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:155)
scala.collection.immutable.Set$Set1.foreach(Set.scala:79)
scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:155)
scala.collection.AbstractTraversable.foldLeft(Traversable.scala:104)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$collectCalcs$1.apply(DynamoFieldSerializer.scala:64)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$collectCalcs$1.apply(DynamoFieldSerializer.scala:62)
scala.collection.immutable.List.map(List.scala:273)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer.collectCalcs(DynamoFieldSerializer.scala:62)
com.leadid.biz.query.db.dynamo.serializers.DynamoLeadQueryEventSerializer$$anonfun$fromAttributeMap$1.apply(DynamoLeadQueryEventSerializer.scala:23)
com.leadid.biz.query.db.dynamo.serializers.DynamoLeadQueryEventSerializer$$anonfun$fromAttributeMap$1.apply(DynamoLeadQueryEventSerializer.scala:23)
com.leadid.util.logging.package$.track(package.scala:24)
com.leadid.biz.query.db.dynamo.serializers.DynamoLeadQueryEventSerializer.fromAttributeMap(DynamoLeadQueryEventSerializer.scala:20)
com.leadid.biz.query.db.dynamo.serializers.DynamoLeadQueryEventSerializer.fromAttributeMap(DynamoLeadQueryEventSerializer.scala:11)
com.leadid.biz.query.db.dynamo.DynamoMapper$QueryWithAttrsMagnet$$anon$6$$anonfun$com$leadid$biz$query$db$dynamo$DynamoMapper$QueryWithAttrsMagnet$$anon$$local$3$2$$anonfun$7.apply(DynamoMapper.scala:334)
com.leadid.biz.query.db.dynamo.DynamoMapper$QueryWithAttrsMagnet$$anon$6$$anonfun$com$leadid$biz$query$db$dynamo$DynamoMapper$QueryWithAttrsMagnet$$anon$$local$3$2$$anonfun$7.apply(DynamoMapper.scala:334)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
scala.collection.Iterator$class.foreach(Iterator.scala:742)
scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
com.leadid.biz.query.db.dynamo.DynamoMapper$QueryWithAttrsMagnet$$anon$6$$anonfun$com$leadid$biz$query$db$dynamo$DynamoMapper$QueryWithAttrsMagnet$$anon$$local$3$2.apply(DynamoMapper.scala:333)
com.leadid.biz.query.db.dynamo.DynamoMapper$QueryWithAttrsMagnet$$anon$6$$anonfun$com$leadid$biz$query$db$dynamo$DynamoMapper$QueryWithAttrsMagnet$$anon$$local$3$2.apply(DynamoMapper.scala:332)
scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)
scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)
akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)
akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)
scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
14:14:36.221 [biz-query-actor-system-akka.actor.default-dispatcher-2] ERROR c.l.b.q.c.CoreActors$$anonfun$2$$anon$1 - [d0c892cc788c87e4] Illegal storage value 'null' for the field 'query_type': key not found: null
scala.collection.MapLike$class.default(MapLike.scala:228)
scala.collection.AbstractMap.default(Map.scala:59)
scala.collection.MapLike$class.apply(MapLike.scala:141)
scala.collection.AbstractMap.apply(Map.scala:59)
com.leadid.leaf.modeling.MappedScope.apply(MappedScope.scala:46)
com.leadid.biz.query.db.dynamo.DynamoConversions$$anonfun$60$$anonfun$61.apply(DynamoConversions.scala:207)
com.leadid.biz.query.db.dynamo.DynamoConversions$$anonfun$60$$anonfun$61.apply(DynamoConversions.scala:207)
scala.util.Try$.apply(Try.scala:192)
com.leadid.biz.query.db.dynamo.DynamoConversions$$anonfun$60.apply(DynamoConversions.scala:207)
com.leadid.biz.query.db.dynamo.DynamoConversions$$anonfun$60.apply(DynamoConversions.scala:207)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$extract$1.apply(DynamoFieldSerializer.scala:108)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$extract$1.apply(DynamoFieldSerializer.scala:102)
scala.Option.map(Option.scala:146)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer.extract(DynamoFieldSerializer.scala:101)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$collectCalcs$1$$anonfun$apply$2.apply(DynamoFieldSerializer.scala:65)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$collectCalcs$1$$anonfun$apply$2.apply(DynamoFieldSerializer.scala:65)
scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:155)
scala.collection.TraversableOnce$$anonfun$foldLeft$1.apply(TraversableOnce.scala:155)
scala.collection.immutable.Set$Set1.foreach(Set.scala:79)
scala.collection.TraversableOnce$class.foldLeft(TraversableOnce.scala:155)
scala.collection.AbstractTraversable.foldLeft(Traversable.scala:104)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$collectCalcs$1.apply(DynamoFieldSerializer.scala:64)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer$$anonfun$collectCalcs$1.apply(DynamoFieldSerializer.scala:62)
scala.collection.immutable.List.map(List.scala:273)
com.leadid.biz.query.db.dynamo.serializers.DynamoFieldSerializer.collectCalcs(DynamoFieldSerializer.scala:62)
com.leadid.biz.query.db.dynamo.serializers.DynamoLeadQueryEventSerializer$$anonfun$fromAttributeMap$1.apply(DynamoLeadQueryEventSerializer.scala:23)
com.leadid.biz.query.db.dynamo.serializers.DynamoLeadQueryEventSerializer$$anonfun$fromAttributeMap$1.apply(DynamoLeadQueryEventSerializer.scala:23)
com.leadid.util.logging.package$.track(package.scala:24)
com.leadid.biz.query.db.dynamo.serializers.DynamoLeadQueryEventSerializer.fromAttributeMap(DynamoLeadQueryEventSerializer.scala:20)
com.leadid.biz.query.db.dynamo.serializers.DynamoLeadQueryEventSerializer.fromAttributeMap(DynamoLeadQueryEventSerializer.scala:11)
com.leadid.biz.query.db.dynamo.DynamoMapper$QueryWithAttrsMagnet$$anon$6$$anonfun$com$leadid$biz$query$db$dynamo$DynamoMapper$QueryWithAttrsMagnet$$anon$$local$3$2$$anonfun$7.apply(DynamoMapper.scala:334)
com.leadid.biz.query.db.dynamo.DynamoMapper$QueryWithAttrsMagnet$$anon$6$$anonfun$com$leadid$biz$query$db$dynamo$DynamoMapper$QueryWithAttrsMagnet$$anon$$local$3$2$$anonfun$7.apply(DynamoMapper.scala:334)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:245)
scala.collection.Iterator$class.foreach(Iterator.scala:742)
scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
scala.collection.AbstractIterable.foreach(Iterable.scala:54)
scala.collection.TraversableLike$class.map(TraversableLike.scala:245)
scala.collection.AbstractTraversable.map(Traversable.scala:104)
com.leadid.biz.query.db.dynamo.DynamoMapper$QueryWithAttrsMagnet$$anon$6$$anonfun$com$leadid$biz$query$db$dynamo$DynamoMapper$QueryWithAttrsMagnet$$anon$$local$3$2.apply(DynamoMapper.scala:333)
com.leadid.biz.query.db.dynamo.DynamoMapper$QueryWithAttrsMagnet$$anon$6$$anonfun$com$leadid$biz$query$db$dynamo$DynamoMapper$QueryWithAttrsMagnet$$anon$$local$3$2.apply(DynamoMapper.scala:332)
scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:251)
scala.concurrent.Future$$anonfun$flatMap$1.apply(Future.scala:249)
scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32)
akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:55)
akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:91)
akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
akka.dispatch.BatchingExecutor$BlockableBatch$$anonfun$run$1.apply(BatchingExecutor.scala:91)
scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72)
akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:90)
akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:40)
akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:397)
scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
14:14:36.222 [biz-query-actor-system-akka.actor.default-dispatcher-2] INFO com.leadid.util.logging.Tracker -
------------------- Tracking Info For [d0c892cc788c87e4] -------------------
Execution Time For [execute] = 0.861038 / 3 = 0.287013 ms
Execution Time For [fromAttributeMap] = 19.574832 / 8 = 2.446854 ms
Execution Time For [batchGet] = 62.085653 / 3 = 20.695218 ms
Execution Time For [get] = 29.219045 / 1 = 29.219045 ms
Execution Time For [query] = 83.167989 / 2 = 41.583995 ms
Execution Time For [getLeadInitEvent] = 49.934207 / 1 = 49.934207 ms
Execution Time For [dbrequest] = 84.642222 / 1 = 84.642222 ms
Execution Time For [calculate] = 109.600715 / 1 = 109.600715 ms
Execution Time For [process] = 111.246198 / 1 = 111.246198 ms
Execution Time For [receive] = 112.493947 / 1 = 112.493947 ms
----------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment