<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Ambari server fails to start after upgrading from 2.3 to 2.5, HDP is 2.6 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-server-fails-to-start-after-upgrading-from-2-3-to-2-5/m-p/198808#M62418</link>
    <description>&lt;P&gt;&lt;STRONG&gt;1) Error injecting constructor, org.apache.ambari.server.StackAccessException: Stack data, stackName=HDP, stackVersion=2.3, serviceName=ZEPPELIN
  at org.apache.ambari.server.state.ServiceImpl.&amp;lt;init&amp;gt;(ServiceImpl.java:150)
  while &lt;/STRONG&gt;locating org.apache.ambari.server.state.Service annotated with interface com.google.inject.assistedinject.Assisted
  at org.apache.ambari.server.state.cluster.ClusterImpl.&amp;lt;init&amp;gt;(ClusterImpl.java:341)
  while locating org.apache.ambari.server.state.Cluster annotated with interface com.google.inject.assistedinject.Assisted
  at org.apache.ambari.server.state.cluster.ClustersImpl.loadClustersAndHosts(ClustersImpl.java:186)
  at org.apache.ambari.server.state.cluster.ClustersImpl.class(ClustersImpl.java:102)
  while locating org.apache.ambari.server.state.cluster.ClustersImpl
  while locating org.apache.ambari.server.state.Clusters
    for parameter 0 at org.apache.ambari.server.agent.HeartBeatHandler.&amp;lt;init&amp;gt;(HeartBeatHandler.java:161)
  at org.apache.ambari.server.agent.HeartBeatHandler.class(HeartBeatHandler.java:122)
  while locating org.apache.ambari.server.agent.HeartBeatHandler
1 error
        at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
        at org.apache.ambari.server.controller.AmbariServer.performStaticInjection(AmbariServer.java:885)
        at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:301)
        at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1011)
Caused by: org.apache.ambari.server.StackAccessException: Stack data, stackName=HDP, stackVersion=2.3, serviceName=ZEPPELIN
        at org.apache.ambari.server.api.services.AmbariMetaInfo.getService(AmbariMetaInfo.java:536)
        at org.apache.ambari.server.state.ServiceImpl.&amp;lt;init&amp;gt;(ServiceImpl.java:183)
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
        at com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:260)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
        at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
        at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
        at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632)
        at com.sun.proxy.$Proxy15.createExisting(Unknown Source)
        at org.apache.ambari.server.state.cluster.ClusterImpl.loadServices(ClusterImpl.java:461)
        at org.apache.ambari.server.state.cluster.ClusterImpl.&amp;lt;init&amp;gt;(ClusterImpl.java:352)
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
:&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 15:45:56 GMT</pubDate>
    <dc:creator>kotesh_banoth</dc:creator>
    <dc:date>2017-06-06T15:45:56Z</dc:date>
    <item>
      <title>Ambari server fails to start after upgrading from 2.3 to 2.5, HDP is 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-server-fails-to-start-after-upgrading-from-2-3-to-2-5/m-p/198808#M62418</link>
      <description>&lt;P&gt;&lt;STRONG&gt;1) Error injecting constructor, org.apache.ambari.server.StackAccessException: Stack data, stackName=HDP, stackVersion=2.3, serviceName=ZEPPELIN
  at org.apache.ambari.server.state.ServiceImpl.&amp;lt;init&amp;gt;(ServiceImpl.java:150)
  while &lt;/STRONG&gt;locating org.apache.ambari.server.state.Service annotated with interface com.google.inject.assistedinject.Assisted
  at org.apache.ambari.server.state.cluster.ClusterImpl.&amp;lt;init&amp;gt;(ClusterImpl.java:341)
  while locating org.apache.ambari.server.state.Cluster annotated with interface com.google.inject.assistedinject.Assisted
  at org.apache.ambari.server.state.cluster.ClustersImpl.loadClustersAndHosts(ClustersImpl.java:186)
  at org.apache.ambari.server.state.cluster.ClustersImpl.class(ClustersImpl.java:102)
  while locating org.apache.ambari.server.state.cluster.ClustersImpl
  while locating org.apache.ambari.server.state.Clusters
    for parameter 0 at org.apache.ambari.server.agent.HeartBeatHandler.&amp;lt;init&amp;gt;(HeartBeatHandler.java:161)
  at org.apache.ambari.server.agent.HeartBeatHandler.class(HeartBeatHandler.java:122)
  while locating org.apache.ambari.server.agent.HeartBeatHandler
1 error
        at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
        at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
        at org.apache.ambari.server.controller.AmbariServer.performStaticInjection(AmbariServer.java:885)
        at org.apache.ambari.server.controller.AmbariServer.run(AmbariServer.java:301)
        at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:1011)
