smaheshwar-pltr commented on code in PR #14659:
URL: https://github.com/apache/iceberg/pull/14659#discussion_r2554131971


##########
hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java:
##########
@@ -148,13 +148,15 @@ public EncryptionManager encryption() {
     if (tableKeyId != null) {
       if (keyManagementClient == null) {
         throw new RuntimeException(
-            "Cant create encryption manager, because key management client is 
not set");
+            "Cannot create encryption manager without a key management 
client");

Review Comment:
   Thanks all, have made the change. You now get:
   
   ```
   java.lang.IllegalArgumentException: Cannot create encryption manager without 
a key management client. Consider setting the 'encryption.kms-impl' catalog 
property
        at 
org.apache.iceberg.relocated.com.google.common.base.Preconditions.checkArgument(Preconditions.java:217)
   ```



-- 
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]

Reply via email to