Apache9 commented on code in PR #5391:
URL: https://github.com/apache/hbase/pull/5391#discussion_r1325293263


##########
hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcConnection.java:
##########
@@ -347,7 +348,7 @@ public void operationComplete(ChannelFuture future) throws 
Exception {
   private void sendRequest0(Call call, HBaseRpcController hrc) throws 
IOException {
     assert eventLoop.inEventLoop();
     if (reloginInProgress) {
-      throw new IOException("Can not send request because relogin is in 
progress.");
+      throw new IOException(HConstants.RELOGIN_IS_IN_PROGRESS);

Review Comment:
   Please do not put it in HConstants, it is IA.Public.



-- 
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: issues-unsubscr...@hbase.apache.org

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

Reply via email to