Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.3.6
-
None
-
None
-
Hadoop Version: 3.3.6
Location: `hadoop/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/WhitelistBasedResolver.java`, in setConf` method. Lines 99-104.
Description
The original implementation does not provide any logging information about the status of the variable whitelist configuration. As a result, it is difficult to determine whether the variable whitelist is enabled or disabled, which file is being used, and the expiry time set for the whitelist. This lack of visibility can lead to confusion during troubleshooting and configuration, as administrators may not be aware if the variable whitelist is correctly configured or if it is using the intended file and settings.
Expected Behavior:
The system should log detailed information about whether the variable whitelist is enabled, the file being used, and the expiry time. This will assist in debugging and ensure that the configuration is applied as expected.
How-to-Fix:
We propose exposing the configuration behavior through logging. This includes indicating whether the variable whitelist is enabled, specifying the file in use, and logging the expiry time to provide greater visibility into the configuration process.