Quantcast
Channel: Ask the FireCloud Team — GATK-Forum
Viewing all articles
Browse latest Browse all 1147

Updating entity attributes - Lock wait timeout exceeded

$
0
0

I'm trying to update entity attributes via the workspaces/{namespace}/{workspace}/entities/batchUpdate URI but I keep getting "Lock wait timeout exceeded" errors. The first time I tried, the response was:

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>

but since then, the API keeps responding with a json rawls stack trace:

{"source":"rawls","causes":[],"exceptionClass":"com.mysql.jdbc.exceptions.jdbc4.MySQLTransactionRollbackException","stackTrace":[{"className":"sun.reflect.NativeConstructorAccessorImpl","methodName":"newInstance0","fileName":"NativeConstructorAccessorImpl.java","lineNumber":-2},{"className":"sun.reflect.NativeConstructorAccessorImpl","methodName":"newInstance","fileName":"NativeConstructorAccessorImpl.java","lineNumber":62},{"className":"sun.reflect.DelegatingConstructorAccessorImpl","methodName":"newInstance","fileName":"DelegatingConstructorAccessorImpl.java","lineNumber":45},{"className":"java.lang.reflect.Constructor","methodName":"newInstance","fileName":"Constructor.java","lineNumber":423},{"className":"com.mysql.jdbc.Util","methodName":"handleNewInstance","fileName":"Util.java","lineNumber":425},{"className":"com.mysql.jdbc.Util","methodName":"getInstance","fileName":"Util.java","lineNumber":408},{"className":"com.mysql.jdbc.SQLError","methodName":"createSQLException","fileName":"SQLError.java","lineNumber":951},{"className":"com.mysql.jdbc.MysqlIO","methodName":"checkErrorPacket","fileName":"MysqlIO.java","lineNumber":3973},{"className":"com.mysql.jdbc.MysqlIO","methodName":"checkErrorPacket","fileName":"MysqlIO.java","lineNumber":3909},{"className":"com.mysql.jdbc.MysqlIO","methodName":"sendCommand","fileName":"MysqlIO.java","lineNumber":2527},{"className":"com.mysql.jdbc.MysqlIO","methodName":"sqlQueryDirect","fileName":"MysqlIO.java","lineNumber":2680},{"className":"com.mysql.jdbc.ConnectionImpl","methodName":"execSQL","fileName":"ConnectionImpl.java","lineNumber":2490},{"className":"com.mysql.jdbc.PreparedStatement","methodName":"executeInternal","fileName":"PreparedStatement.java","lineNumber":1858},{"className":"com.mysql.jdbc.PreparedStatement","methodName":"execute","fileName":"PreparedStatement.java","lineNumber":1197},{"className":"com.zaxxer.hikari.pool.ProxyPreparedStatement","methodName":"execute","fileName":"ProxyPreparedStatement.java","lineNumber":44},{"className":"com.zaxxer.hikari.pool.HikariProxyPreparedStatement","methodName":"execute","fileName":"HikariProxyPreparedStatement.java","lineNumber":-1},{"className":"slick.jdbc.StatementInvoker","methodName":"results","fileName":"StatementInvoker.scala","lineNumber":38},{"className":"slick.jdbc.StatementInvoker","methodName":"iteratorTo","fileName":"StatementInvoker.scala","lineNumber":21},{"className":"slick.jdbc.Invoker","methodName":"foreach","fileName":"Invoker.scala","lineNumber":47},{"className":"slick.jdbc.Invoker","methodName":"foreach$","fileName":"Invoker.scala","lineNumber":46},{"className":"slick.jdbc.StatementInvoker","methodName":"foreach","fileName":"StatementInvoker.scala","lineNumber":15},{"className":"slick.jdbc.StreamingInvokerAction","methodName":"run","fileName":"StreamingInvokerAction.scala","lineNumber":22},{"className":"slick.jdbc.StreamingInvokerAction","methodName":"run$","fileName":"StreamingInvokerAction.scala","lineNumber":20},{"className":"slick.jdbc.SQLActionBuilder$$anon$1","methodName":"run","fileName":"StaticQuery.scala","lineNumber":95},{"className":"slick.jdbc.SQLActionBuilder$$anon$1","methodName":"run","fileName":"StaticQuery.scala","lineNumber":95},{"className":"slick.basic.BasicBackend$DatabaseDef$$anon$2","methodName":"liftedTree1$1","fileName":"BasicBackend.scala","lineNumber":242},{"className":"slick.basic.BasicBackend$DatabaseDef$$anon$2","methodName":"run","fileName":"BasicBackend.scala","lineNumber":242},{"className":"slick.util.NewRelicRunnable","methodName":"run","fileName":"AsyncExecutor.scala","lineNumber":94},{"className":"slick.util.AsyncExecutor$$anon$2$$anon$3$$anon$4","methodName":"run","fileName":"AsyncExecutor.scala","lineNumber":122},{"className":"java.util.concurrent.ThreadPoolExecutor","methodName":"runWorker","fileName":"ThreadPoolExecutor.java","lineNumber":1149},{"className":"java.util.concurrent.ThreadPoolExecutor$Worker","methodName":"run","fileName":"ThreadPoolExecutor.java","lineNumber":624},{"className":"java.lang.Thread","methodName":"run","fileName":"Thread.java","lineNumber":748}],"message":"Lock wait timeout exceeded; try restarting transaction"}

This is not the first time I've encountered this issue


Viewing all articles
Browse latest Browse all 1147

Trending Articles