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

Custom command line code does not correctly catch errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • Command Line Client
    • None

    Description

      The code that is trying to load the YARN CLI is catching Exception but if the YARN CLI cannot be loaded a java.lang.NoClassDefFoundError is thrown: https://github.com/apache/flink/blob/0e20b613087e1b326e05674e3d532ea4aa444bc3/flink-clients/src/main/java/org/apache/flink/client/cli/CliFrontend.java#L1067

      This means that Flink does not work in Hadoop-free mode. We should fix this and also add an end-to-end test that verifies that Hadoop-free mode works.

      Attachments

        Issue Links

          Activity

            People

              chesnay Chesnay Schepler
              aljoscha Aljoscha Krettek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: