简体   繁体   English

如何在Azure Data Lake Store上压缩文件

[英]How to compress files on azure data lake store

我使用Azure数据湖存储作为Java应用程序的存储服务,有时我需要压缩多个文件,我现在要做的是将所有文件复制到服务器中,在本地压缩它们,然后将zip发送到azure,甚至尽管这样做很耗时,但是我想知道是否有一种方法可以直接在azure上压缩文件,我检查了data-lake-store-SDK ,但是没有这样的功能。

Unfortunately, at the moment there is no option to do that sort of compression. 不幸的是,目前没有选择进行这种压缩。

There is an open feature request HTTP compression support for Azure Storage Services (via Accept-Encoding/Content-Encoding fields) that discusses uploading compressed files to Azure Storage , but there is no estimation on when this feature might be released. 有一个针对Azure存储服务的开放功能请求HTTP压缩支持(通过Accept-Encoding / Content-Encoding字段) ,讨论了将压缩文件上传到Azure Storage的问题 ,但是尚不确定何时发布此功能。

The only option for you is to implement such a mechanism on your own (using an Azure Function for example). 您唯一的选择是自行实现这种机制(例如,使用Azure函数 )。

Hope it helps! 希望能帮助到你!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM