Uploaded image for project: 'Ambari (Retired)'
  1. Ambari (Retired)
  2. AMBARI-25618

Ambari upgrade stuck while upgrading the schema

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.7.5
    • 2.7.6
    • ambari-server
    • None

    Description

      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:

      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) 
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dvitiiuk Dmytro Vitiuk
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m