Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/10301#discussion_r47813274
--- Diff:
network/common/src/main/java/org/apache/spark/network/server/TransportChannelHandler.java
---
@@ -84,6 +84,22 @@ public void exceptionCaught(ChannelHandlerContext ctx,
Throwable cause) throws E
}
@Override
+ public void channelActive(ChannelHandlerContext ctx) throws Exception {
+ try {
+ requestHandler.channelActive();
+ } catch (RuntimeException e) {
+ logger.error("Exception from request handler while registering
channel", e);
+ }
+ try {
+ responseHandler.channelActive();
+ } catch (RuntimeException e) {
+ logger.error("Exception from response handler while registering
channel", e);
+ }
+ super.channelRegistered(ctx);
+ }
+
--- End diff --
> remove the extra blank line here
done
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]