<?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 Re: Issue with upgrading custom service via Ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-upgrading-custom-service-via-Ambari/m-p/207049#M66160</link>
    <description>&lt;P&gt;If you are sure its related to your Custom Service ,&lt;/P&gt;&lt;P&gt;You can skip the service checks of Ambari before upgrade by changing the configuration in ambari.properties :&lt;/P&gt;&lt;PRE&gt;cd /etc/ambari-server/conf

vi ambari.properties&lt;/PRE&gt;&lt;P&gt;check for the below configurations (add if doesnt exist): &lt;/P&gt;&lt;PRE&gt;skip.service.checks=true -- if you want to skip service checks
stack.upgrade.bypass.prechecks=true &lt;/PRE&gt;&lt;P&gt;Restart the ambari server &lt;/P&gt;&lt;P&gt;Perform the steps.&lt;/P&gt;&lt;P&gt;It has to work fine.&lt;/P&gt;&lt;P&gt;Let me know if it works &lt;/P&gt;</description>
    <pubDate>Tue, 08 Aug 2017 15:29:33 GMT</pubDate>
    <dc:creator>akhilsnaik</dc:creator>
    <dc:date>2017-08-08T15:29:33Z</dc:date>
    <item>
      <title>Issue with upgrading custom service via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-upgrading-custom-service-via-Ambari/m-p/207048#M66159</link>
      <description>&lt;P&gt;When I'm trying to test an (express) upgrade of a stack including my custom component I get the following error:&lt;/P&gt;&lt;PRE&gt;Last Service Check should be more recent than the last configuration change for the given service      &lt;/PRE&gt;&lt;PRE&gt;Reason: Unexpected server error happenedFailed on: &lt;/PRE&gt;&lt;P&gt;As you can see, it doesn't tell me which component. Anyhow, as I'm having my own component installed with the stack I suppose it's my own.&lt;/P&gt;&lt;P&gt;My colleague now pointed out that it's maybe because I do not have a "Config" tab in my component. Could this be the issue?&lt;/P&gt;&lt;P&gt;To shortly explain what my service does: I want to be able to have 2+ RegionServers on one host, thus I just copy the configuration from the original RegionServer and just do some changes within two configuration files before the component gets started. That's why I do not need any configuration within Ambari itself.&lt;/P&gt;&lt;P&gt;Hopefully somebody can explain a bit about my issue. Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2017 20:32:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-upgrading-custom-service-via-Ambari/m-p/207048#M66159</guid>
      <dc:creator>dp1</dc:creator>
      <dc:date>2017-08-07T20:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with upgrading custom service via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-upgrading-custom-service-via-Ambari/m-p/207049#M66160</link>
      <description>&lt;P&gt;If you are sure its related to your Custom Service ,&lt;/P&gt;&lt;P&gt;You can skip the service checks of Ambari before upgrade by changing the configuration in ambari.properties :&lt;/P&gt;&lt;PRE&gt;cd /etc/ambari-server/conf

vi ambari.properties&lt;/PRE&gt;&lt;P&gt;check for the below configurations (add if doesnt exist): &lt;/P&gt;&lt;PRE&gt;skip.service.checks=true -- if you want to skip service checks
stack.upgrade.bypass.prechecks=true &lt;/PRE&gt;&lt;P&gt;Restart the ambari server &lt;/P&gt;&lt;P&gt;Perform the steps.&lt;/P&gt;&lt;P&gt;It has to work fine.&lt;/P&gt;&lt;P&gt;Let me know if it works &lt;/P&gt;</description>
      <pubDate>Tue, 08 Aug 2017 15:29:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-upgrading-custom-service-via-Ambari/m-p/207049#M66160</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2017-08-08T15:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with upgrading custom service via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-upgrading-custom-service-via-Ambari/m-p/207050#M66161</link>
      <description>&lt;P&gt;Thanks for your answer &lt;A rel="user" href="https://community.cloudera.com/users/18735/asnaik.html" nodeid="18735"&gt;@Akhil S Naik&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;It seems that it really was the issue with the config. I now changed my service to contain a config, although it's not used, but I don't have the issue anymore.&lt;/P&gt;&lt;P&gt;Nevertheless, I didn't test the ambari-server configuration change, as it would have only been a workaround for me.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 18:57:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-upgrading-custom-service-via-Ambari/m-p/207050#M66161</guid>
      <dc:creator>dp1</dc:creator>
      <dc:date>2017-08-09T18:57:54Z</dc:date>
    </item>
  </channel>
</rss>

