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

ASF GitHub Bot commented on DRILL-6270:
---------------------------------------

GitHub user agozhiy opened a pull request:

    https://github.com/apache/drill/pull/1210

    DRILL-6270: Add debug startup option flag for drill in embedded and s…

    …erver mode
    
    Works with the drillbit.sh, sqlline and sqlline.bat:
     Usage: --debug:[parameter1=value,parameter2=value]
     Optional parameters:
     port=[port_number] - debug port number
     suspend=[y/n] - pause until the IDE connects

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/agozhiy/drill DRILL-6270

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/1210.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1210
    
----
commit 5206268568a43864f6b0d144b56d3033c17d8031
Author: Anton Gozhiy <anton5813@...>
Date:   2018-03-27T10:29:14Z

    DRILL-6270: Add debug startup option flag for drill in embedded and server 
mode
    
    Works with the drillbit.sh, sqlline and sqlline.bat:
     Usage: --debug:[parameter1=value,parameter2=value]
     Optional parameters:
     port=[port_number] - debug port number
     suspend=[y/n] - pause until the IDE connects

----


> Add debug startup option flag for drill in embedded and server mode
> -------------------------------------------------------------------
>
>                 Key: DRILL-6270
>                 URL: https://issues.apache.org/jira/browse/DRILL-6270
>             Project: Apache Drill
>          Issue Type: Task
>            Reporter: Volodymyr Tkach
>            Assignee: Anton Gozhiy
>            Priority: Minor
>
> Add possibility to run sqlline.sh and drillbit.sh scripts with --<debug flag> 
> with standard java remote debug options with the ability to override port.
> {noformat}
> Usage: --debug:[parameter1=value,parameter2=value]
> Optional parameters:
> port=[port_number] - debug port number
> suspend=[y/n] - pause until the IDE connects
> {noformat}
> Examples: 
> {noformat}
> drillbit.sh start --debug:port=50001,suspend=y
> drill-embedded --debug:port=50001,suspend=y
> sqlline -u "jdbc:drill:zk=[zk_address];" --debug:port=50001,suspend=y
> {noformat}
> Also should work with sqlline.bat, but in this case the debug parameters 
> should be wrapped up with quotes, like:
> {noformat}
> sqlline.bat -u "jdbc:drill:zk=local;" --debug:"port=50001,suspend=y"
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to