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

Allow passing a File or an InputStream to ParameterTool.fromPropertiesFile()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.4, 1.4.0
    • None
    • None

    Description

      http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/How-to-user-ParameterTool-fromPropertiesFile-to-get-resource-file-inside-my-jar-tp15482.html
      From this discussion, it seems that the current functionality of ParameterTool.fromPropertiesFile is not enough.
      It will be more useful if ParameterTool.fromPropertiesFile can provide more kinds of parameter type such as File and InputStream.

      Attachments

        Issue Links

          Activity

            People

              tonywei Wei-Che Wei
              tonywei Wei-Che Wei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: