<?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 Find the user who restarted any services in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Find-the-user-who-restarted-any-services/m-p/207192#M84045</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there any way to find who has restarted the services through Ambari .In our team six people working on different shifts and teams . It is very difficult to track who has initiated the service restart . For example . Some one restarted Namenode and we were unable to find who has initiated the restart via ambari .&lt;/P&gt;&lt;P&gt;Attached the ideal image of Ambari services restart . &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/92689-10377-timedout.png"&gt;10377-timedout.png&lt;/A&gt; &lt;/P&gt;&lt;P&gt;We have searched the logs with all 6 userid . The log returned nothing with the userids . Is there any alternative ways or how we can easily identify who has done the restart from Ambari . &lt;/P&gt;</description>
    <pubDate>Fri, 05 Oct 2018 02:39:06 GMT</pubDate>
    <dc:creator>lenu</dc:creator>
    <dc:date>2018-10-05T02:39:06Z</dc:date>
    <item>
      <title>Find the user who restarted any services</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Find-the-user-who-restarted-any-services/m-p/207192#M84045</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Is there any way to find who has restarted the services through Ambari .In our team six people working on different shifts and teams . It is very difficult to track who has initiated the service restart . For example . Some one restarted Namenode and we were unable to find who has initiated the restart via ambari .&lt;/P&gt;&lt;P&gt;Attached the ideal image of Ambari services restart . &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/92689-10377-timedout.png"&gt;10377-timedout.png&lt;/A&gt; &lt;/P&gt;&lt;P&gt;We have searched the logs with all 6 userid . The log returned nothing with the userids . Is there any alternative ways or how we can easily identify who has done the restart from Ambari . &lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 02:39:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Find-the-user-who-restarted-any-services/m-p/207192#M84045</guid>
      <dc:creator>lenu</dc:creator>
      <dc:date>2018-10-05T02:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Find the user who restarted any services</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Find-the-user-who-restarted-any-services/m-p/207193#M84046</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/98160/lenu.html" nodeid="98160" target="_blank"&gt;@Lenu K&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Unfortunately Prior to Ambari 2.7 &lt;/STRONG&gt;  in Ambari Ui there  is no option to see which user has performed the  operations. &lt;/P&gt;&lt;P&gt;Ambari 2.7 screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="92690-ambari-27-restart.png" style="width: 3686px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16981iF27548F3A9DC0DE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="92690-ambari-27-restart.png" alt="92690-ambari-27-restart.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However in &lt;STRONG&gt;previous version of ambari like Ambari 2.6&lt;/STRONG&gt; you can check the "ambari-audit.log" to see the activities performed by the user.&lt;/P&gt;&lt;P&gt;Example: &lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;# tail -f /var/log/ambari-server/ambari-audit.log &lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;2018-10-04T23:44:21.489Z, User(admin), RemoteIp(101.142.180.147), Operation(Request from server), RequestType(POST), url(http://hd1.example.com:8080/api/v1/clusters/TestCluster/requests), ResultStatus(202 Accepted), Command(RESTART), Cluster name(TestCluster)

2018-10-04T23:44:21.535Z, User(admin), Operation(Restart all components for SmartSense), Status(IN_PROGRESS), RequestId(852)&lt;/PRE&gt;&lt;P&gt;. &lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 04:36:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Find-the-user-who-restarted-any-services/m-p/207193#M84046</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-08-18T04:36:26Z</dc:date>
    </item>
  </channel>
</rss>

