Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
For Profiling FileIO events, there are 2 keys:
- DFS_DATANODE_ENABLE_FILEIO_PROFILING_KEY for enabling the hooks
- DFS_DATANODE_FILEIO_PROFILING_SAMPLING_FRACTION_KEY for setting the sampling fraction
We can instead have only the sampling fraction key and set it to 0 if we want to disable profiling.