drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parth Chandra" <pchan...@maprtech.com>
Subject Review Request 33727: DRILL-2811: Fix connection to individual drill bit. Allow port to be optional.
Date Thu, 30 Apr 2015 18:29:28 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for drill, Daniel Barclay, Hanifi Gunes, and Mehant Baid.

Repository: drill-git


DRILL-2811: Fix connection to individual drill bit. (The isDirect method was checking the
wrong specifier). 
Allow port to be optional. 
Change to not load config twice.


  exec/java-exec/src/main/java/org/apache/drill/exec/client/DrillClient.java ae0f580704c87add2d988896e76c51c5c7d7b22a

  exec/jdbc/src/main/java/org/apache/drill/jdbc/DrillConnectionConfig.java e353c71e923d06dd9925e6d12fabcd696c900f07

  exec/jdbc/src/main/java/org/apache/drill/jdbc/DrillConnectionImpl.java 7c690d8e343a2540b8adcd6654801600b2284072

Diff: https://reviews.apache.org/r/33727/diff/


Tested with multiple drillbits - 
Invalid port
!connect "jdbc:drill:schema=test;drillbit="
No port specified
!connect "jdbc:drill:schema=test;drillbit="
Correct port specified
!connect "jdbc:drill:schema=test;drillbit="
Different drillbit
!connect "jdbc:drill:schema=test;drillbit="
No schem specified
!connect "jdbc:drill:drillbit="


Parth Chandra

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message