Dmytro Vitiuk created AMBARI-25618: -------------------------------------- Summary: Ambari upgrade stuck while upgrading the schema Key: AMBARI-25618 URL: https://issues.apache.org/jira/browse/AMBARI-25618 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.7.5 Reporter: Dmytro Vitiuk Fix For: 2.7.6
Ambari upgrade while the migration from HDP 2.6.5 (Ambari 2.6.2.2) to ambari > 2.7.0 is stuck. From jstack out: {noformat} td3.out:"main" #1 prio=5 os_prio=0 tid=0x00007f5ebc00e000 nid=0x6f39 runnable [0x00007f5ec3271000] td3.out- java.lang.Thread.State: RUNNABLE td3.out- at java.util.IdentityHashMap.resize(IdentityHashMap.java:482) td3.out- at java.util.IdentityHashMap.put(IdentityHashMap.java:441) td3.out- at org.eclipse.persistence.internal.sessions.UnitOfWorkImpl.calculateChanges(UnitOfWorkImpl.java:684) td3.out- at org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfWork.writeChanges(RepeatableWriteUnitOfWork.java:441) td3.out- at org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(EntityManagerImpl.java:874) td3.out- at org.eclipse.persistence.internal.jpa.QueryImpl.performPreQueryFlush(QueryImpl.java:967) td3.out- at org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImpl.java:207) td3.out- at org.eclipse.persistence.internal.jpa.QueryImpl.getResultList(QueryImpl.java:473) td3.out- at org.apache.ambari.server.orm.dao.DaoUtils.selectList(DaoUtils.java:53) td3.out- at org.apache.ambari.server.orm.dao.HostRoleCommandDAO.findByPKs(HostRoleCommandDAO.java:312) td3.out- at org.apache.ambari.server.orm.dao.HostRoleCommandDAO$$EnhancerByGuice$$36384b0b.CGLIB$findByPKs$13(<generated>) td3.out- at org.apache.ambari.server.orm.dao.HostRoleCommandDAO$$EnhancerByGuice$$36384b0b$$FastClassByGuice$$14220170.invoke(<generated>) td3.out- at com.google.inject.internal.cglib.proxy.$MethodProxy.invokeSuper(MethodProxy.java:228) td3.out- at com.google.inject.internal.InterceptorStackCallback$InterceptedMethodInvocation.proceed(InterceptorStackCallback.java:76) {noformat} -- This message was sent by Atlassian Jira (v8.3.4#803005)