Description
In FLINK-1525 we've added the ParameterTool.
For users used to Hadoop's GenericOptionsParser it would be great to provide a compatible parser.
See: https://hadoop.apache.org/docs/r1.0.4/api/org/apache/hadoop/util/GenericOptionsParser.html
@Test public void testFromGenericOptionsParser() { ParameterUtil parameter = ParameterUtil.fromGenericOptionsParser(new String[]{"-D", "input=myinput", "-DexpectedCount=15"}); validate(parameter); }
Attachments
Issue Links
- is related to
-
FLINK-1525 Provide utils to pass -D parameters to UDFs
- Resolved