Skip to content

Instantly share code, notes, and snippets.

@phillro
Created July 17, 2014 17:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phillro/dd14e4e60a0c8a3543c0 to your computer and use it in GitHub Desktop.
Save phillro/dd14e4e60a0c8a3543c0 to your computer and use it in GitHub Desktop.
Jul 17, 2014 5:31:49 PM com.mchange.v2.log.MLog <clinit>
INFO: MLog clients using java 1.4+ standard logging.
Jul 17, 2014 5:31:50 PM com.mchange.v2.c3p0.C3P0Registry banner
INFO: Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? true; trace: 10]
Jul 17, 2014 5:31:51 PM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 2, acquireRetryAttempts -> 30, acquireRetryDelay -> 100, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> z8kflt93j90na5hl4zsb|76d0be7e, debugUnreturnedConnectionStackTraces -> true, description -> null, driverClass -> org.postgresql.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> z8kflt93j90na5hl4zsb|76d0be7e, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:postgresql://orchard-index-prod.aws.orchardplatform.com:5432/orchard, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
Jul 17, 2014 5:31:51 PM com.orchard.prosperhistory.server.FetchDaemon download
FINE: downloading to /tmp/ListingsDiff6518624240930033731.csv
Jul 17, 2014 5:31:51 PM com.orchard.prosperhistory.server.FetchDaemon imp$1
FINE: requesting resource (with 20 retries remaining): https://api.prosper.com/api/downloads/ListingsDiff
Jul 17, 2014 5:31:53 PM com.twitter.finagle.Init$ apply
INFO: Finagle version 6.6.2 (rev=2c5f728dcbd9d460a0e983aec6ae83e9bc75aa12) built at 20130916-180323
read 47342K characters so far...Jul 17, 2014 5:32:19 PM com.orchard.prosperhistory.server.FetchDaemon importListingsFile
FINE: importing listings from file: /tmp/ListingsDiff6518624240930033731.csv
conflated 13 listingsJul 17, 2014 5:32:26 PM com.twitter.jvm.Jvm$$anonfun$sample$1$2 apply
WARNING: Missed 1 collections for 0.Copy due to sampling
conflated 3041 listingsException in thread "Prosper History Service fetch timer" org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "listing_pkey"
Detail: Key (id)=(2029657) already exists.
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:334)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
at scala.slick.driver.BasicInvokerComponent$InsertInvoker$$anonfun$insert$1.apply(BasicInvokerComponent.scala:87)
at scala.slick.driver.BasicInvokerComponent$InsertInvoker$$anonfun$insert$1.apply(BasicInvokerComponent.scala:84)
at scala.slick.session.Session$class.withPreparedInsertStatement(Session.scala:74)
at scala.slick.session.BaseSession.withPreparedInsertStatement(Session.scala:201)
at scala.slick.driver.BasicInvokerComponent$AbstractKeysInsertInvoker.prepared(BasicInvokerComponent.scala:181)
at scala.slick.driver.BasicInvokerComponent$InsertInvoker.insert(BasicInvokerComponent.scala:84)
at com.orchard.models.tables.LoanComponent$Listings$.insert(LoanComponent.scala:95)
at com.orchard.models.database.ConflateRecords$$anonfun$5$$anonfun$24.apply(ConflateRecords.scala:117)
at com.orchard.models.database.ConflateRecords$$anonfun$5$$anonfun$24.apply(ConflateRecords.scala:113)
at scala.Option.map(Option.scala:145)
at com.orchard.models.database.ConflateRecords$$anonfun$5.applyOrElse(ConflateRecords.scala:113)
at com.orchard.models.database.ConflateRecords$$anonfun$5.applyOrElse(ConflateRecords.scala:106)
at scala.runtime.AbstractPartialFunction$mcJL$sp.apply$mcJL$sp(AbstractPartialFunction.scala:33)
at scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:33)
at scala.runtime.AbstractPartialFunction$mcJL$sp.apply(AbstractPartialFunction.scala:25)
at scala.util.Failure$$anonfun$recover$1.apply(Try.scala:185)
at scala.util.Try$.apply(Try.scala:161)
at scala.util.Failure.recover(Try.scala:185)
at com.orchard.models.database.ConflateRecords.listing(ConflateRecords.scala:106)
at com.orchard.models.database.HistoryUpdate.writeListingSync(HistoryUpdate.scala:33)
at com.orchard.prosperhistory.server.database.Bridge$$anonfun$conflateListing$1.apply(Bridge.scala:34)
at com.orchard.prosperhistory.server.database.Bridge$$anonfun$conflateListing$1.apply(Bridge.scala:33)
at scala.slick.session.Database.withSession(Database.scala:38)
at com.orchard.prosperhistory.server.database.Bridge.conflateListing(Bridge.scala:33)
at com.orchard.prosperhistory.server.FetchDaemon.importListingsFile(FetchDaemon.scala:108)
at com.orchard.prosperhistory.server.FetchDaemon.com$orchard$prosperhistory$server$FetchDaemon$$importListingsDiff(FetchDaemon.scala:89)
at com.orchard.prosperhistory.server.FetchDaemon$$anon$1.run(FetchDaemon.scala:214)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment