manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1447) Crash Agents A and B - can't release lock we don't hold
Date Fri, 04 Aug 2017 09:02:00 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114144#comment-16114144
] 

Karl Wright commented on CONNECTORS-1447:
-----------------------------------------

Hi,

The core issue here is this:

{code}
Caused by: java.io.IOException: Unexpected packet type: 114
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1981)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
... 5 more
{code}

I believe this is coming from the postgresql JDBC driver.  I note you are using Postgresql
9.6; the driver we include is the following:

{code}
    <property name="postgresql.version" value="9.1-901.jdbc4"/>
{code}

I will look towards updating the driver we ship.  In the meantime, I suggest you download
a postgresql driver compatible with 9.6 and replace the one you are using with that one. 
Please let me know if that fixes your problem.  Thanks!

> Crash Agents A and B - can't release lock we don't hold
> -------------------------------------------------------
>
>                 Key: CONNECTORS-1447
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1447
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework crawler agent
>    Affects Versions: ManifoldCF 2.7
>         Environment: * Debian : Jessie
> * PostgreSQL : 9.6
>            Reporter: Maxence SAUNIER
>            Assignee: Karl Wright
>            Priority: Blocker
>
> Hello,
> {panel:title=manifoldcf.log}
> ERROR 2017-08-04 09:28:25,794 (Set priority thread) - Set priority thread aborting and
restarting due to database connection reset: Database exception: SQLException doing query
(08006): Une erreur d'entrée/sortie a eu lieu lors d'envoi vers le serveur.
> org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database exception: SQLException
doing query (08006): Une erreur d'entrée/sortie a eu lieu lors d'envoi vers le serveur.
> 	at org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.finishUp(Database.java:715)
> 	at org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:741)
> 	at org.apache.manifoldcf.core.database.DBInterfacePostgreSQL.rollbackCurrentTransaction(DBInterfacePostgreSQL.java:1292)
> 	at org.apache.manifoldcf.core.database.Database.endTransaction(Database.java:368)
> 	at org.apache.manifoldcf.core.database.DBInterfacePostgreSQL.endTransaction(DBInterfacePostgreSQL.java:1236)
> 	at org.apache.manifoldcf.crawler.jobs.JobManager.writeDocumentPriorities(JobManager.java:2418)
> 	at org.apache.manifoldcf.crawler.system.ManifoldCF.writeDocumentPriorities(ManifoldCF.java:1259)
> 	at org.apache.manifoldcf.crawler.system.SetPriorityThread.run(SetPriorityThread.java:141)
> Caused by: org.postgresql.util.PSQLException: Une erreur d'entrée/sortie a eu lieu lors
d'envoi vers le serveur.
> 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:283)
> 	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
> 	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)
> 	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:366)
> 	at org.apache.manifoldcf.core.database.Database.execute(Database.java:876)
> 	at org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(Database.java:696)
> Caused by: java.io.IOException: Unexpected packet type: 114
> 	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1981)
> 	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
> 	... 5 more
> FATAL 2017-08-04 09:28:25,855 (Agents idle cleanup thread) - Error tossed: Can't release
lock we don't hold
> java.lang.IllegalStateException: Can't release lock we don't hold
> 	at org.apache.manifoldcf.core.lockmanager.ZooKeeperConnection.releaseLock(ZooKeeperConnection.java:815)
> 	at org.apache.manifoldcf.core.lockmanager.ZooKeeperLockObject.clearLock(ZooKeeperLockObject.java:218)
> 	at org.apache.manifoldcf.core.lockmanager.ZooKeeperLockObject.clearGlobalWriteLockNoWait(ZooKeeperLockObject.java:100)
> 	at org.apache.manifoldcf.core.lockmanager.LockObject.clearGlobalWriteLock(LockObject.java:160)
> 	at org.apache.manifoldcf.core.lockmanager.LockObject.leaveWriteLock(LockObject.java:141)
> 	at org.apache.manifoldcf.core.lockmanager.LockGate.leaveWriteLock(LockGate.java:205)
> 	at org.apache.manifoldcf.core.lockmanager.BaseLockManager.leaveWrite(BaseLockManager.java:1224)
> 	at org.apache.manifoldcf.core.lockmanager.BaseLockManager.leaveWriteLock(BaseLockManager.java:771)
> 	at org.apache.manifoldcf.core.connectorpool.ConnectorPool$Pool.pollAll(ConnectorPool.java:670)
> 	at org.apache.manifoldcf.core.connectorpool.ConnectorPool.pollAllConnectors(ConnectorPool.java:338)
> 	at org.apache.manifoldcf.agents.transformationconnectorpool.TransformationConnectorPool.pollAllConnectors(TransformationConnectorPool.java:121)
> 	at org.apache.manifoldcf.agents.system.IdleCleanupThread.run(IdleCleanupThread.java:91)
> {panel}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message