Skip to content

Commit

Permalink
add hbase-0.98 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Kübler committed Sep 8, 2014
1 parent d1e9210 commit d343a5f
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 3 deletions.
12 changes: 12 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ Vagrant.configure("2") do |config|
end
end

config.vm.define :hbase098 do |vm_conf|
vm_conf.vm.box = "spantree/ubuntu-precise-64"
vm_conf.vm.hostname = "hbase098.hannibal.dev"
vm_conf.vm.network :private_network, ip: "192.168.80.98"
vm_conf.vm.provision :puppet do |puppet|
puppet.manifests_path = "vagrant/manifests"
puppet.manifest_file = "nodes.pp"
puppet.module_path = "vagrant/modules"
puppet.options = "--verbose"
end
end

config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", 3072]
end
Expand Down
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dir=`dirname $script`

if [ "" = "$HANNIBAL_HBASE_VERSION" ]; then
HANNIBAL_HBASE_VERSION="0.90"
echo "building Hannibal for HBase $HANNIBAL_HBASE_VERSION (may be altered by assigning 0.90, 0.92 or 0.94 to HANNIBAL_HBASE_VERSION)"
echo "building Hannibal for HBase $HANNIBAL_HBASE_VERSION (may be altered by assigning 0.90, 0.92, 0.94, 0.96 or 0.98 to HANNIBAL_HBASE_VERSION)"
else
echo "building Hannibal for HBase $HANNIBAL_HBASE_VERSION (as defined by HANNIBAL_HBASE_VERSION)"
fi
Expand Down
5 changes: 5 additions & 0 deletions create_packages
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ cp target/hannibal-hbase*.tgz deploy/hbase094
HANNIBAL_HBASE_VERSION=0.96 ./create_package
mkdir -p deploy/hbase096
cp target/hannibal-hbase*.tgz deploy/hbase096

./sbt clean
HANNIBAL_HBASE_VERSION=0.98 ./create_package
mkdir -p deploy/hbase098
cp target/hannibal-hbase*.tgz deploy/hbase098
4 changes: 2 additions & 2 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ object ApplicationBuild extends Build {
)
case "0.98" => Seq(
"org.apache.hadoop" % "hadoop-common" % "2.4.0",
"org.apache.hbase" % "hbase-common" % "0.98.1",
"org.apache.hbase" % "hbase-client" % "0.98.1"
"org.apache.hbase" % "hbase-common" % "0.98.1-hadoop2",
"org.apache.hbase" % "hbase-client" % "0.98.1-hadoop2"
)
})

Expand Down
10 changes: 10 additions & 0 deletions vagrant/manifests/nodes.pp
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,13 @@
hbaseVersion => "0.96"
}
}

node "hbase098" {
class { "apache::hbase::standalone":
archiveUrl => "http://archive.apache.org/dist/hbase/hbase-0.98.5/hbase-0.98.5-hadoop1-bin.tar.gz"
}

class { "hannibal":
hbaseVersion => "0.98"
}
}

0 comments on commit d343a5f

Please sign in to comment.