Skip to content

Commit

Permalink
Adds new Flink versions 1.2.1, 1.3.0, and 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
akunft committed Aug 4, 2017
1 parent 8d7ae0f commit e466a6b
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ Peel offers the following features for your experiments.
| Flink | 1.1.3 | `flink-1.1.3` |
| Flink | 1.1.4 | `flink-1.1.4` |
| Flink | 1.2.0 | `flink-1.2.0` |
| Flink | 1.2.1 | `flink-1.2.1` |
| Flink | 1.3.0 | `flink-1.3.0` |
| Flink | 1.3.1 | `flink-1.3.1` |
| MapReduce | 1.2.1 | `mapred-1.2.1` |
| MapReduce | 2.4.1 | `mapred-2.4.1` |
| Spark | 1.3.1 | `spark-1.3.1` |
Expand Down
19 changes: 19 additions & 0 deletions peel-extensions/src/main/resources/reference.flink-1.2.1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# include common flink configuration
include "reference.flink.conf"

system {
flink {
path {
archive.url = "http://archive.apache.org/dist/flink/flink-1.2.1/flink-1.2.1-bin-hadoop2-scala_2.10.tgz"
archive.md5 = "98b4ffd1da15eb508ff3a5d227ce7ed6"
archive.src = ${app.path.downloads}"/flink-1.2.1-bin-hadoop2-scala_2.10.tgz"
home = ${system.flink.path.archive.dst}"/flink-1.2.1"
}
config {
# flink.yaml entries
yaml {
env.pid.dir = "/tmp/flink-1.2.1-pid"
}
}
}
}
19 changes: 19 additions & 0 deletions peel-extensions/src/main/resources/reference.flink-1.3.0.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# include common flink configuration
include "reference.flink.conf"

system {
flink {
path {
archive.url = "http://archive.apache.org/dist/flink/flink-1.3.0/flink-1.3.0-bin-hadoop2-scala_2.10.tgz"
archive.md5 = "aa3bc47e358c2330e8823c60f860719d"
archive.src = ${app.path.downloads}"/flink-1.3.0-bin-hadoop2-scala_2.10.tgz"
home = ${system.flink.path.archive.dst}"/flink-1.3.0"
}
config {
# flink.yaml entries
yaml {
env.pid.dir = "/tmp/flink-1.3.0-pid"
}
}
}
}
19 changes: 19 additions & 0 deletions peel-extensions/src/main/resources/reference.flink-1.3.1.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# include common flink configuration
include "reference.flink.conf"

system {
flink {
path {
archive.url = "http://archive.apache.org/dist/flink/flink-1.3.1/flink-1.3.1-bin-hadoop2-scala_2.10.tgz"
archive.md5 = "380e8ff05fe7f86dab1eac4bd7d5f394"
archive.src = ${app.path.downloads}"/flink-1.3.1-bin-hadoop2-scala_2.10.tgz"
home = ${system.flink.path.archive.dst}"/flink-1.3.1"
}
config {
# flink.yaml entries
yaml {
env.pid.dir = "/tmp/flink-1.3.1-pid"
}
}
}
}
24 changes: 24 additions & 0 deletions peel-extensions/src/main/scala/org/peelframework/extensions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,30 @@ class extensions extends ApplicationContextAware {
mc = ctx.getBean(classOf[Mustache.Compiler])
)

@Bean(name = Array("flink-1.2.1"))
def `flink-1.2.1`: Flink = new Flink(
version = "1.2.1",
configKey = "flink",
lifespan = Lifespan.EXPERIMENT,
mc = ctx.getBean(classOf[Mustache.Compiler])
)

@Bean(name = Array("flink-1.3.0"))
def `flink-1.3.0`: Flink = new Flink(
version = "1.3.0",
configKey = "flink",
lifespan = Lifespan.EXPERIMENT,
mc = ctx.getBean(classOf[Mustache.Compiler])
)

@Bean(name = Array("flink-1.3.1"))
def `flink-1.3.1`: Flink = new Flink(
version = "1.3.1",
configKey = "flink",
lifespan = Lifespan.EXPERIMENT,
mc = ctx.getBean(classOf[Mustache.Compiler])
)

// Spark

@Bean(name = Array("spark-1.3.1"))
Expand Down

0 comments on commit e466a6b

Please sign in to comment.