Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-17827

scala-shell.sh should fail early if no mode is specified, or have default logging settings

    XMLWordPrintableJSON

Details

    Description

      The scala-shell has multiple modes it can run in: local, remote and yarn.
      It is mandatory to specify such a mode, but this is only enforced on the scala side, not in the bash script.

      The problem is that the scala-shell script derives the log4j properties from the mode, and if no mode is set, then the log4j properties are empty.
      This leads to a warning from slf4j that no logger was defined and all that.

      Either scala-shell.sh should fail early if no mode is specified, or it should have some default logging settings (e.g., the ones for local/remote).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: