NikitaMatskevich opened a new issue, #13518:
URL: https://github.com/apache/iceberg/issues/13518
### Feature Request / Improvement
Azure SDK does not log enough info on eventual errors/timeouts. Also the
error that is thrown is often not an instance of DataLakeStorageException. It
might as well be a Netty error or some java timeout exception instead.
Simple example to understand the scope of the issue. When trying to read a
non-existing file in Azure, I receive the following error:
```
com.azure.storage.blob.models.BlobStorageException: Status code 404, "<?xml
version="1.0" encoding="utf-8"?><Error><Code>BlobNotFound</Code><Message>The
specified blob does not exist.
RequestId:xxxx
Time:2025-07-10T16:32:34.6666078Z</Message></Error>"
at
com.azure.storage.blob.implementation.util.ModelHelper.mapToBlobStorageException(ModelHelper.java:660)
at reactor.core.publisher.Mono.lambda$onErrorMap$30(Mono.java:3797)
```
This error is wrapped by an Azure-native exception, but it is not logged
anywhere.
The same error will be thrown when trying to delete a non-existing file.
Another example, when there is a slight version mismatch between azure
storage client libs and Netty:
```
io.netty.channel.StacklessClosedChannelException
java.lang.RuntimeException: io.netty.channel.StacklessClosedChannelException
at
com.azure.storage.common.implementation.StorageImplUtils.sendRequest(StorageImplUtils.java:511)
at
com.azure.storage.file.datalake.DataLakePathClient.deleteWithResponse(DataLakePathClient.java:651)
at
com.azure.storage.file.datalake.DataLakeFileClient.deleteWithResponse(DataLakeFileClient.java:224)
at
com.azure.storage.file.datalake.DataLakeFileClient.delete(DataLakeFileClient.java:192)
at
org.apache.iceberg.azure.adlsv2.ADLSFileIO.deleteFile(ADLSFileIO.java:92)
```
This is an error occurring in deleteFile, but it is not a
DataLakeStorageException.
### Query engine
None
### Willingness to contribute
- [x] I can contribute this improvement/feature independently
- [ ] I would be willing to contribute this improvement/feature with
guidance from the Iceberg community
- [ ] I cannot contribute this improvement/feature at this time
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]