<?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: Ranger services &amp;quot;Heartbeat lost&amp;quot; in Ambari, not able to stop/restart Ranger in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128597#M18255</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; , &lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thanks for your support.&lt;/P&gt;&lt;P&gt;Yesterday evening I did a stop of ambari-server, ambari-agent and ranger (Ranger and Ambari are on the same node), and restarted them step-by-step as mentioned in my last answer to Neeraj's post. Then I needed to have a break &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking at the situation today, showed me Ranger is back in Ambari as "known" and also showed the yellow arrows to restart due to config change. This led me to the assumption that something got messed up at config.change of Ranger and now it has been detected after the re-start of the components (and maybe waiting some time re-registering properly in Ambari).
Restarting Ranger via Ambari was successfull and now everything is "green" again&lt;/P&gt;&lt;P&gt;Regards, Gerd&lt;/P&gt;</description>
    <pubDate>Sat, 06 Feb 2016 19:28:24 GMT</pubDate>
    <dc:creator>geko</dc:creator>
    <dc:date>2016-02-06T19:28:24Z</dc:date>
    <item>
      <title>Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128589#M18247</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;there is a strange situation within Ambari (v2.0.1) where Ranger suddenly lost the connectivity, since Ambari shows "Heartbeat lost" for Ranger-admin/-usersync.&lt;/P&gt;&lt;P&gt;The node where Ranger is/should run is fine, since it is the same as Ambari is running itself.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1836-ranger-service-heartbeat-lost.png" style="width: 362px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22519i54120DAD08B29D0E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1836-ranger-service-heartbeat-lost.png" alt="1836-ranger-service-heartbeat-lost.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Trying to restart Ranger results in the following =&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1837-try-to-restart-ranger.png" style="width: 499px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22520iD6BC596BB65C8CEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1837-try-to-restart-ranger.png" alt="1837-try-to-restart-ranger.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and the corresponding log entries of ambari-server:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1838-ambari-server-log-error.png" style="width: 1083px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22521i9E61F8E4B1558797/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1838-ambari-server-log-error.png" alt="1838-ambari-server-log-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What the hell has happened here ?!?!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:50:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128589#M18247</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2019-08-19T09:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128590#M18248</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt; You want to restart ambari-agent in that server to see if that fixes it&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 03:55:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128590#M18248</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-06T03:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128591#M18249</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140" target="_blank"&gt;@Neeraj Sabharwal&lt;/A&gt; , unfortunately not, still the same situation. Log excerpt from ambari-agent:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1840-ambari-agent-log-after-restart.png" style="width: 1068px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22518i3977B552CA7D7349/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1840-ambari-agent-log-after-restart.png" alt="1840-ambari-agent-log-after-restart.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It is going to be late, maybe  I can't see the forest but the trees ?!?! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:49:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128591#M18249</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2019-08-19T09:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128592#M18250</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt; &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; Forest and Tress..There is lion there too&lt;/P&gt;&lt;P&gt;On serious note: I wonder if you are hitting a bug ..see this &lt;A href="https://issues.apache.org/jira/browse/AMBARI-12834"&gt;https://issues.apache.org/jira/browse/AMBARI-12834&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Now, service ranger-admin restart ..see if that help.&lt;/P&gt;&lt;P&gt;Need ambari log entries &lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 04:25:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128592#M18250</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-06T04:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128593#M18251</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140" target="_blank"&gt;@Neeraj Sabharwal&lt;/A&gt; , did a "sudo /etc/init.d/ranger-admin start", and verified that ranger-admin is running. But in Ambari still the same yellow sign....and in ambari logs no error, either ambari-server or -agent.&lt;/P&gt;&lt;P&gt;ambari-agent.log:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1851-ambari-agent-log-after-ranger-start.png" style="width: 1071px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22516i52E2C823801329DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1851-ambari-agent-log-after-ranger-start.png" alt="1851-ambari-agent-log-after-ranger-start.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ambari-server.log (not that much entries after starting ranger-admin):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1852-ambari-server-log-after-ranger-start.png" style="width: 1081px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/22517i691E52D60F7A35B1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1852-ambari-server-log-after-ranger-start.png" alt="1852-ambari-server-log-after-ranger-start.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:49:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128593#M18251</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2019-08-19T09:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128594#M18252</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt; Ok. Are you able to access Ranger UI?&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 04:44:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128594#M18252</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-06T04:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128595#M18253</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Shutdown ranger-admin and user sync process&lt;/P&gt;&lt;P&gt;ps -ef | grep -i ranger &lt;/P&gt;&lt;P&gt;kill the processes if there is any&lt;/P&gt;&lt;P&gt;restart ambari-agent in ambari server and ranger server&lt;/P&gt;&lt;P&gt;then go to ambari and see if you can start ranger&lt;/P&gt;&lt;P&gt;if not then go back to console and restart ranger using cli&lt;/P&gt;&lt;P&gt;check ambari console.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 04:48:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128595#M18253</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-06T04:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128596#M18254</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;, can you check the status of Ranger as seen by Ambari:&lt;/P&gt;&lt;PRE&gt;curl -iv -u admin:admin -H "X-Requested-By:ambari" &lt;A href="http://&amp;lt;ambari-server&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/RANGER" target="_blank"&gt;http://&amp;lt;ambari-server&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/RANGER&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;and component URLs&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://&amp;lt;ambari-server&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/RANGER/components/RANGER_ADMIN" target="_blank"&gt;http://&amp;lt;ambari-server&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/RANGER/components/RANGER_ADMIN&lt;/A&gt;
&lt;A href="http://&amp;lt;ambari-server&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/RANGER/components/RANGER_USERSYNC" target="_blank"&gt;http://&amp;lt;ambari-server&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/RANGER/components/RANGER_USERSYNC&lt;/A&gt;
&lt;/PRE&gt;&lt;P&gt;The state of the service should be STARTED, and of components INSTALLED. It looks like your components are in UNKNOWN state. If so, you can go to the Ranger host page in Ambari and see can you reinstall Ranger components. I had a similar issue before, on Ranger Admin only, caused by wrong Ranger DB connection setup, and it didn't go away after fixing the DB. Had to delete the service using REST API calls and reinstall Ranger from Ambari. Hopefully you don't have to do all that.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 15:11:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128596#M18254</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-02-06T15:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128597#M18255</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; , &lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;thanks for your support.&lt;/P&gt;&lt;P&gt;Yesterday evening I did a stop of ambari-server, ambari-agent and ranger (Ranger and Ambari are on the same node), and restarted them step-by-step as mentioned in my last answer to Neeraj's post. Then I needed to have a break &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looking at the situation today, showed me Ranger is back in Ambari as "known" and also showed the yellow arrows to restart due to config change. This led me to the assumption that something got messed up at config.change of Ranger and now it has been detected after the re-start of the components (and maybe waiting some time re-registering properly in Ambari).
Restarting Ranger via Ambari was successfull and now everything is "green" again&lt;/P&gt;&lt;P&gt;Regards, Gerd&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 19:28:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128597#M18255</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2016-02-06T19:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ranger services "Heartbeat lost" in Ambari, not able to stop/restart Ranger</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128598#M18256</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Nice! Please pick one best answer and accept it as best answer so that we all can go home &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2016 19:30:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ranger-services-quot-Heartbeat-lost-quot-in-Ambari-not-able/m-p/128598#M18256</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-06T19:30:31Z</dc:date>
    </item>
  </channel>
</rss>

