saintstack commented on a change in pull request #1280: HBASE-23799 Make our
core coprocessors use shaded protobuf
URL: https://github.com/apache/hbase/pull/1280#discussion_r394097852
##########
File path:
hbase-client/src/main/java/org/apache/hadoop/hbase/security/token/ClientTokenUtil.java
##########
@@ -69,7 +70,7 @@ private static void injectFault() throws ServiceException {
AsyncConnection conn) {
CompletableFuture<Token<AuthenticationTokenIdentifier>> future = new
CompletableFuture<>();
if (injectedException != null) {
- future.completeExceptionally(injectedException);
+
future.completeExceptionally(ProtobufUtil.handleRemoteException(injectedException));
Review comment:
Needed?
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services