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

ASF GitHub Bot commented on FLINK-10341:
----------------------------------------

zjffdu commented on issue #6690: [FLINK-10341][shell script] Add option to 
print flink command when running bin/flink
URL: https://github.com/apache/flink/pull/6690#issuecomment-421770262
 
 
   Thanks for the review @TisonKun , @dawidwys `bash -x` do helps, but my 
sencairo is a little different. I am using `bin/flink` in third party tools 
(notebook) to launch flink. The output of `bin/flink` command will be logged in 
log file, so printing the flink command is very useful for diagnosis, and `bash 
-x` will be too verbose and it is not so convenient to switch between `bash -x 
bin/flink` and `bin/flink` for me. In contrast, setting env variable 
`PRINT_FLINK_COMMAND` is very convenient for me. Does this scenario make sense 
to you ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Add option to print flink command when running bin/flink
> --------------------------------------------------------
>
>                 Key: FLINK-10341
>                 URL: https://issues.apache.org/jira/browse/FLINK-10341
>             Project: Flink
>          Issue Type: Improvement
>          Components: Startup Shell Scripts
>            Reporter: Jeff Zhang
>            Assignee: Jeff Zhang
>            Priority: Major
>              Labels: pull-request-available
>
> It would be very useful if I can see the final java command which is used to 
> run flink program, specially when I hit very weird issue as flink 
> contributor. 



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

Reply via email to