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

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

Github user arina-ielchiieva commented on the issue:

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


> 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.
> It was decided to make a general flag (--jvm) to pass JVM options to the 
> script to avoid hard coding the options that may change in future.
> Usage examples:
> {noformat}
> bin/drill-embedded --jvm "-Xdebug -Xnoagent 
> -Xrunjdwp:transport=dt_socket,address=50000,server=y,suspend=n"
> bin/sqlline -u "jdbc:drill:zk=zkaddr:port" --jvm "-Xdebug -Xnoagent 
> -Xrunjdwp:transport=dt_socket,address=50000,server=y,suspend=n"
> sqlline.bat -u "jdbc:drill:zk=local" --jvm "-Xdebug -Xnoagent 
> -Xrunjdwp:transport=dt_socket,address=50000,server=y,suspend=n"
> {noformat}
> The --jvm flag is not needed for drillbit startup, you can set the jvm 
> properties directly after the start command:
> {noformat}
> bin/drillbit.sh start -Xdebug -Xnoagent 
> -Xrunjdwp:transport=dt_socket,address=50000,server=y,suspend=n
> {noformat}



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

Reply via email to