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

Program cannot parse the parameter value with special characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Command Line Client
    • None

    Description

      When I start Flink Job with a shell command, the program cannot parse the parameter value with special characters

       

      Job Shell Command:

      ./bin/flink run-application -t yarn-application -Dyarn.application.name="Test_Flink_Job" -Dtaskmanager.numberOfTaskSlots=1 -Djobmanager.memory.process.size=10240m -Dtaskmanager.memory.process.size=10240m -c com.jacob.main /opt/app/Flink/JAR/test.jar --test 'test#123'

       

      Just like the above command, the test parameter value should be "test#123" instead of "test"

       

      I have used quotation marks, backslashes, etc. to escape the "#", but it still has no effect

       

      Attachments

        1. test.png
          42 kB
          Jacob.Q.Cao
        2. image-2021-07-01-18-56-24-263.png
          28 kB
          Liu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              JacobCao Jacob.Q.Cao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: