Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17563

CodahaleMetrics.JsonFileReporter is not updating hive.service.metrics.file.location

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      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

        1. HIVE-17563.01.patch
          29 kB
          Alex Kolbasov

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              akolb Alex Kolbasov Assign to me
              Reporter:
              stakiar Sahil Takiar

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment