<?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: Can the ranger_audit.xa_access_audit table be truncated without affecting lineage? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-xa-access-audit-table-be-truncated/m-p/137766#M27714</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt; - Is it possible to remove the auditlog in hdfs as well without affecting lineage etc?&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2016 21:26:50 GMT</pubDate>
    <dc:creator>mjohansson</dc:creator>
    <dc:date>2016-05-10T21:26:50Z</dc:date>
    <item>
      <title>Can the ranger_audit.xa_access_audit table be truncated without affecting lineage?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-xa-access-audit-table-be-truncated/m-p/137764#M27712</link>
      <description>&lt;P&gt;Is there any best practices on how to handle the ranger_audit.xa_access_audit table over time when it's growing big. In particular can we truncate/delete rows without affecting lineage?&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2016 15:05:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-xa-access-audit-table-be-truncated/m-p/137764#M27712</guid>
      <dc:creator>mjohansson</dc:creator>
      <dc:date>2016-05-09T15:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can the ranger_audit.xa_access_audit table be truncated without affecting lineage?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-xa-access-audit-table-be-truncated/m-p/137765#M27713</link>
      <description>&lt;P&gt;I've been advising users to truncate the table by removing entries older than 1 or 2 months. The DB is used to support search in Ranger UI, and the events are independent, so, IMO, no harm is done. They are also storing audit data in hdfs as well, and all data remains available there if needed. When you truncate the table by date, you can use the event_time field, for example in case of Mysql&lt;/P&gt;&lt;PRE&gt;delete from xa_access_audit where event_time &amp;lt; DATE_SUB(now(), INTERVAL 1 MONTH);&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 May 2016 17:54:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-xa-access-audit-table-be-truncated/m-p/137765#M27713</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-09T17:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can the ranger_audit.xa_access_audit table be truncated without affecting lineage?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-xa-access-audit-table-be-truncated/m-p/137766#M27714</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt; - Is it possible to remove the auditlog in hdfs as well without affecting lineage etc?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2016 21:26:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-xa-access-audit-table-be-truncated/m-p/137766#M27714</guid>
      <dc:creator>mjohansson</dc:creator>
      <dc:date>2016-05-10T21:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can the ranger_audit.xa_access_audit table be truncated without affecting lineage?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-xa-access-audit-table-be-truncated/m-p/137767#M27715</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/210/mjohansson.html" nodeid="210"&gt;@Mats Johansson&lt;/A&gt;, if you use Ranger for lineage, like who did what and when to certain files or tables or databases, then have to be careful what are you deleting. You can then go for more restrictive deletions from the Audit DB if you want to keep on using it to browse the lineage. Or delete from Range DB after 1 or 2 months but keep all data in HDFS. To reduce the amount of audit data, you can also revisit your security policies and disable audit on policies which are not critical. Also, a new version of Atlas is coming, which will work together with Ranger to provide more cool features for lineage.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2016 19:39:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Can-the-ranger-audit-xa-access-audit-table-be-truncated/m-p/137767#M27715</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-05-16T19:39:25Z</dc:date>
    </item>
  </channel>
</rss>

