How to set or enable small file merging in Ozone? #7380
Replies: 4 comments 2 replies
-
So far Ozone doesn‘t support this feature yet. |
Beta Was this translation helpful? Give feedback.
-
This probably requires a new block file format, similar to Facebook's Haystack / SeaweedFS where a single large append-only file contains multiple blocks. However the tradeoff is that there will be more bookkeeping and GC logic during deletion that needs to be handled. Currently having a single file per block is simpler. |
Beta Was this translation helpful? Give feedback.
-
I had encountered this problem in a lab environments. |
Beta Was this translation helpful? Give feedback.
-
@Dong-GuoSheng are you using HCFS interface or S3 APIs? |
Beta Was this translation helpful? Give feedback.
-
How to set or enable small file merging in Ozone?
In ozone, whether using the OozoneClient or S3 interface to write 100000 small files (each of 1KB), at least 100000 inodes will be added in hdds (viewed through free-i)
What parameters can be set to merge these small files into medium to large file storage to reduce inode usage in Linux?
Looking forward to your help.
在ozone中怎么设置或启用小文件合并?
在ozone中无论是使用OozoneClient还是S3接口写入100000个小文件(每个都是1KB),hdds下最少会增加100000个inode(通过free -i查看的)。
通过什么参数可以设置将这些小文件合并中大文件存储,以减少linux中的inode占用?
期待能获得您的帮助。
Beta Was this translation helpful? Give feedback.
All reactions