Github user sudheeshkatkam commented on a diff in the pull request: https://github.com/apache/drill/pull/578#discussion_r100122562 --- Diff: exec/java-exec/src/main/java/org/apache/drill/exec/rpc/control/ConnectionManagerRegistry.java --- @@ -32,24 +29,19 @@ private final ConcurrentMap<DrillbitEndpoint, ControlConnectionManager> registry = Maps.newConcurrentMap(); - private final ControlMessageHandler handler; - private final BootStrapContext context; - private volatile DrillbitEndpoint localEndpoint; - private final BufferAllocator allocator; + private final BitConnectionConfigImpl config; - public ConnectionManagerRegistry(BufferAllocator allocator, ControlMessageHandler handler, BootStrapContext context) { - super(); - this.handler = handler; - this.context = context; - this.allocator = allocator; + public ConnectionManagerRegistry(BitConnectionConfigImpl config) { --- End diff -- Each impl of ConnectionConfig is package private. There are subtle differences among them, which is why references using impl are used with within the package. But in generic classes (e.g.AbstractServerConnection), interface is used.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---