Skip to content
Permalink
Browse files
Merge branch 'branch-1.1'
  • Loading branch information
Konstantin Boudnik committed Jan 30, 2016
2 parents 6b88f2c + dd1ce78 commit f90bacc52ac1a5904cc95c26563aef4cdc99707f
Show file tree
Hide file tree
Showing 7 changed files with 581 additions and 5 deletions.

Large diffs are not rendered by default.

@@ -21,7 +21,7 @@ boot2docker:
memory_size: "4096"
number_cpus: "1"

repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.0.0/centos/6/x86_64"
repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/centos/6/x86_64"
distro: centos
components: [hadoop, yarn]
namenode_ui_port: "50070"
@@ -21,7 +21,7 @@ boot2docker:
memory_size: "4096"
number_cpus: "1"

repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.0.0/debian/8/x86_64"
repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/debian/8/x86_64"
distro: debian
components: [hadoop, yarn]
namenode_ui_port: "50070"
@@ -21,7 +21,7 @@ boot2docker:
memory_size: "4096"
number_cpus: "1"

repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.0.0/ubuntu/trusty/x86_64"
repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/ubuntu/trusty/x86_64"
distro: debian
components: [hadoop, yarn]
namenode_ui_port: "50070"
@@ -16,7 +16,7 @@
memory_size: 4096
number_cpus: 1
box: "puppetlabs/centos-7.0-64-nocm"
repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.0.0/centos/7/x86_64"
repo: "http://bigtop-repos.s3.amazonaws.com/releases/1.1.0/centos/7/x86_64"
num_instances: 1
distro: centos
components: [hadoop, yarn]
@@ -15,6 +15,32 @@
# limitations under the License.

set -ex
######################################################################
# BIGTOP-2288 Please remove this patch when maven repository is updated
# with version of leveldbjni-all library that is not x86 specific
if [ $HOSTTYPE = "powerpc64le" ] ; then
#download the POWER version of leveldb
git clone git://github.com/ibmsoe/leveldb.git
git clone https://github.com/ibmsoe/leveldbjni.git
export SNAPPY_HOME=/usr/lib
export LEVELDB_HOME=`cd leveldb; pwd`
export LEVELDBJNI_HOME=`cd leveldbjni; pwd`
export LIBRARY_PATH=${SNAPPY_HOME}
cd ${LEVELDB_HOME}
export C_INCLUDE_PATH=${LIBRARY_PATH}
export CPLUS_INCLUDE_PATH=${LIBRARY_PATH}
git apply ../leveldbjni/leveldb.patch
make libleveldb.a
#Now use maven to build and update the local maven repository with ppc version of
#leveldbjni.
cd ${LEVELDBJNI_HOME}
mvn clean install -DskipTests -P download -Plinux64,all
cd ..
#cleanup
rm -rf ${LEVELDBJNI_HOME}
rm -rf ${LEVELDB_HOME}
fi
## BIGTOP-2288

. `dirname $0`/bigtop.bom

Large diffs are not rendered by default.

0 comments on commit f90bacc

Please sign in to comment.