You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Gaurav Nagar (JIRA)" <ji...@apache.org> on 2016/07/15 11:39:20 UTC

[jira] [Updated] (AMBARI-17733) Tez views disappear and can not be created after upgrade to 2.4.0.0

     [ https://issues.apache.org/jira/browse/AMBARI-17733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gaurav Nagar updated AMBARI-17733:
----------------------------------
    Description: 
After upgrading to 2.4.0.0 tez view disappeared. Error in ambari server logs:

30 Jun 2016 03:04:31,319 ERROR [main] ViewRegistry:1798 - Can't auto create instance of view TEZ for cluster cl1.  Caught exception :Attempt to install an instance for an unknown view TEZ{0.7.0.2.3.2.0-377}.
java.lang.IllegalArgumentException: Attempt to install an instance for an unknown view TEZ{0.7.0.2.3.2.0-377}.
        at org.apache.ambari.server.view.ViewRegistry.installViewInstance(ViewRegistry.java:598)
        at org.apache.ambari.server.view.ViewRegistry.addAutoInstanceDefinition(ViewRegistry.java:1794)
        at org.apache.ambari.server.view.ViewRegistry.readViewArchive(ViewRegistry.java:1680)
        at org.apache.ambari.server.view.ViewRegistry.getLatestUnregisteredInstance(ViewRegistry.java:2077)
        at org.apache.ambari.server.view.ViewRegistry.migrateDataFromPreviousVersion(ViewRegistry.java:1704)
        at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:1619)
        at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:518)
        at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:510)
        at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:985)
30 Jun 2016 03:04:31,331  INFO [main] ViewRegistry:1684 - View deployed: TEZ{0.7.0.2.3.2.0-377}.
30 Jun 2016 03:04:31,427  INFO [main] ViewRegistry:1709 - Found previous version of the view instance TEZ{0.7.0.2.5.0.0-715}/TEZ_CLUSTER_INSTANCE: TEZ{0.7.0.2.3.2.0-377}/TEZ_CLUSTER_INSTANCE
30 Jun 2016 03:04:31,436 ERROR [main] ViewRegistry:1723 - Caught exception migrating data in view TEZ{0.7.0.2.5.0.0-715}

> Tez views disappear and can not be created after upgrade to 2.4.0.0
> -------------------------------------------------------------------
>
>                 Key: AMBARI-17733
>                 URL: https://issues.apache.org/jira/browse/AMBARI-17733
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.4.0
>            Reporter: Gaurav Nagar
>            Assignee: Gaurav Nagar
>             Fix For: 2.4.0
>
>
> After upgrading to 2.4.0.0 tez view disappeared. Error in ambari server logs:
> 30 Jun 2016 03:04:31,319 ERROR [main] ViewRegistry:1798 - Can't auto create instance of view TEZ for cluster cl1.  Caught exception :Attempt to install an instance for an unknown view TEZ{0.7.0.2.3.2.0-377}.
> java.lang.IllegalArgumentException: Attempt to install an instance for an unknown view TEZ{0.7.0.2.3.2.0-377}.
>         at org.apache.ambari.server.view.ViewRegistry.installViewInstance(ViewRegistry.java:598)
>         at org.apache.ambari.server.view.ViewRegistry.addAutoInstanceDefinition(ViewRegistry.java:1794)
>         at org.apache.ambari.server.view.ViewRegistry.readViewArchive(ViewRegistry.java:1680)
>         at org.apache.ambari.server.view.ViewRegistry.getLatestUnregisteredInstance(ViewRegistry.java:2077)
>         at org.apache.ambari.server.view.ViewRegistry.migrateDataFromPreviousVersion(ViewRegistry.java:1704)
>         at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:1619)
>         at org.apache.ambari.server.view.ViewRegistry.readViewArchives(ViewRegistry.java:518)
>         at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:510)
>         at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:985)
> 30 Jun 2016 03:04:31,331  INFO [main] ViewRegistry:1684 - View deployed: TEZ{0.7.0.2.3.2.0-377}.
> 30 Jun 2016 03:04:31,427  INFO [main] ViewRegistry:1709 - Found previous version of the view instance TEZ{0.7.0.2.5.0.0-715}/TEZ_CLUSTER_INSTANCE: TEZ{0.7.0.2.3.2.0-377}/TEZ_CLUSTER_INSTANCE
> 30 Jun 2016 03:04:31,436 ERROR [main] ViewRegistry:1723 - Caught exception migrating data in view TEZ{0.7.0.2.5.0.0-715}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)