Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in Storage account Gen 2 support in Azurite 3.6.0 #423

Open
shedges opened this issue Apr 1, 2020 · 5 comments
Open

Issue in Storage account Gen 2 support in Azurite 3.6.0 #423

shedges opened this issue Apr 1, 2020 · 5 comments
Assignees
Labels
NewArch Tracking issues for NewArch question Further information is requested stale

Comments

@shedges
Copy link

shedges commented Apr 1, 2020

Which service(blob, file, queue, table) does this issue concern?

Blob

Which version of the Azurite was used?

3.6.0

Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)

npm

What's the Node.js version?

What problem was encountered?

I want to test few blob operation. And my requirement is to use storage account of Gen 2 (ADLS Gen2 ). So I compiled Azurite of version 3.6.0 (Azurite V3 ) which provides support for a default storage account as General Storage Account V2 and associated features.
I compiled Azurite and successfully start blob service. But when I check with Microsoft Azure Storage Explorer, it shows storage account of type Key (i.e. it is Gen 1 storage account). If I connect to Gen 2 storage account (created on Azure portal) then storage explorer show account of type Key, ADLS Gen2.
Does this means Azurite still create Gen 1 storage account?
Is there any other way to confirm?

Steps to reproduce the issue?

  1. Compile Azurite 3.6.0
  2. Start Azurite service
  3. Use Microsoft Azure storage Explorer to connect Azurite using connection string
  4. See Storage account type as Key. It should show Key, ADLS Gen2.

Have you found a mitigation/solution?

No.
Azurite_storage_acc_issue
Azurite_storage_acc_issue

@XiaoningLiu XiaoningLiu self-assigned this Apr 2, 2020
@XiaoningLiu XiaoningLiu added NewArch Tracking issues for NewArch question Further information is requested labels Apr 2, 2020
@XiaoningLiu
Copy link
Member

I think ADLS Gen2 marks means you enables hihirical namesapce when create the storage account, right?

Storage explorer needs additional info to check about account level properties and types, Azurite doesn't provide an API for that, while it's not scope of Azurite either.
@JasonYeMSFT Can you help confirm?

It's should no harm about how Storage Explorer displays. And welcome report to us anytime you found unexpected behaviors when you use Azurite.

@JasonYeMSFT
Copy link

"General purpose V2" is different from "Gen 2". An ADLS Gen2 storage account is storage account with hierarchical namespace(HNS) enabled while general purpose V2 is compared against general purpose V1. Azurite creates a general purpose v2 storage account without HNS enabled.

I don't remember Azurite supporting ADLS Gen2 storage account (aka. HNS storage accounts) and we don't have the support for it in Storage Explorer right now. Currently if you want to specifically test ADLS Gen 2 storage accounts you'll have to create one on Portal. If you know that there is a emulator service available for it, please let me know so we can prioritize it.

@shedges
Copy link
Author

shedges commented Apr 3, 2020

@JasonYeMSFT @XiaoningLiu
Thanks for providing information that Azurite support general purpose V2 without HNS enabled.
I was not aware that General Purpose V2 is different from ADLS Gen 2.

First let me gather all required functionality from HNS. Then will come back to you whether we need Azurite with HNS on priority or not.

@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 16, 2022
@devlife
Copy link

devlife commented Apr 25, 2023

Seems related: #553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NewArch Tracking issues for NewArch question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

4 participants