Skip to content

Commit

Permalink
RANGER-5153: fix for intermintent unit test failure in RangerJSONAudi…
Browse files Browse the repository at this point in the history
…tWriterTest
  • Loading branch information
mneethiraj committed Feb 22, 2025
1 parent 7d553f1 commit c758e80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ public abstract class AbstractRangerAuditWriter implements RangerAuditWriter {
public FileSystem fileSystem;
public Map<String, String> auditConfigs;
public Path auditPath;
public PrintWriter logWriter;
public RollingTimeUtil rollingTimeUtil;
public String auditProviderName;
public String fullPath;
Expand All @@ -71,6 +70,7 @@ public abstract class AbstractRangerAuditWriter implements RangerAuditWriter {
public int fileRolloverSec = 24 * 60 * 60; // In seconds
public boolean rollOverByDuration;

public volatile PrintWriter logWriter;
public volatile FSDataOutputStream ostream; // output stream wrapped in logWriter

protected boolean reUseLastLogFile;
Expand Down

0 comments on commit c758e80

Please sign in to comment.