Description
The JsonFileReporter has a bug where it never updates the content of hive.service.metrics.file.location. The original implementation relied on fs.rename to overwrite the file if it already existed, but after HIVE-13705 fs.rename now returns false if the destination file exists.
Also, there is no reason for the JsonFileReporter to write to any fs besides the local filesystem, so we should make this local fs specific.
Attachments
Attachments
Issue Links
- is broken by
-
HIVE-13705 Insert into table removes existing data
- Closed
- is related to
-
SENTRY-1963 Sentry JSON reporter should use regular implementation for local file system
- Resolved
- relates to
-
HDFS-10385 LocalFileSystem rename() function should return false when destination file exists
- Resolved
- links to