2 minutes Apache Flink installation

Continuing my effort of keeping track of useful and short guides (more for myself than others), here you have the one to setup Apache Flink quickly.

Note: this installation does not require sudo, is for a single-node cluster (with JAVA_HOME set and Java up to date) with out-of-the-box configuration and DOES NOT use HDFS.

Connect to your server
ssh -L 8081:localhost:8081 username@server

Create a directory for storm and enter it
mkdir flink
cd flink

Download Apache Flink and unzip it
wget http://apache.mirrors.spacedump.net/flink/flink-1.0.3/flink-1.0.3-bin-hadoop1-scala_2.10.tgz (or the appropriate version)
tar -xvf flink-1.0.3-bin-hadoop1-scala_2.10.tgz

Start cluster
./bin/start-cluster

Open your web browser and go to localhost:8081. Do you see the UI? good…

Notes:

Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: