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

Skip updating AccessTime of recycled files in ReplChangeManager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • repl
    • None
    • Reviewed

    Description

      For recycled file, we update both ModifyTime and AccessTime:
      fs.setTimes(path, now, now);
      On some version of hdfs, this is now allowed when "dfs.namenode.accesstime.precision" is set to 0. Though the issue is solved in HDFS-9208, we don't use AccessTime in CM and this could be skipped so we don't have to fail on this scenario.

      Attachments

        1. HIVE-17254.1.patch
          1 kB
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            daijy Daniel Dai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: