aboutsummaryrefslogtreecommitdiff
path: root/jdk8-terasort-benchmark.yaml
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-04-10 09:41:09 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2016-04-10 09:41:09 +0300
commite253f153ad2e2761f0f985d043fac848f6e3c251 (patch)
treefb80bcc01c0557fc6235287f730dcf01215cf7e4 /jdk8-terasort-benchmark.yaml
parent3ba9f4e66d562bfac9861fb085804056dd3ff067 (diff)
downloadconfigs-e253f153ad2e2761f0f985d043fac848f6e3c251.tar.gz
jdk8-terasort-benchmark: sync with jdk9-terasort-benchmark
* restrict wher the build is run * copy jdk and hadoop terasort reference files from local filesystem * set hadoop tmp dir location to ${HOME}/hadoop/tmp Change-Id: I6e1e34f2369f04da833b347e63e17f60d223e127 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'jdk8-terasort-benchmark.yaml')
-rw-r--r--jdk8-terasort-benchmark.yaml26
1 files changed, 18 insertions, 8 deletions
diff --git a/jdk8-terasort-benchmark.yaml b/jdk8-terasort-benchmark.yaml
index febaddef6..92871cb28 100644
--- a/jdk8-terasort-benchmark.yaml
+++ b/jdk8-terasort-benchmark.yaml
@@ -26,6 +26,11 @@
name: BUILD_TYPE
values:
- release
+ - axis:
+ type: slave
+ name: label
+ values:
+ - aarch64-06
execution-strategy:
sequential: true
wrappers:
@@ -35,11 +40,13 @@
- matrix-tie-parent:
node: aarch64-06
builders:
- - copyartifact:
- project: jdk8-build-image
- filter: 'out/jdk8-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
- target: incoming
- flatten: true
+# copyartifact is slow and the file is local
+# copy instead of going back and forth between master <-> slave
+# - copyartifact:
+# project: jdk8-build-image
+# filter: 'out/jdk8-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz'
+# target: incoming
+# flatten: true
- copyartifact:
project: openjdk8-hadoop-LCA14
filter: 'out/openjdk8-hadoop-LCA14.tar.gz'
@@ -54,7 +61,7 @@
## Extract jdk
rm -rf jdk8*
- tar xf incoming/BUILD_TYPE=${BUILD_TYPE},JVM_VARIANT=${JVM_VARIANT}/jdk8-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
+ tar xf ~/workspace/jdk8-build-image/BUILD_TYPE/${BUILD_TYPE}/JVM_VARIANT/${JVM_VARIANT}/label/${NODE_NAME}/out/jdk8-${JVM_VARIANT}-${BUILD_TYPE}.tar.gz
export JAVA_HOME=${WORKSPACE}/jdk8-${JVM_VARIANT}-${BUILD_TYPE}
export PATH=${JAVA_HOME}/bin:$PATH
@@ -65,7 +72,8 @@
## Benchmark
# FIXME
- (cd incoming; wget --progress=dot -e dotbytes=10M http://openjdk-apm1/openjdk8-build-artefacts/${NGIGABYTES}GB.tar.gz; tar xf ${NGIGABYTES}GB.tar.gz)
+ #(cd incoming; wget --progress=dot -e dotbytes=10M http://openjdk-apm1/openjdk8-build-artefacts/${NGIGABYTES}GB.tar.gz; tar xf ${NGIGABYTES}GB.tar.gz)
+ (cd incoming; tar xf ~/srv/hadoop-terasort-reference-files/${NGIGABYTES}GB.tar.gz)
TERAGEN_BASELINE_DIR=${WORKSPACE}/incoming
HADOOP_DIR=${WORKSPACE}/openjdk8-hadoop-LCA14
@@ -75,6 +83,7 @@
sed -i '/^export JAVA_HOME=/d' ${HADOOP_DIR}/conf/hadoop-env.sh
echo "export JAVA_HOME=$JAVA_HOME" >> ${HADOOP_DIR}/conf/hadoop-env.sh
+ sed -i 's|/work/${user.name}/hadoop-tmp|${user.home}/hadoop/tmp|' ${HADOOP_DIR}/conf/core-site.xml
source ${HADOOP_DIR}/env.sh
@@ -86,7 +95,8 @@
stop-dfs.sh
stop-yarn.sh
- rm -rf ${HOME}/hadoop-tmp
+ rm -rf ${HOME}/hadoop/tmp
+ mkdir -p ${HOME}/hadoop/tmp
hdfs namenode -format -force
start-dfs.sh
start-yarn.sh