Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-8423 S3 API compatibility improvements and fixes
  3. HDDS-10570

dfs -touch creates directory instead of empty file in FSO bucket

    XMLWordPrintableJSON

Details

    Description

      $ ozone sh bucket create --layout FILE_SYSTEM_OPTIMIZED /s3v/fso-bucket
      
      $ hdfs dfs -touch s3a://fso-bucket/empty.s3a
      
      $ ozone sh key info /s3v/fso-bucket/empty.s3a
      {
      ...
        "name" : "empty.s3a/",
        "dataSize" : 0,
      ...
        "ozoneKeyLocations" : [ ],
        "file" : false
      }
      

      The same works OK in OBJECT_STORE and LEGACY buckets.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: