Github user tzulitai commented on a diff in the pull request:
https://github.com/apache/flink/pull/1982#discussion_r62818792
--- Diff:
flink-quickstart/flink-quickstart-java/src/main/resources/archetype-resources/src/main/java/BatchJob.java
---
@@ -32,28 +32,29 @@
* mvn clean package
* in the projects root directory.
* You will find the jar in
- * target/flink-quickstart-0.1-SNAPSHOT-Sample.jar
- *
+ * target/flink-quickstart-0.1-SNAPSHOT.jar
+ * From the cli you can then run
+ * ./bin/flink run -c <BatchJob> <quickstart
jar>
*/
-public class Job {
+public class BatchJob {
public static void main(String[] args) throws Exception {
- // set up the execution environment
+ // set up the batch execution environment
final ExecutionEnvironment env =
ExecutionEnvironment.getExecutionEnvironment();
-
/**
* Here, you can start creating your execution plan for Flink.
*
* Start with getting some data from the environment, like
- * env.readTextFile(textPath);
+ * env.readTextFile(textPath);
--- End diff --
I think this space was intended formatting, like the below .filter(),
.flatMap() etc.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---