-
Notifications
You must be signed in to change notification settings - Fork 354
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
[Bug]: Writing files fails when using Azure Data Lake Gen 2 #3154
Comments
It seems not all features work on data lake gen 2, do you have similar options when using a gen 1 blob storage? |
Thank you for the quick reply. It looks like Azure does not allow gen 1 storage anymore. Is this a problem with VFS or specifically with HOP. I could look into fixing the issue, I would just need some pointers. |
It seems we are doing something that was working in Gen1 but no longer works in Gen2 this is the error thrown by Azure The VFS implementation that we have written for azure can be found here: |
should be solved in the near future by #3676 |
going to close this one we only support hierarchical namespaces. Have been using these in the past couple of weeks/months. We have a couple of more improvement tickets but we are actively working with azure blob storage |
.take-issue |
add a comment about hierarchical namespaces, fixes #3154
Apache Hop version?
2.5
Java version?
19.0.2
Operating system
Windows
What happened?
New install of Hop 2.5.0
setup to write to Azure Data Lake Gen 2
name
key
create a new work flow name demo
try to save the workflow to azure
org.apache.hop.core.exception.HopException:
Error validating file existence for 'azure:\datalakedemo\hop\demo.hwf'
Error saving workflow to file 'azure:\datalakedemo\hop\demo.hwf'
org.apache.commons.vfs2.FileSystemException: Could not create file "azure:///datalakedemo/hop/demo.hwf".
Could not create file "azure:///datalakedemo/hop/demo.hwf".
Could not create file "azure:///datalakedemo/hop/demo.hwf".
Caused by: org.apache.hop.core.exception.HopException:
Error saving workflow to file 'azure:\datalakedemo\hop\demo.hwf'
org.apache.commons.vfs2.FileSystemException: Could not create file "azure:///datalakedemo/hop/demo.hwf".
Could not create file "azure:///datalakedemo/hop/demo.hwf".
Could not create file "azure:///datalakedemo/hop/demo.hwf".
Caused by: org.apache.hop.core.exception.HopFileException:
org.apache.commons.vfs2.FileSystemException: Could not create file "azure:///datalakedemo/hop/demo.hwf".
Could not create file "azure:///datalakedemo/hop/demo.hwf".
Could not create file "azure:///datalakedemo/hop/demo.hwf".
Caused by: org.apache.commons.vfs2.FileSystemException: Could not create file "azure:///datalakedemo/hop/demo.hwf".
at org.apache.commons.vfs2.provider.AbstractFileObject.createFile(AbstractFileObject.java:328)
at org.apache.hop.core.vfs.HopVfs.getOutputStream(HopVfs.java:301)
at org.apache.hop.core.vfs.HopVfs.getOutputStream(HopVfs.java:325)
... 14 more
Caused by: org.apache.commons.vfs2.FileSystemException: Could not write to "azure:///datalakedemo/hop/demo.hwf".
at org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1277)
at org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1239)
at org.apache.commons.vfs2.provider.AbstractFileObject.createFile(AbstractFileObject.java:322)
... 16 more
Caused by: com.microsoft.azure.storage.StorageException: Specified feature is not yet supported for hierarchical namespace accounts.
at com.microsoft.azure.storage.StorageException.translateException(StorageException.java:87)
at com.microsoft.azure.storage.core.StorageRequest.materializeException(StorageRequest.java:305)
at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:196)
at com.microsoft.azure.storage.blob.CloudPageBlob.create(CloudPageBlob.java:538)
at com.microsoft.azure.storage.blob.CloudPageBlob.openOutputStreamInternal(CloudPageBlob.java:1055)
at com.microsoft.azure.storage.blob.CloudPageBlob.openWriteNew(CloudPageBlob.java:930)
at org.apache.hop.vfs.azure.AzureFileObject.doGetOutputStream(AzureFileObject.java:450)
at org.apache.commons.vfs2.provider.AbstractFileObject.getOutputStream(AbstractFileObject.java:1273)
... 18 more
Issue Priority
Priority: 2
Issue Component
Component: VFS
The text was updated successfully, but these errors were encountered: