Return-Path: X-Original-To: apmail-flink-commits-archive@minotaur.apache.org Delivered-To: apmail-flink-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 180EA11096 for ; Wed, 20 Aug 2014 11:47:55 +0000 (UTC) Received: (qmail 91669 invoked by uid 500); 20 Aug 2014 11:47:55 -0000 Delivered-To: apmail-flink-commits-archive@flink.apache.org Received: (qmail 91648 invoked by uid 500); 20 Aug 2014 11:47:54 -0000 Mailing-List: contact commits-help@flink.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.incubator.apache.org Delivered-To: mailing list commits@flink.incubator.apache.org Received: (qmail 91639 invoked by uid 99); 20 Aug 2014 11:47:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 11:47:54 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 20 Aug 2014 11:47:32 +0000 Received: (qmail 91448 invoked by uid 99); 20 Aug 2014 11:47:30 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2014 11:47:30 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A03ED95422B; Wed, 20 Aug 2014 11:47:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sewen@apache.org To: commits@flink.incubator.apache.org Date: Wed, 20 Aug 2014 11:47:29 -0000 Message-Id: <4dc6883cabf842a4ab2baa359a6f00b0@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: [FLINK-1050] Windows local setup documentation: added note for java being in %PATH% variable, headers, and missing link label X-Virus-Checked: Checked by ClamAV on apache.org Repository: incubator-flink Updated Branches: refs/heads/master e8f2e9d0e -> 6c48063ad [FLINK-1050] Windows local setup documentation: added note for java being in %PATH% variable, headers, and missing link label This closes #95 Project: http://git-wip-us.apache.org/repos/asf/incubator-flink/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-flink/commit/91a52a14 Tree: http://git-wip-us.apache.org/repos/asf/incubator-flink/tree/91a52a14 Diff: http://git-wip-us.apache.org/repos/asf/incubator-flink/diff/91a52a14 Branch: refs/heads/master Commit: 91a52a140a11f8a917dd735b384b61387bbf47e6 Parents: e8f2e9d Author: Fabian Hueske Authored: Thu Aug 14 18:00:57 2014 +0200 Committer: Stephan Ewen Committed: Wed Aug 20 13:32:53 2014 +0200 ---------------------------------------------------------------------- docs/local_setup.md | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/91a52a14/docs/local_setup.md ---------------------------------------------------------------------- diff --git a/docs/local_setup.md b/docs/local_setup.md index dd8ffe5..d12401b 100644 --- a/docs/local_setup.md +++ b/docs/local_setup.md @@ -56,12 +56,17 @@ INFO ... - Starting web info server for JobManager on port 8081 The JobManager will also start a web frontend on port 8081, which you can check with your browser at `http://localhost:8081`. +
# Flink on Windows If you want to run Flink on Windows you need to download, unpack and configure the Flink archive as mentioned above. After that you can either use the **Windows Batch** file (`.bat`) or use **Cygwin** to run the Flink Jobmanager. +### Starting with Windows Batch Files + To start Flink in local mode from the *Windows Batch*, open the command window, navigate to the `bin/` directory of Flink and run `start-local.bat`. +Note: The ``bin`` folder of your Java Runtime Environment must be included in Window's ``%PATH%`` variable. Follow this [guide](http://www.java.com/en/download/help/path.xml) to add Java to the ``%PATH%`` variable. + ```bash $ cd flink $ cd bin @@ -72,6 +77,8 @@ Do not close this batch window. Stop job manager by pressing Ctrl+C. After that, you need to open a second terminal to run jobs using `flink.bat`. +### Starting with Cygwin and Unix Scripts + With *Cygwin* you need to start the Cygwin Terminal, navigate to your Flink directory and run the `start-local.sh` script: ```bash @@ -80,6 +87,8 @@ $ bin/start-local.sh Starting Nephele job manager ``` +### Installing Flink from Git + If you are installing Flink from the git repository and you are using the Windows git shell, Cygwin can produce a failure similiar to this one: ```bash