smaheshwar-pltr opened a new issue, #17989:
URL: https://github.com/apache/iceberg/issues/17989
### Apache Iceberg version
1.11.0 (latest release)
### Query engine
Spark
### Please describe the bug 🐞
Concurrent partial-progress commits on an encrypted Hive table can commit a
snapshot without the wrapped key for its manifest list. The rewrite reports
failed groups and returns, but the snapshot's key is lost, leaving the table
unreadable to users and seemingly lost. They see:
```
java.util.concurrent.ExecutionException: java.lang.NullPointerException:
Cannot invoke
"org.apache.iceberg.encryption.EncryptedKey.encryptedKeyMetadata()"
because "manifestListKey" is null
Caused by: java.lang.NullPointerException
at
org.apache.iceberg.encryption.EncryptionUtil.decryptManifestListKeyMetadata(...)
at org.apache.iceberg.BaseSnapshot.allManifests(...)
at org.apache.iceberg.FastAppend.apply(...)
at org.apache.iceberg.SnapshotProducer.commit(...)
```
### Willingness to contribute
- [x] I can contribute a fix for this bug independently
- [ ] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [ ] I cannot contribute a fix for this bug 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]