Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9647

Discrepancy in trash directory in ofs when using Hive as a client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • OFS
    • None

    Description

      Steps :

      1. Write data through hive on volume/bucket
      2. Drop a table on hive db
      3. Check for the dropped table in the Trash directory

      Observed behaviour -

      The dropped table file is present in Trash with format .Trash/hive/Current/<vol>/<buck>/<dirpath>/<table>

      drwxrwxrwx   - hrt_qa hrt_qa          0 2023-11-08 05:00 ofs://ozone1/vol-test1-1699348374/buck-test1-1699348374/.Trash/hive/Current/vol-test1-1699348374/buck-test1-1699348374/TOUCH1699355510/pokes 

      Expected bhevaiour -

      The dropped table file should be present in Trash as per format Trash/hive/Current/<dirpath>/<table> as per HDDS-5866

       

      Note - The Trash directory file format should be same for all clients on ofs system.

      Attachments

        Activity

          People

            sadanand_shenoy Sadanand Shenoy
            jyosin Jyotirmoy Sinha
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: