azure - Azure 的 "Data Lake Storage Gen2"和 "Data Lake Gen2"之间有什么区别?

标签 azure azure-blob-storage azure-data-lake-gen2

我对在 Azure 上创建存储帐户时可用的选项感到困惑,正在寻求澄清。

如果我从 Azure 市场创建新的“存储帐户”(标准层),系统会在高级设置中激活“Data Lake Storage Gen2”:

enter image description here

部署资源后,我会看到执行“Data Lake Gen2 升级”的选项: enter image description here

如果我使用带有 block blob 的高级层创建存储帐户,则不会显示该升级选项。然而,这是在选择页面 blob 时。

通过查看 ARM 部署的 JSON,我可以发现的唯一可见差异:升级后的存储帐户具有 isHnsEnabled : true。这似乎启用了分层命名空间和原子目录操作。 在用户界面中,我得到了不同的图标:对于升级后的图标,我可以看到一个数据库图标,里面有一些水。对于未升级的版本,它在存储浏览器中显示一个文件夹。

对于问题:

  1. 尽管未启用分层命名空间,但我可以在未升级的 Blob 存储中创建文件夹。这是否意味着文件夹操作需要更长的时间?
  2. 如果我将标准层存储帐户升级到 Data Lake Gen2,它仍保留在标准层中。但是,如何从一开始就创建一个支持 Data Lake Gen2 的标准层存储帐户,而无需稍后升级呢?我认为“Data Lake Storage Gen2”复选框可以做到这一点,但显然事实并非如此。
  3. “Data Lake Storage Gen2”和“Data Lake Gen2”之间有什么区别?

最佳答案

I can create folders in the non-upgraded blob storage, although hierarchical namespaces are not enabled. Does this mean that folder operations just take longer?

我对此表示怀疑,你能告诉我你是怎么做到的吗?您可以通过相应命名将 blob 上传到虚拟文件夹。例如,将名为 folder/test.png 的 Blob 上传到名为 container 的容器,将在存储中的文件夹 folder 中显示为文件帐户资源管理器,但没有创建实际的文件夹。

What is then the difference between "Data Lake Storage Gen2" and "Data Lake Gen2"?

Azure Data Lake 是 Azure HDInsight、Azure Data Lake Analytics 等多种服务的容器。 Azure Data Lake 是一种解决方案,而不是特定产品。 Azure Data Lake Storage 是属于 Azure Data Lake 解决方案一部分的产品。

有 gen1 和 gen2,gen2 基于存储帐户:Data Lake Storage Gen2 融合了 Azure Data Lake Storage Gen1 与 Azure Blob Storage 的功能

If I upgrade my standard tier storage account to Data Lake Gen2 it remains in the standard tier. But how would I create a standard tier storage account with Data Lake Gen2 support right from the beginning, without upgrading later? I thought, the checkbox "Data Lake Storage Gen2" would do this, but aparently it's not.

它确实对我有用,是什么让您认为设置复选框不起作用?启用此选项后,我可以创建目录,这是使用常规存储帐户无法做到的。

enter image description here

当谈到支持什么类型的存储帐户时,仅支持 block blob 高级帐户,如 the docs 中所示。 :

Data Lake Storage capabilities are supported in the following types of storage accounts:

  • Standard general-purpose v2
  • Premium block blob

关于azure - Azure 的 "Data Lake Storage Gen2"和 "Data Lake Gen2"之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74796512/

相关文章:

azure-blob-storage - 具有托管身份的数据工厂 Blob 存储链接服务 : The remote server returned an error: (403)

python - Azure 数据湖引发错误 - 确保授权 header 的值格式正确,包括签名

azure - 从外部 Web 应用程序使用 Azure Key Vault

asp.net - O数据错误: "A value without a type name was found and no expected type is available." when calling Azure Active Directory Graph API

azure - 如何将 Azure Redis 缓存从标准缩减为基本?

azure - 无法从azure连接bitbucket源存储库

mongodb - 如何将 azure blob 自定义元数据字段索引到 Azure 搜索

azure - 复制前删除 Azure Blob 内容

azure - 在浏览器中列出 Azure 存储 blob 内容

azure - 备份 ADLS gen2