Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
okeanos-LoD
Commits
f8d6cb30
Commit
f8d6cb30
authored
Jun 25, 2015
by
Themis Zamani
Browse files
Merge pull request #6 from gouzouni625/LAM-16
LAM-16 Ansible playbooks for Apache Flink.
parents
c6852af6
5a4b8346
Changes
3
Hide whitespace changes
Inline
Side-by-side
ansible/files/usr/local/flink/conf/flink-conf.yaml
0 → 100644
View file @
f8d6cb30
################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
################################################################################
#==============================================================================
# Common
#==============================================================================
jobmanager.rpc.address
:
master
jobmanager.rpc.port
:
6123
jobmanager.heap.mb
:
512
taskmanager.heap.mb
:
512
taskmanager.numberOfTaskSlots
:
2
parallelization.degree.default
:
2
#==============================================================================
# Web Frontend
#==============================================================================
jobmanager.web.port
:
8081
webclient.port
:
8080
#==============================================================================
# Advanced
#==============================================================================
# The number of buffers for the network stack.
#
# taskmanager.network.numberOfBuffers: 2048
# Directories for temporary files.
#
# Add a delimited list for multiple directories, using the system directory
# delimiter (colon ':' on unix) or a comma, e.g.:
# /data1/tmp:/data2/tmp:/data3/tmp
#
# Note: Each directory entry is read from and written to by a different I/O
# thread. You can include the same directory multiple times in order to create
# multiple I/O threads against that directory. This is for example relevant for
# high-throughput RAIDs.
#
# If not specified, the system-specific Java temporary directory (java.io.tmpdir
# property) is taken.
#
taskmanager.tmp.dirs
:
/tmp
# Path to the Hadoop configuration directory.
#
# This configuration is used when writing into HDFS. Unless specified otherwise,
# HDFS file creation will use HDFS default settings with respect to block-size,
# replication factor, etc.
#
# You can also directly specify the paths to hdfs-default.xml and hdfs-site.xml
# via keys 'fs.hdfs.hdfsdefault' and 'fs.hdfs.hdfssite'.
#
# fs.hdfs.hadoopconf: /path/to/hadoop/conf/
ansible/playbooks/apache-flink/flink-install.yml
0 → 100644
View file @
f8d6cb30
---
-
hosts
:
master
user
:
root
tasks
:
-
name
:
Download Apache Flink, Yarn version.
get_url
:
url=http://apache.tsl.gr/flink/flink-0.8.1/flink-0.8.1-bin-hadoop2-yarn.tgz dest=/root/flink-0.8.1-bin-hadoop2-yarn.tgz
tags
:
-
download
-
name
:
Uncompress Apache Flink.
unarchive
:
src=/root/flink-0.8.1-bin-hadoop2-yarn.tgz dest=/usr/local copy=no
tags
:
-
uncompress
-
name
:
Create softlink for Apache Flink.
file
:
src=/usr/local/flink-yarn-0.8.1 dest=/usr/local/flink state=link
tags
:
-
uncompress
-
name
:
Configure Apache Flink.
copy
:
src=../files/usr/local/flink/conf/flink-conf.yaml dest=/usr/local/flink/conf/flink-conf.yaml owner=root group=root mode=0644
tags
:
-
configure
-
name
:
Start Apache Flink.
shell
:
/usr/local/flink/bin/yarn-session.sh -n 2 -tm
512
async
:
31536000
# Stay alive for a year(1 year = 31536000 seconds).
poll
:
0
tags
:
-
start
ansible/playbooks/files
0 → 120000
View file @
f8d6cb30
../files/
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment