[
https://issues.apache.org/jira/browse/GEARPUMP-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15646237#comment-15646237
]
ASF GitHub Bot commented on GEARPUMP-226:
-----------------------------------------
Github user huafengw commented on a diff in the pull request:
https://github.com/apache/incubator-gearpump/pull/108#discussion_r86914195
--- Diff: project/BuildExperiments.scala ---
@@ -0,0 +1,118 @@
+/*
+ * 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.
+ */
+
+import BuildGearpump._
+import BuildDashboard.services
+import Dependencies._
+import sbt._
+import sbt.Keys._
+
+object BuildExperiments extends sbt.Build {
+
+ lazy val experiments: Seq[ProjectReference] = Seq(
+ // akkastream,
+ cgroup,
+ redis,
+ storm,
+ yarn
+ )
+
+ lazy val yarn = Project(
+ id = "gearpump-experiments-yarn",
+ base = file("experiments/yarn"),
+ settings = commonSettings ++ noPublish ++
+ Seq(
+ libraryDependencies ++= Seq(
+ "org.apache.hadoop" % "hadoop-yarn-api" % hadoopVersion,
+ "org.apache.hadoop" % "hadoop-yarn-client" % hadoopVersion,
+ "org.apache.hadoop" % "hadoop-yarn-common" % hadoopVersion,
+ "commons-httpclient" % "commons-httpclient" % commonsHttpVersion,
+ "org.apache.hadoop" % "hadoop-mapreduce-client-core" %
hadoopVersion,
+ "org.apache.hadoop" % "hadoop-yarn-server-resourcemanager" %
hadoopVersion % "provided",
+ "org.apache.hadoop" % "hadoop-yarn-server-nodemanager" %
hadoopVersion % "provided"
+ )
+ ))
+ .dependsOn(services % "test->test;compile->compile",
+ core % "provided",
gearpumpHadoop).disablePlugins(sbtassembly.AssemblyPlugin)
+
+ lazy val akkastream = Project(
+ id = "gearpump-experiments-akkastream",
+ base = file("experiments/akkastream"),
+ settings = commonSettings ++ noPublish ++ myAssemblySettings ++
+ Seq(
+ libraryDependencies ++= Seq(
+ "org.json4s" %% "json4s-jackson" % "3.2.11"
+ ),
+ mainClass in(Compile, packageBin) :=
Some("akka.stream.gearpump.example.Test")
+ ))
+ .dependsOn(core % "provided", streaming % "test->test; provided")
+
+ lazy val redis = Project(
+ id = "gearpump-experiments-redis",
+ base = file("experiments/redis"),
+ settings = commonSettings ++ noPublish ++
+ Seq(
+ libraryDependencies ++= Seq(
+ "redis.clients" % "jedis" % "2.9.0"
--- End diff --
extract the redis version
> run 'sbt clean assembly' failed
> -------------------------------
>
> Key: GEARPUMP-226
> URL: https://issues.apache.org/jira/browse/GEARPUMP-226
> Project: Apache Gearpump
> Issue Type: Bug
> Reporter: Huafeng Wang
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)