Thanks Robert, once again!
. for the workaround that you suggested with "quickstart" . Basic steps are: (One time), curl the quickstart shell script mvn clean package -DskipTests (in the folder of quickstart) (Later, for every programme written) Replace the java file with the new programme file and : mvn clean package -DskipTests (in the folder of quickstart) (same procedure as every year!!! If you know what I mean J ) It is "quick and dirty" but saves me time from tweaking a long pom.xml for hours! But one day, I will be more curious to know "how it works" . I'd definitely like to structure my programmes in multiple files and libraries dependencies. Will bother you again on this sometime later J bis Bald! Anirvan From: rmetzger0 [via Apache Flink (Incubator) User Mailing List archive.] [mailto:[hidden email]] Sent: mardi 9 septembre 2014 23:54 To: nirvanesque Subject: Re: Looking for instructions & source for flink-java-examples-0.6-incubating-WebLogAnalysis.jar Hi Anirvan, sorry for the late response. You've posted the question to Nabble, which is only a mirror of our actual mailing list at [hidden email]. Sadly, the message is not automatically posted to the apache list because the apache server is rejecting the mails from nabble. I've already asked and there is no way to change this behavior. So I actually saw the two messages you posted here by accident. Regarding your actual question: - The command line arguments for the WebLogAnalysis example are: "WebLogAnalysis <documents path> <ranks path> <visits path> <result path>" - Regarding the "info -d" command. I think its an artifact from our old java API. I've filed an issue in JIRA: https://issues.apache.org/jira/browse/FLINK-1095 Lets see how we resolve it. Thanks for reporting this! You can find the source code of all of our examples in the source release of Flink (in the flink-examples/flink-java-examples project. You can also access the source (and hence the examples) through GitHub: https://github.com/apache/incubator-flink/blob/master/flink-examples/flink-j ava-examples/src/main/java/org/apache/flink/example/java/relational/WebLogAn alysis.java. To build the examples, you can run: "mvn clean package -DskipTests" in the "flink-examples/flink-java-examples" directory. This will re-build them. If you don't want to import the whole Flink project just for playing around with the examples, you can also create an empty maven project. This script: curl https://raw.githubusercontent.com/apache/incubator-flink/master/flink-quicks tart/quickstart.sh | bash will automatically set everything up for you. Just import the "quickstart" project into Eclipse or IntelliJ. It will download all dependencies and package everything correctly. If you want to use an example there, just copy the Java file into the "quickstart" project. The examples are indeed a very good way to learn how to write Flink jobs. Please continue asking if you have further questions! Best, Robert _____ If you reply to this email, your message will be added to the discussion below: http://apache-flink-incubator-user-mailing-list-archive.2336050.n4.nabble.co m/Looking-for-instructions-source-for-flink-java-examples-0-6-incubating-Web LogAnalysis-jar-tp66p67.html To unsubscribe from Looking for instructions & source for flink-java-examples-0.6-incubating-WebLogAnalysis.jar, click here < i5CYXN1QGFsdW1uaS5JTlNFQUQuZWR1fDY2fC0xODQxMzkwMzI4> . NAML |
Free forum by Nabble | Edit this page |