GitHub user tony810430 opened a pull request:
https://github.com/apache/flink/pull/4678
[FLINK-7630] Allow passing a File or an InputStream to
ParameterTool.fromPropertiesFile()
- Add two version with different parameter type for
`ParameterTool.fromPropertiesFile()` method
- Update unit test `ParameterToolTest.testFromPropertiesFile()`
- Update best practice document to introduce these two ways to use
`Parameter`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tony810430/flink FLINK-7630
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4678.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4678
----
commit fa16ddd3e46112e0a96d6da6a1172e528aa1cb36
Author: Tony Wei <[email protected]>
Date: 2017-09-17T05:45:02Z
[FLINK-7630] Allow passing a File or an InputStream to
ParameterTool.fromPropertiesFile()
----
---