ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Review Request 35300: Ambari upgrade crashed due to unable to process WidgetLayoutEntries
Date Wed, 10 Jun 2015 15:54:59 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35300/
-----------------------------------------------------------

Review request for Ambari and Dmitro Lisnichenko.


Bugs: AMBARI-11840
    https://issues.apache.org/jira/browse/AMBARI-11840


Repository: ambari


Description
-------

Ambari upgrade crashed with error:
{code}
Caused by: java.lang.IllegalArgumentException: Can not refresh not managed object: org.apache.ambari.server.orm.entities.WidgetLayoutEntity@1.
 at org.eclipse.persistence.internal.jpa.EntityManagerImpl.refresh(EntityManagerImpl.java:1024)
 at org.eclipse.persistence.internal.jpa.EntityManagerImpl.refresh(EntityManagerImpl.java:929)
 at org.apache.ambari.server.orm.dao.WidgetLayoutDAO.refresh(WidgetLayoutDAO.java:117)
 at org.apache.ambari.server.orm.AmbariJpaLocalTxnInterceptor.invoke(AmbariJpaLocalTxnInterceptor.java:68)
 at org.apache.ambari.server.controller.AmbariManagementControllerImpl.createWidgetsAndLayouts(AmbariManagementControllerImpl.java:4191)
 at org.apache.ambari.server.controller.AmbariManagementControllerImpl.initializeWidgetsAndLayouts(AmbariManagementControllerImpl.java:4067)
{code}

Caused by BUG-38949


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
9e8a5e5 
  ambari-server/src/main/java/org/apache/ambari/server/orm/dao/WidgetLayoutDAO.java 2019e3b


Diff: https://reviews.apache.org/r/35300/diff/


Testing
-------


Thanks,

Vitalyi Brodetskyi


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message