vinoyang created FLINK-11657: -------------------------------- Summary: Fix deprecated API compatibility issue for WordCountMapreduceITCase Key: FLINK-11657 URL: https://issues.apache.org/jira/browse/FLINK-11657 Project: Flink Issue Type: Improvement Reporter: vinoyang Assignee: vinoyang
method: {code:java} protected void testProgram() throws Exception { internalRun(true); postSubmit(); resultPath = getTempDirPath("result2"); internalRun(false); postSubmit(); } {code} Previously, in order to test deprecated API, the following code snippet existed: {code:java} if (isTestDeprecatedAPI) { input = env.createInput(HadoopInputs.readHadoopFile(new TextInputFormat(), LongWritable.class, Text.class, textPath)); } else { input = env.createInput(readHadoopFile(new TextInputFormat(), LongWritable.class, Text.class, textPath)); } {code} But now, the related APIs have been removed from the DataSet, so the code needs to be refactored to make it clearer. -- This message was sent by Atlassian JIRA (v7.6.3#76005)