flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zjffdu <...@git.apache.org>
Subject [GitHub] flink pull request #6245: FLINK-9718. Add enviroment variable in start-scala...
Date Wed, 04 Jul 2018 08:07:28 GMT
Github user zjffdu commented on a diff in the pull request:

    --- Diff: flink-scala-shell/start-script/start-scala-shell.sh ---
    @@ -19,6 +19,9 @@
     # from scala-lang 2.10.4
    +# Uncomment the following line to enable remote debug
    +# export FLINK_SCALA_SHELL_JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"
    --- End diff --
    I don't find something like `flink-env.sh` for specify flink related env variable. So
I just put it in `start-scala-shell.sh` directly. I don't think bool flag is proper, as it
hide the details of remote debug info, like which port to listen. I believe most of apache
project use `*JAVA_OPTS` for remote debug which is very common. What do you think ?


View raw message