rickyma opened a new pull request, #1874: URL: https://github.com/apache/incubator-uniffle/pull/1874
### What changes were proposed in this pull request? Add audit log support for write and delete operations. Introduce a switch `rss.server.audit.log.enabled`, the default value is `false`. ### Why are the changes needed? For https://github.com/apache/incubator-uniffle/issues/1873. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests. For write operations, the audit.log will be: ``` w|application_1716779728283_7775663_1720409662460|1|858_858|local|/data7/rssdata|56401402|2024-07-08 11:36:32|2024-07-08 11:36:32|85 w|application_1716779728283_7775663_1720409662460|1|860_860|local|/data13/rssdata|56365595|2024-07-08 11:36:32|2024-07-08 11:36:32|76 w|application_1703049085550_15349071_1720381124695|0|520_520|qy-xxx-30-v3|hdfs://qy-xxx-30-v3/rss/online|203300442|2024-07-08 03:41:11|2024-07-08 03:41:14|2543 ``` For delete operations, the audit.log will be: ``` d|application_1716779728283_7775663_1720409662460|local|/data1/rssdata d|application_1716779728283_7775663_1720409662460|local|/data2/rssdata d|application_1703049085550_15349071_1720381124695|qy-xxx-30-v3|hdfs://qy-xxx-30-v3/rss/online ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
