Ozone in Presto Iceberg Connector - [Issue] Creates a file instead of a directory #8808
Replies: 1 comment
-
|
Some questions to help fill in the picture:
Accessing FSO buckets through S3 gateway is expected to work, but there are some caveats because S3 and ofs (the Hadoop compatible interface) have fundamental differences. One of them is that S3 does not have any notion of a directory, so S3 gateway has to infer whether it should create a directory in the underlying FSO bucket by:
(Code if you are interested) The description sounds like HDDS-8437 but that has been fixed for a while. If you are only accessing data through S3 gateway and do not need a hadoop compatible interface, you can also use an OBS bucket instead of an FSO bucket and not have to worry about the intricacies of converting between S3 and ofs protocols. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I am connecting ozone using the iceberg connector from presto using the s3 gateway.
The create schema is failing as it is creating a file in ozone bucket instead of a directory. Hence I am getting below error when creating a table over the schema
Failed to write json to file: com.facebook.presto.iceberg.HdfsOutputFile@88839f48Any thoughts on the above scenario? Thanks in advance!!
Beta Was this translation helpful? Give feedback.
All reactions