Azure Data Lake Storage Gen2 的已知问题Known issues with Azure Data Lake Storage Gen2

本文介绍 Azure Data Lake Storage Gen2 的限制和已知问题。This article describes limitations and known issues of Azure Data Lake Storage Gen2.

支持的 Blob 存储功能Supported Blob storage features

越来越多的 Blob 存储功能现在兼容有分层命名空间的帐户。An increasing number of Blob storage features now work with accounts that have a hierarchical namespace. 如需完整列表,请参阅 Azure Data Lake Storage Gen2 中可用的 Blob 存储功能For a complete list, see Blob Storage features available in Azure Data Lake Storage Gen2.

支持的 Azure 服务集成Supported Azure service integrations

Azure Data Lake Storage Gen2 支持多个可用于引入数据、执行分析和创建可视化表示形式的 Azure 服务。Azure Data Lake Storage Gen2 supports several Azure services that you can use to ingest data, perform analytics, and create visual representations. 有关受支持的 Azure 服务的列表,请参阅支持 Azure Data Lake Storage Gen2 的 Azure 服务For a list of supported Azure services, see Azure services that support Azure Data Lake Storage Gen2.

请参阅支持 Azure Data Lake Storage Gen2 的 Azure 服务See Azure services that support Azure Data Lake Storage Gen2.

支持的开源平台Supported open source platforms

多个开源平台支持 Data Lake Storage Gen2。Several open source platforms support Data Lake Storage Gen2. 有关完整列表,请参阅支持 Azure Data Lake Storage Gen2 的开源平台For a complete list, see Open source platforms that support Azure Data Lake Storage Gen2.

请参阅支持 Azure Data Lake Storage Gen2 的开源平台See Open source platforms that support Azure Data Lake Storage Gen2.

Blob 存储 APIBlob storage APIs

Blob API 和 Data Lake Storage Gen2 API 可以对相同的数据执行操作。Blob APIs and Data Lake Storage Gen2 APIs can operate on the same data.

本部分介绍了同时使用 blob API 和 Data Lake Storage Gen2 API 对相同的数据执行操作时的问题和限制。This section describes issues and limitations with using blob APIs and Data Lake Storage Gen2 APIs to operate on the same data.

  • 不能同时使用 Blob API 和 Data Lake Storage API 写入到文件的同一实例。You cannot use both Blob APIs and Data Lake Storage APIs to write to the same instance of a file. 如果使用 Data Lake Storage Gen2 API 向某个文件进行写入,则调用获取 Block 列表 blob API 时看不到该文件的块。If you write to a file by using Data Lake Storage Gen2 APIs, then that file's blocks won't be visible to calls to the Get Block List blob API. 覆盖某个文件时,可以使用 Data Lake Storage Gen2 API 或 Blob API。You can overwrite a file by using either Data Lake Storage Gen2 APIs or Blob APIs. 这不会影响文件属性。This won't affect file properties.

  • 如果在使用列出 Blob 操作时不指定分隔符,则结果会包含目录和 Blob。When you use the List Blobs operation without specifying a delimiter, the results will include both directories and blobs. 如果选择使用分隔符,请只使用正斜杠 (/)。If you choose to use a delimiter, use only a forward slash (/). 这是唯一支持的分隔符。This is the only supported delimiter.

  • 如果使用删除 Blob API 来删除目录,则只能在该目录为空的情况下将其删除。If you use the Delete Blob API to delete a directory, that directory will be deleted only if it's empty. 这意味着,不能使用 Blob API 以递归方式删除目录。This means that you can't use the Blob API delete directories recursively.

这些 Blob REST API 不受支持:These Blob REST APIs aren't supported:

具有分层命名空间的帐户不支持非托管 VM 磁盘。Unmanaged VM disks are not supported in accounts that have a hierarchical namespace. 若要在存储帐户中启用分层命名空间,请将非托管 VM 磁盘置于未启用分层命名空间功能的存储帐户中。If you want to enable a hierarchical namespace on a storage account, place unmanaged VM disks into a storage account that doesn't have the hierarchical namespace feature enabled.

SDK、PowerShell 和 Azure CLI 中的文件系统支持File system support in SDKs, PowerShell, and Azure CLI

  • 当前不能以递归方式获取和设置 ACL 操作。Get and set ACL operations are not currently recursive.

生命周期管理策略Lifecycle management policies

目前不支持删除 blob 快照。The deletion of blob snapshots is not yet supported.

存档层级Archive Tier

当前有一个影响存档访问层级的 bug。There is currently a bug that affects the archive access tier.

BlobfuseBlobfuse

不支持 Blobfuse。Blobfuse is not supported.

AzCopyAzCopy

仅使用最新版本的 AzCopy (AzCopy v10)。Use only the latest version of AzCopy (AzCopy v10). 不支持早期版本的 AzCopy,例如 AzCopy v8.1。Earlier versions of AzCopy such as AzCopy v8.1, are not supported.

Azure 存储资源管理器Azure Storage Explorer

请仅使用 1.6.0 或更高版本。Use only versions 1.6.0 or higher.

第三方应用程序Third party applications

对于使用 REST API 保持正常运行的第三方应用程序,如果将这些应用程序与调用 Blob API 的 Data Lake Storage Gen2 应用程序配合使用,则它们可继续正常运行。Third party applications that use REST APIs to work will continue to work if you use them with Data Lake Storage Gen2 Applications that call Blob APIs will likely work.

访问控制列表 (ACL) 和匿名读取访问Access control lists (ACL) and anonymous read access

如果已将匿名读取访问授予容器,则 ACL 对该容器或该容器中的文件没有影响。If anonymous read access has been granted to a container, then ACLs have no effect on that container or the files in that container.

Windows Azure Storage Blob (WASB) 驱动程序(不支持用于 Data Lake Storage Gen2)Windows Azure Storage Blob (WASB) driver (unsupported with Data Lake Storage Gen2)

目前,WASB 驱动程序设计为仅用于 Blob API,在一些常见场景中会遇到问题。Currently, the WASB driver, which was designed to work with the Blob API only, encounters problems in a few common scenarios. 具体而言,当它是启用了分层命名空间的存储帐户的客户端时会遇到问题。Specifically, when it is a client to a hierarchical namespace-enabled storage account. Data Lake Storage 上的多协议访问不会缓解这些问题。Multi-protocol access on Data Lake Storage won't mitigate these issues.

目前我们不支持客户使用 WASB 驱动程序作为启用了分层命名空间的存储帐户的客户端(在可预见的将来也很有可能是这种情况)。For the time being (and most likely the foreseeable future), we won't support customers using the WASB driver as a client to a hierarchical namespace-enabled storage account. 因此,建议你选择在 Hadoop 环境中使用 Azure Blob 文件系统 (ABFS) 驱动程序。Instead, we recommend that you opt to use the Azure Blob File System (ABFS) driver in your Hadoop environment. 如果你在尝试迁移出采用 Hadoop branch-3 之前的版本的本地 Hadoop 环境,请创建一个 Azure 支持票证,这样我们就可以与你联系,确定适合你和你的组织的正确前进道路。If you are trying to migrate off of an on-premise Hadoop environment with a version earlier than Hadoop branch-3, then please open an Azure Support ticket so that we can get in touch with you on the right path forward for you and your organization.