[ 
https://issues.apache.org/jira/browse/DRILL-6270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arina Ielchiieva updated DRILL-6270:
------------------------------------
    Priority: Major  (was: Minor)

> 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: Major
>             Fix For: 1.14.0
>
>
> 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