<?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 HDFS Audit Log File Size Issues in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Audit-Log-File-Size-Issues/m-p/160369#M122754</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;HDFS Audit logs size have become huge since recent past days, on weekends /root was completely occupied, upon checking largest files in /root it was hdfs.audit.log file which were sizing between 300 MB to 9.9 GB. When I checked file sizes from Oldest to Newest, oldest were 300 MB- 500MB sized, the Newest which are from last 6 days were sizing between 1.9 GB to 9.9 GB! Are there any particular reason for huge space occupancy all of a sudden?&lt;/P&gt;&lt;P&gt;Ps: We have not installed Ranger, KNOX, SOLR and ATLAS.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Mar 2017 17:10:50 GMT</pubDate>
    <dc:creator>ramcharantej</dc:creator>
    <dc:date>2017-03-16T17:10:50Z</dc:date>
    <item>
      <title>HDFS Audit Log File Size Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Audit-Log-File-Size-Issues/m-p/160369#M122754</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;HDFS Audit logs size have become huge since recent past days, on weekends /root was completely occupied, upon checking largest files in /root it was hdfs.audit.log file which were sizing between 300 MB to 9.9 GB. When I checked file sizes from Oldest to Newest, oldest were 300 MB- 500MB sized, the Newest which are from last 6 days were sizing between 1.9 GB to 9.9 GB! Are there any particular reason for huge space occupancy all of a sudden?&lt;/P&gt;&lt;P&gt;Ps: We have not installed Ranger, KNOX, SOLR and ATLAS.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 17:10:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-Audit-Log-File-Size-Issues/m-p/160369#M122754</guid>
      <dc:creator>ramcharantej</dc:creator>
      <dc:date>2017-03-16T17:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS Audit Log File Size Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Audit-Log-File-Size-Issues/m-p/160370#M122755</link>
      <description>&lt;P&gt;You should use the following properties of the RollingFileAppender to efficiently control the Size and the number of backup index of old log files:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;maxFileSize:&lt;/STRONG&gt;This is the critical size of the file above which the file will be rolled. Default value is 10 MB.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;maxBackupIndex: &lt;/STRONG&gt;This property denotes the number of backup files to be created. Default value is 1.&lt;/P&gt;
&lt;P&gt;More details in :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Community-Articles/How-to-control-size-of-log-files-for-various-HDP-components/ta-p/245063" target="_blank"&gt;https://community.cloudera.com/t5/Community-Articles/How-to-control-size-of-log-files-for-various-HDP-components/ta-p/245063&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 12:30:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-Audit-Log-File-Size-Issues/m-p/160370#M122755</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2024-07-08T12:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS Audit Log File Size Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Audit-Log-File-Size-Issues/m-p/160371#M122756</link>
      <description>&lt;P&gt;This posts also explains similar issue:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/How-to-rotate-and-archive-hdfs-audit-log-file/m-p/137118" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/How-to-rotate-and-archive-hdfs-audit-log-file/m-p/137118&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 12:31:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-Audit-Log-File-Size-Issues/m-p/160371#M122756</guid>
      <dc:creator>namaheshwari</dc:creator>
      <dc:date>2024-07-08T12:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: HDFS Audit Log File Size Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/HDFS-Audit-Log-File-Size-Issues/m-p/160372#M122757</link>
      <description>&lt;P&gt;Thanks Namit, this worked for me on my Dev Environment. Will try on next Change on Prod too. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 17:24:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/HDFS-Audit-Log-File-Size-Issues/m-p/160372#M122757</guid>
      <dc:creator>ramcharantej</dc:creator>
      <dc:date>2017-03-20T17:24:10Z</dc:date>
    </item>
  </channel>
</rss>

