hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kolbasov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-17563) CodahaleMetrics.JsonFileReporter is not updating hive.service.metrics.file.location
Date Fri, 22 Sep 2017 18:38:00 GMT

     [ https://issues.apache.org/jira/browse/HIVE-17563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexander Kolbasov updated HIVE-17563:
--------------------------------------
    Attachment:     (was: HIVE-17563.02.patch)

> CodahaleMetrics.JsonFileReporter is not updating hive.service.metrics.file.location
> -----------------------------------------------------------------------------------
>
>                 Key: HIVE-17563
>                 URL: https://issues.apache.org/jira/browse/HIVE-17563
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Sahil Takiar
>            Assignee: Alexander Kolbasov
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message