Hi, I am running Datahub on K8s. I am getting this...
# troubleshoot
k
Hi, I am running Datahub on K8s. I am getting this error:
Copy code
12:54:31.973 [pool-17-thread-1] ERROR c.d.m.a.AuthorizationManager - Failed to retrieve policy urns! Skipping updating policy cache until next refresh. start: 0, count: 30
com.linkedin.r2.RemoteInvocationException: com.linkedin.r2.RemoteInvocationException: Failed to get response from server for URI <http://localhost:8080/entities>
d
Do you see any other error?
cc @early-lamp-41924
e
Couldy ou post the full logs?
k
Any idea?
Here are some more errors
Copy code
09:42:30.129 [qtp544724190-262920] ERROR c.l.m.filter.RestliLoggingFilter - INTERNAL SERVER ERROR
09:42:31.139 [qtp544724190-261938] ERROR c.l.m.filter.RestliLoggingFilter - javax.persistence.PersistenceException: java.sql.SQLException: Unsuccessfully waited [1000] millis for a connection to be returned. No connections are free. You need to Increase the max connections of [50] or look for a connection pool leak using datasource.xxx.capturestacktrace=true
09:42:31.973 [pool-17-thread-1] ERROR c.d.m.a.AuthorizationManager - Failed to retrieve policy urns! Skipping updating policy cache until next refresh. start: 0, count: 30
09:42:32.145 [qtp544724190-262802] ERROR c.l.m.filter.RestliLoggingFilter - INTERNAL SERVER ERROR
09:42:33.186 [qtp544724190-260864] ERROR c.l.m.filter.RestliLoggingFilter - javax.persistence.PersistenceException: java.sql.SQLException: Unsuccessfully waited [1000] millis for a connection to be returned. No connections are free. You need to Increase the max connections of [50] or look for a connection pool leak using datasource.xxx.capturestacktrace=true
09:42:34.192 [qtp544724190-262810] ERROR c.l.m.filter.RestliLoggingFilter - INTERNAL SERVER ERROR
09:42:35.229 [qtp544724190-263652] ERROR c.l.m.filter.RestliLoggingFilter - javax.persistence.PersistenceException: java.sql.SQLException: Unsuccessfully waited [1000] millis for a connection to be returned. No connections are free. You need to Increase the max connections of [50] or look for a connection pool leak using datasource.xxx.capturestacktrace=true
09:42:36.236 [qtp544724190-262888] ERROR c.l.m.filter.RestliLoggingFilter - INTERNAL SERVER ERROR
09:44:31.976 [pool-17-thread-1] ERROR c.d.m.a.AuthorizationManager - Failed to retrieve policy urns! Skipping updating policy cache until next refresh. start: 0, count: 30
09:46:31.973 [pool-17-thread-1] ERROR c.d.m.a.AuthorizationManager - Failed to retrieve policy urns! Skipping updating policy cache until next refresh. start: 0, count: 30
09:48:31.974 [pool-17-thread-1] ERROR c.d.m.a.AuthorizationManager - Failed to retrieve policy urns! Skipping updating policy cache until next refresh. start: 0, count: 30
09:50:31.974 [pool-17-thread-1] ERROR c.d.m.a.AuthorizationManager - Failed to retrieve policy urns! Skipping updating policy cache until next refresh. start: 0, count: 30
09:52:31.973 [pool-17-thread-1] ERROR c.d.m.a.AuthorizationManager - Failed to retrieve policy urns! Skipping updating policy cache until next refresh. start: 0, count: 30
but the happened at 9 AM, but the main error (
Copy code
unresponsive <http://localhost:8080/entities>
) happened at 14 and I do not see any SQL error at that time
s
I have the same issue and mine datahub version is latest.