forked from airbnb/reair
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hook_configuration_template.xml
57 lines (48 loc) · 1.61 KB
/
hook_configuration_template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>hive.exec.post.hooks</name>
<value>com.airbnb.reair.hive.hooks.CliAuditLogHook</value>
<comment>
Post-execute hooks for Hive.
</comment>
</property>
<property>
<name>airbnb.reair.audit_log.jdbc_url</name>
<value>jdbc:mysql://myHost:myPort/myDbName</value>
<comment>
JDBC connection URL to the MySQL instance containing the audit log.
The URL should include the DB name as well.
</comment>
</property>
<property>
<name>airbnb.reair.audit_log.db.username</name>
<value>username</value>
<comment>
Username to use when connecting to the DB.
</comment>
</property>
<property>
<name>airbnb.reair.audit_log.db.password</name>
<value>password</value>
<comment>
Password to use when connecting to the DB.
</comment>
</property>
<property>
<name>airbnb.reair.audit_log.core.table_name</name>
<value>audit_log</value>
<comment>Name of the audit log table.</comment>
</property>
<property>
<name>airbnb.reair.audit_log.objects.table_name</name>
<value>audit_objects</value>
<comment>Name of the audit objects table.</comment>
</property>
<property>
<name>airbnb.reair.audit_log.mapred_stats.table_name</name>
<value>mapred_stats</value>
<comment>Name of the map-reduce stats table.</comment>
</property>
</configuration>