Commit 89ce14a
RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer (apache#847)
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - fix failing testing
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - fix pmd issue
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - Fix audit commit failure propagation and recovery in the consumers
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - audit server partition management enhancement
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - Fix review comments
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - PojoMappingFeature for AuditEvent Object for serialization
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - Fix review comments set #2
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - Audit Batch processing and failure reprocessing improvement
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - Fix duplicate dependency error in the pom for sl4j
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - Fix ubuntu audit ranger module war file creation failure
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - Fix Review comments set apache#3
* RANGER-5482:Create Ranger Audit Server with SOLR and HDFS as audit consumer - Fix failing test
* RANGER-5482: addressed review comments/suggestions
* RANGER-5482: support configuration to specify authorized users per service, instead of a global list of users
* addressed review comments
* cleanup in AuditConsumer implementations, RangerAuditServerDestination
* added NoContentException to resolve failure in instantiating RangerJsonProvider
---------
Co-authored-by: Ramesh Mani <rmani@apache.org>
Co-authored-by: Madhan Neethiraj <madhan@apache.org>1 parent 313ff26 commit 89ce14a
125 files changed
Lines changed: 14527 additions & 122 deletions
File tree
- agents-audit
- core/src/main/java/org/apache/ranger/audit
- model
- provider
- utils
- dest-auditserver
- src/main/java/org/apache/ranger/audit/destination
- dest-solr/src/main/java/org/apache/ranger/audit/destination
- agents-common/src/main/java/org/apache/ranger/plugin
- audit
- policyengine
- service
- audit-server
- common
- src/main/java/org/apache/ranger/audit
- consumer/kafka
- server
- utils
- consumer-hdfs
- scripts
- src/main
- java/org/apache/ranger/audit
- consumer
- kafka
- rest
- server
- resources/conf
- webapp/WEB-INF
- consumer-solr
- scripts
- src/main
- java/org/apache/ranger/audit
- consumer
- kafka
- rest
- server
- resources/conf
- webapp/WEB-INF
- scripts
- server
- scripts
- src/main
- java
- javax/ws/rs/core
- org/apache/ranger/audit
- producer
- kafka
- rest
- security
- server
- resources/conf
- webapp/WEB-INF
- dev-support/ranger-docker
- scripts
- admin
- audit-server
- hadoop
- hbase
- hive
- kafka
- kdc
- kms
- knox
- ozone
- solr
- distro
- src/main/assembly
- hdfs-agent
- conf
- scripts
- hive-agent
- conf
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
| 442 | + | |
| 443 | + | |
442 | 444 | | |
443 | 445 | | |
444 | 446 | | |
| |||
Lines changed: 50 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
240 | | - | |
241 | | - | |
242 | | - | |
| 241 | + | |
243 | 242 | | |
244 | 243 | | |
245 | 244 | | |
246 | | - | |
247 | | - | |
248 | | - | |
| 245 | + | |
249 | 246 | | |
250 | 247 | | |
251 | 248 | | |
252 | | - | |
253 | | - | |
254 | | - | |
| 249 | + | |
255 | 250 | | |
256 | 251 | | |
257 | 252 | | |
258 | | - | |
259 | | - | |
260 | | - | |
| 253 | + | |
261 | 254 | | |
262 | 255 | | |
263 | 256 | | |
264 | | - | |
265 | | - | |
266 | | - | |
| 257 | + | |
267 | 258 | | |
268 | 259 | | |
269 | 260 | | |
270 | | - | |
| 261 | + | |
271 | 262 | | |
272 | 263 | | |
273 | 264 | | |
274 | | - | |
| 265 | + | |
275 | 266 | | |
276 | 267 | | |
277 | 268 | | |
278 | | - | |
| 269 | + | |
279 | 270 | | |
280 | 271 | | |
281 | 272 | | |
282 | | - | |
| 273 | + | |
283 | 274 | | |
284 | 275 | | |
285 | 276 | | |
286 | 277 | | |
287 | 278 | | |
288 | 279 | | |
289 | 280 | | |
290 | | - | |
| 281 | + | |
291 | 282 | | |
292 | 283 | | |
293 | 284 | | |
| |||
312 | 303 | | |
313 | 304 | | |
314 | 305 | | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
320 | 317 | | |
321 | 318 | | |
322 | 319 | | |
323 | 320 | | |
324 | 321 | | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
330 | 327 | | |
331 | 328 | | |
332 | 329 | | |
| |||
475 | 472 | | |
476 | 473 | | |
477 | 474 | | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
478 | 481 | | |
479 | 482 | | |
480 | 483 | | |
| |||
489 | 492 | | |
490 | 493 | | |
491 | 494 | | |
492 | | - | |
493 | | - | |
| 495 | + | |
| 496 | + | |
494 | 497 | | |
495 | | - | |
| 498 | + | |
496 | 499 | | |
497 | | - | |
| 500 | + | |
498 | 501 | | |
499 | | - | |
| 502 | + | |
500 | 503 | | |
501 | 504 | | |
502 | 505 | | |
| |||
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
140 | | - | |
141 | | - | |
142 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| |||
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| |||
308 | 313 | | |
309 | 314 | | |
310 | 315 | | |
311 | | - | |
312 | | - | |
313 | 316 | | |
314 | 317 | | |
| 318 | + | |
| 319 | + | |
315 | 320 | | |
| 321 | + | |
316 | 322 | | |
317 | 323 | | |
318 | 324 | | |
| 325 | + | |
| 326 | + | |
319 | 327 | | |
320 | 328 | | |
321 | 329 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| 110 | + | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
0 commit comments