You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/04/26 09:25:05 UTC

[GitHub] [iceberg] snazy opened a new pull request #2515: Use `CommitStatusUnknownException` for Nessie

snazy opened a new pull request #2515:
URL: https://github.com/apache/iceberg/pull/2515


   In case the Nessie endpoint did not respond or some other network error that makes it impossible
   to detect whether the Nessie server got the request and, more importantly, get the response.
   
   This PR adds a `catch (org.projectnessie.client.http.HttpClientException)` and re-throws it as
   the new `CommitStateUnknownException`.
   
   Also related refactoring of `NessieCatalog.dropTable`/`dropTableInner`
   
   Related to #2328


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] rymurr commented on a change in pull request #2515: Use `CommitStatusUnknownException` for Nessie

Posted by GitBox <gi...@apache.org>.
rymurr commented on a change in pull request #2515:
URL: https://github.com/apache/iceberg/pull/2515#discussion_r620187959



##########
File path: nessie/src/main/java/org/apache/iceberg/nessie/NessieCatalog.java
##########
@@ -48,6 +48,7 @@
 import org.projectnessie.api.TreeApi;
 import org.projectnessie.client.NessieClient;
 import org.projectnessie.client.NessieConfigConstants;
+import org.projectnessie.client.http.HttpClientException;

Review comment:
       The change to this file should be a different PR. Its cosmetic and unrelated to the bug we are fixing. It is a good cosmetic change and shoudl be done but imho not here,




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org


[GitHub] [iceberg] rymurr merged pull request #2515: Use `CommitStatusUnknownException` for Nessie

Posted by GitBox <gi...@apache.org>.
rymurr merged pull request #2515:
URL: https://github.com/apache/iceberg/pull/2515


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org