You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Daniel Barclay (Drill) (JIRA)" <ji...@apache.org> on 2015/05/08 22:38:00 UTC

[jira] [Commented] (DRILL-2343) Create JDBC tracing proxy driver.

    [ https://issues.apache.org/jira/browse/DRILL-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14535456#comment-14535456 ] 

Daniel Barclay (Drill) commented on DRILL-2343:
-----------------------------------------------

Commit message/comment:

DRILL-2343: Add tracing proxy JDBC driver for tracing JDBC method calls.
    
Overview of org.apache.drill.jdbc.proxy classes/interfaces:
    
Entry point:
- TracingProxyDriver - Tracing proxy JDBC driver class.  Class description Javadoc has usage instructions.
    
Other core types:
- ProxiesManager - creates and tracks java.lang.reflect.Proxy-based proxy objects
- TracingInvocationHandler - java.lang.reflect.Proxy invocation handler; maps reflective/proxy invocations to InvocationReporter method call/return/throw event calls
- InvocationReporter - defines method call/return/throw event calls
- InvocationReporterImpl - implements rendering of method call/return/throw event calls (including rendering of parameter/return/exception values).
- ProxySetupSQLException
    
Unit tests:
- TracingProxyDriverClassLoadingTest - test of loading proxied driver class
- TracingProxyDriverTest - basic test of proxying (pass-through) and tracing output
    
Other:
- exec/jdbc-all/pom.xml - has change to keep TracingProxyDriver and depended-on classes in JDBC-all Jar file.


> Create JDBC tracing proxy driver.
> ---------------------------------
>
>                 Key: DRILL-2343
>                 URL: https://issues.apache.org/jira/browse/DRILL-2343
>             Project: Apache Drill
>          Issue Type: New Feature
>          Components: Client - JDBC
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Daniel Barclay (Drill)
>             Fix For: Future
>
>         Attachments: DRILL-2343.2.patch.txt
>
>
> Create JDBC driver that functions as proxy to Drill (or other) JDBC driver in order to report calls made across the JDBC API.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)