You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Brahma Reddy Battula (Jira)" <ji...@apache.org> on 2023/02/25 06:55:00 UTC
[jira] [Updated] (AMBARI-25534) DB purge fails removing topology requests
[ https://issues.apache.org/jira/browse/AMBARI-25534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brahma Reddy Battula updated AMBARI-25534:
------------------------------------------
Fix Version/s: (was: 2.7.7)
> DB purge fails removing topology requests
> -----------------------------------------
>
> Key: AMBARI-25534
> URL: https://issues.apache.org/jira/browse/AMBARI-25534
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.7.5
> Reporter: Dmytro Vitiuk
> Priority: Major
> Time Spent: 50m
> Remaining Estimate: 0h
>
> If DB purge removes topology requests it will be failed with the next exception:
> {code}
> 2020-07-23 16:53:55,265 ERROR [main] CleanupServiceImpl:85 - Running the purge process for DAO: [org.apache.ambari.server.orm.dao.RequestDAO$$EnhancerByGuice$$f11e85aa@1e734eee] failed with: {}
> java.lang.IllegalArgumentException: Object: null is not a known Entity type.
> at org.eclipse.persistence.internal.jpa.EntityManagerImpl.remove(EntityManagerImpl.java:571)
> at org.apache.ambari.server.orm.dao.TopologyRequestDAO.remove(TopologyRequestDAO.java:78)
> at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:118)
> at org.apache.ambari.server.orm.dao.TopologyRequestDAO.removeByPK(TopologyRequestDAO.java:83)
> at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:118)
> at org.apache.ambari.server.orm.dao.RequestDAO.cleanup(RequestDAO.java:420)
> at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:128)
> at org.apache.ambari.server.cleanup.CleanupServiceImpl.cleanup(CleanupServiceImpl.java:82)
> at org.apache.ambari.server.cleanup.CleanupDriver.main(CleanupDriver.java:90)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org