datawave
datawave copied to clipboard
Fixes #1522 - Upgrade to log4j 2.x
This PR represents the minimum number of changes required to eliminate the log4j 1.2.x dependency, as a first step toward full 2.x adoption for DW 3.x. That is, log4j-1.2-api-2.x.jar and -Dlog4j1.compatibility=true are leveraged to allow our existing loggers and configs to work as-is.
I'm not certain this upgrade is something we want to pursue in the near term (or at all) for DW 3.x, but since this work has already been done on the feature/accumulo-2.1 branch, I thought it would be useful to apply the upgrade to DW 3.x just to gauge overall feasibility, level of effort, etc
Also worth noting that this PR demonstrates (via automated quickstart install) in-place replacement of log4j 1.x jars in both Accumulo and Hadoop with the same log4j 2.17.2 jars that DW uses here. Testing so far has revealed no major issues and seems to indicate log4j 2x viability for patching Accumulo 1.x and Hadoop 3.x systems