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

do not update transient_lastDdlTime if the partition is modified by a housekeeping operation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • Query Processor
    • None
    • Reviewed

    Description

      Currently. purging looks at the hdfs time to see the last time the files got modified.
      It should look at the metastore property instead - these are facebook specific utilities, which do not require any changes to hive.

      However, in some cases, the operation might be performed by some housekeeping job, which should not modify the timestamp.
      Since, hive has no way of knowing the origin of the query, it might be a good idea to add a new hint which specifies that the
      operation is a cleanup operation, and the timestamp in the metastore need not be touched for that scenario.

      Attachments

        1. HIVE-1394.patch
          39 kB
          Ning Zhang
        2. HIVE-1394.2.patch
          41 kB
          Ning Zhang

        Issue Links

          Activity

            People

              nzhang Ning Zhang
              namit Namit Jain
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: