-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-27271 BufferCallBeforeInitHandler should ignore the flush request #4676
Conversation
This should be land before #4666 so the patch there will be cleaner. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 Thanks for taking care of this @Apache9
Just a nitpick.
.handler(new ChannelInitializer<Channel>() { | ||
|
||
@Override | ||
protected void initChannel(Channel ch) throws Exception { | ||
ch.pipeline().addLast(BufferCallBeforeInitHandler.NAME, | ||
new BufferCallBeforeInitHandler()); | ||
} | ||
}).localAddress(rpcClient.localAddr).remoteAddress(remoteAddr).connect() | ||
.addListener(new ChannelFutureListener() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: You don't need to do this change in this PR. This is only needed for the TLS stuff.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to use this as I need to specify the handler name. The handler method for Bootstrap can not specify handler name.
pom.xml
Outdated
@@ -26,7 +26,7 @@ | |||
(in particular, if you are doing it for the first time), instead do | |||
'mvn package'. If you are interested in the full story, see | |||
https://issues.apache.org/jira/browse/HBASE-6795. | |||
|
|||
for triggering UTs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one makes me confused: you got a successful build before adding this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pre commit job for HBase is a bit 'intelligent' so it will only run the UTs in the module you touched in PR. But most IPC related UTs are in the hbase-server module, so I have to touch the pom file in the root dir so it will run all the UTs.
The failed UTs are not related. Some UTs in HBase are flaky, it is a long story...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And I will revert this commit when merging, no worry.
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
…st (apache#4676) Signed-off-by: Balazs Meszaros <meszibalu@apache.org> (cherry picked from commit fb529e2) Conflicts: hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcConnection.java
…st (apache#4676) Signed-off-by: Balazs Meszaros <meszibalu@apache.org> (cherry picked from commit fb529e2) Conflicts: hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcConnection.java
* HBASE-27185 Rewrite NettyRpcServer to decode rpc request with netty handler (apache#4624) * HBASE-27185 Addendum fix TestShadeSaslAuthenticationProvider * HBASE-27271 BufferCallBeforeInitHandler should ignore the flush request (apache#4676) * HBASE-26666 Add native TLS encryption support to RPC server/client (apache#4666) * HBASE-27278 Improve TestTlsIPC to reuse existing IPC test code (apache#4682) * HBASE-27279 Make SslHandler work with SaslWrapHandler/SaslUnwrapHandler (apache#4705) * HBASE-27342 Use Hadoop Credentials API to retrieve passwords of TLS key/trust stores (apache#4751) * HBASE-27346 Autodetect key/truststore file type from file extension (apache#4757) * HBASE-27280 Add mutual authentication support to TLS (apache#4796) * HBASE-27673 Fix mTLS client hostname verification (apache#5066) * HBASE-27347 Port FileWatcher from ZK to autodetect keystore/truststore changes in TLS connections (branch-2) (apache#4897) * HBASE-27779 Make X509Util config constants public * HBASE-27578 Upgrade hbase-thirdparty to 4.1.4 (apache#4985)
…st (apache#4676) Signed-off-by: Balazs Meszaros <meszibalu@apache.org> (cherry picked from commit fb529e2) Conflicts: hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcConnection.java (cherry picked from commit 1094b15) Change-Id: Iff314c026f3842cceedb5a11505dcc586747835c
No description provided.