Currently supporting Apache Flink 1.2.1.
Vagrant project to spin up a cluster of 2 task manager nodes and 1 job manager node, residing on 64-bit Ubuntu Trusty Linux virtual machines
Ideal for development cluster on a laptop with at least 8GB of memory.
- At least 1GB memory for each VM node.
- Vagrant [latest version]
- VirtualBox [latest version]
- Download and install VirtualBox
- Download and install Vagrant.
- Run
vagrant box add ubuntu/trusty64
- Git clone this project, and change directory (cd) into this project (directory).
- Update the FLINK_VERSION value in the file scripts/common.sh, according to the ones avaliable
- Run
./start-cluster.sh
to create the VMs. - Run
vagrant ssh jobmanager
to get into your job manager VM. Runvagrant ssh taskmanager-0[0-2]
to get into your job manager VM. - Run
vagrant destroy
when you want to destroy all VMs or trying to start from refresh.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.