From ae95b574699a0c2f4be98033bdbf70b7f66ad4a7 Mon Sep 17 00:00:00 2001
From: Dmitriy Lyubimov <dlyubimov@apache.org>
Date: Fri, 9 Aug 2013 12:45:18 -0700
Subject: [PATCH] Pull HBASE_VERSION in the head of sbt build

---
 project/SparkBuild.scala | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/project/SparkBuild.scala b/project/SparkBuild.scala
index 236f424dff..8988818e18 100644
--- a/project/SparkBuild.scala
+++ b/project/SparkBuild.scala
@@ -40,6 +40,9 @@ object SparkBuild extends Build {
   //val HADOOP_MAJOR_VERSION = "2"
   //val HADOOP_YARN = true
 
+  // HBase version jar thrown to lib_managed in this build; set as appropriate.
+  val HBASE_VERSION = "0.94.6"
+
   lazy val root = Project("root", file("."), settings = rootSettings) aggregate(core, repl, examples, bagel, streaming, mllib, tools)
 
   lazy val core = Project("core", file("core"), settings = coreSettings)
@@ -227,7 +230,7 @@ object SparkBuild extends Build {
     libraryDependencies ++= Seq(
       "com.twitter" % "algebird-core_2.9.2" % "0.1.11",
 
-      "org.apache.hbase" % "hbase" % "0.94.6" excludeAll(excludeNetty, excludeAsm),
+      "org.apache.hbase" % "hbase" % HBASE_VERSION excludeAll(excludeNetty, excludeAsm),
 
       "org.apache.cassandra" % "cassandra-all" % "1.2.5"
         exclude("com.google.guava", "guava")
-- 
GitLab