Caused by: org.apache.ambari.server.StackAccessException: Stack data, stackName=HDP, stackVersion=2.3, serviceName=ZEPPELIN
        at org.apache.ambari.server.api.services.AmbariMetaInfo.getService(AmbariMetaInfo.java:536)
        at org.apache.ambari.server.state.ServiceImpl.&amp;lt;init&amp;gt;(ServiceImpl.java:183)
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
        at com.google.inject.internal.ProxyFactory$ProxyConstructor.newInstance(ProxyFactory.java:260)
        at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
        at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
        at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
        at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
        at com.google.inject.assistedinject.FactoryProvider2.invoke(FactoryProvider2.java:632)
        at com.sun.proxy.$Proxy15.createExisting(Unknown Source)
        at org.apache.ambari.server.state.cluster.ClusterImpl.loadServices(ClusterImpl.java:461)
        at org.apache.ambari.server.state.cluster.ClusterImpl.&amp;lt;init&amp;gt;(ClusterImpl.java:352)
        at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
:&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 15:45:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-server-fails-to-start-after-upgrading-from-2-3-to-2-5/m-p/198808#M62418</guid>
      <dc:creator>kotesh_banoth</dc:creator>
      <dc:date>2017-06-06T15:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari server fails to start after upgrading from 2.3 to 2.5, HDP is 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-server-fails-to-start-after-upgrading-from-2-3-to-2-5/m-p/198809#M62419</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14066/koteshbanoth.html" nodeid="14066"&gt;@kotesh banoth&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Looks like you were earlier using&lt;STRONG&gt; OLD "Tech Preview"  Zeppelin. 
&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;
&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please try to delete it completely and then start server again. You can delete the Zeppelin from Ambari Database.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step0). &lt;/STRONG&gt;Stop Ambari Server. Take Zeppelin Notebook/interpreter backup.&lt;/P&gt;&lt;PRE&gt;# ambari-server stop&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Step1). &lt;/STRONG&gt;First Take a Latest DB Dump.  (before making any DB change we should take a DB dump).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step2).&lt;/STRONG&gt; Delete the Zepelin service complete from ambari DB using the following DB Queries:&lt;/P&gt;&lt;PRE&gt;delete from hostcomponentstate where service_name = 'ZEPPELIN'; 
delete from hostcomponentdesiredstate where service_name = 'ZEPPELIN'; 
delete from servicecomponentdesiredstate where service_name = 'ZEPPELIN'; 
delete from servicedesiredstate where service_name = 'ZEPPELIN'; 
delete from alert_current where history_id in (select alert_id from alert_history where service_name = 'ZEPPELIN'); 
delete from alert_notice where history_id in (select alert_id from alert_history where service_name = 'ZEPPELIN'); 
delete from alert_history where service_name = 'ZEPPELIN'; 
delete from alert_grouping where definition_id in (select definition_id from alert_definition where service_name = 'ZEPPELIN'); 
delete from alert_history where alert_definition_id in (select definition_id from alert_definition where service_name = 'ZEPPELIN'); 
delete from alert_current where definition_id in (select definition_id from alert_definition where service_name = 'ZEPPELIN');
delete from alert_definition where service_name = 'ZEPPELIN'; 
delete from alert_group_target where group_id in ( select group_id from alert_group where service_name = 'ZEPPELIN'); 
delete from alert_group where service_name = 'ZEPPELIN'; 
delete from serviceconfighosts where service_config_id in (select service_config_id from serviceconfig where service_name = 'ZEPPELIN'); 
delete from serviceconfigmapping where service_config_id in (select service_config_id from serviceconfig where service_name = 'ZEPPELIN'); 
delete from serviceconfig where service_name = 'ZEPPELIN'; 
delete from requestresourcefilter where service_name = 'ZEPPELIN'; 
delete from requestoperationlevel where service_name = 'ZEPPELIN'; 
delete from clusterservices where service_name ='ZEPPELIN'; 
delete from clusterconfig where type_name like 'zeppelin%'; 
delete from clusterconfigmapping where type_name like 'zeppelin%'; 
&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Step3). &lt;/STRONG&gt;Start the Ambari Server.&lt;/P&gt;&lt;PRE&gt;# ambari-server start&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 16:22:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-server-fails-to-start-after-upgrading-from-2-3-to-2-5/m-p/198809#M62419</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-06-06T16:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari server fails to start after upgrading from 2.3 to 2.5, HDP is 2.6</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-server-fails-to-start-after-upgrading-from-2-3-to-2-5/m-p/198810#M62420</link>
      <description>&lt;P&gt;Thanks so much,&lt;/P&gt;&lt;P&gt;steps followed:&lt;/P&gt;&lt;P&gt;1) psql ambari -U ambari -W -p 5432&lt;/P&gt;&lt;P&gt;2)  pg_dump ambari -U ambari -W -p 5432 &amp;gt; ambari_bkup&lt;/P&gt;&lt;P&gt;3) Delete commands&lt;/P&gt;&lt;P&gt;4) ambari-server start&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 19:08:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-server-fails-to-start-after-upgrading-from-2-3-to-2-5/m-p/198810#M62420</guid>
      <dc:creator>kotesh_banoth</dc:creator>
      <dc:date>2017-06-06T19:08:34Z</dc:date>
    </item>
  </channel>
</rss>

