Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused properties #358

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
public class SolrAuditProvider extends AuditDestination {
private static final Logger LOG = LoggerFactory.getLogger(SolrAuditProvider.class);

public static final String AUDIT_MAX_QUEUE_SIZE_PROP = "xasecure.audit.solr.async.max.queue.size";
public static final String AUDIT_MAX_FLUSH_INTERVAL_PROP = "xasecure.audit.solr.async.max.flush.interval.ms";
public static final String AUDIT_RETRY_WAIT_PROP = "xasecure.audit.solr.retry.ms";

static final Object lock = new Object();
Expand Down
2 changes: 0 additions & 2 deletions hbase-agent/conf/ranger-hbase-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
10 changes: 0 additions & 10 deletions hbase-agent/conf/ranger-hbase-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
2 changes: 0 additions & 2 deletions hdfs-agent/conf/ranger-hdfs-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
10 changes: 0 additions & 10 deletions hdfs-agent/conf/ranger-hdfs-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
2 changes: 0 additions & 2 deletions hive-agent/conf/ranger-hive-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
10 changes: 0 additions & 10 deletions hive-agent/conf/ranger-hive-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
2 changes: 0 additions & 2 deletions knox-agent/conf/ranger-knox-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
10 changes: 0 additions & 10 deletions knox-agent/conf/ranger-knox-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
10 changes: 0 additions & 10 deletions plugin-elasticsearch/conf/ranger-elasticsearch-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
10 changes: 0 additions & 10 deletions plugin-kafka/conf/ranger-kafka-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,16 +200,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
2 changes: 0 additions & 2 deletions plugin-kms/conf/ranger-kms-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
10 changes: 0 additions & 10 deletions plugin-kms/conf/ranger-kms-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
2 changes: 0 additions & 2 deletions plugin-kylin/conf/ranger-kylin-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
10 changes: 0 additions & 10 deletions plugin-kylin/conf/ranger-kylin-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
8 changes: 0 additions & 8 deletions plugin-ozone/conf/ranger-ozone-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,7 @@
<name>xasecure.audit.solr.is.enabled</name>
<value>false</value>
</property>
<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>
<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
10 changes: 0 additions & 10 deletions plugin-presto/conf/ranger-presto-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
10 changes: 0 additions & 10 deletions plugin-solr/conf/ranger-solr-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
2 changes: 0 additions & 2 deletions plugin-sqoop/conf/ranger-sqoop-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
10 changes: 0 additions & 10 deletions plugin-sqoop/conf/ranger-sqoop-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
10 changes: 0 additions & 10 deletions plugin-trino/conf/ranger-trino-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
2 changes: 0 additions & 2 deletions plugin-yarn/conf/ranger-yarn-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
10 changes: 0 additions & 10 deletions plugin-yarn/conf/ranger-yarn-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
</property>

<property>
<name>xasecure.audit.solr.solr_url</name>
<value>http://localhost:6083/solr/ranger_audits</value>
Expand Down
2 changes: 0 additions & 2 deletions storm-agent/conf/ranger-storm-audit-changes.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ xasecure.audit.hdfs.config.local.archive.max.file.count %XAAUDIT.HDFS
#xasecure.audit.kafka.topic_name %XAAUDIT.KAFKA.TOPIC_NAME% mod create-if-not-exists

xasecure.audit.solr.is.enabled %XAAUDIT.SOLR.IS_ENABLED% mod create-if-not-exists
xasecure.audit.solr.async.max.queue.size %XAAUDIT.SOLR.MAX_QUEUE_SIZE% mod create-if-not-exists
xasecure.audit.solr.async.max.flush.interval.ms %XAAUDIT.SOLR.MAX_FLUSH_INTERVAL_MS% mod create-if-not-exists
xasecure.audit.solr.solr_url %XAAUDIT.SOLR.SOLR_URL% mod create-if-not-exists

#V3 configuration
Expand Down
5 changes: 0 additions & 5 deletions storm-agent/conf/ranger-storm-audit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,6 @@
<value>false</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.queue.size</name>
<value>1</value>
</property>

<property>
<name>xasecure.audit.solr.async.max.flush.interval.ms</name>
<value>1000</value>
Expand Down