You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2019/05/29 03:40:53 UTC

[hbase] branch branch-2 updated: HBASE-22471 Our nightly jobs for master and branch-2 are still using hadoop-2.7.1 in integration test

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 6876199  HBASE-22471 Our nightly jobs for master and branch-2 are still using hadoop-2.7.1 in integration test
6876199 is described below

commit 6876199bac7e0caa4fe1fea768966ba31c346622
Author: zhangduo <zh...@apache.org>
AuthorDate: Tue May 28 22:46:06 2019 +0800

    HBASE-22471 Our nightly jobs for master and branch-2 are still using hadoop-2.7.1 in integration test
---
 dev-support/Jenkinsfile | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index aa3ca36..fa112a4 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -133,6 +133,10 @@ pipeline {
                   --keys 'http://www.apache.org/dist/hadoop/common/KEYS' \
                   "${WORKSPACE}/hadoop-${HADOOP2_VERSION}-bin.tar.gz" \
                   "hadoop/common/hadoop-${HADOOP2_VERSION}/hadoop-${HADOOP2_VERSION}.tar.gz"
+              for stale in $(ls -1 "${WORKSPACE}"/hadoop-2*.tar.gz | grep -v ${HADOOP2_VERSION}); do
+                echo "Delete stale hadoop 2 cache ${stale}"
+                rm -rf $stale
+              done
             '''
             stash name: 'hadoop-2', includes: "hadoop-${HADOOP2_VERSION}-bin.tar.gz"
           }
@@ -156,6 +160,10 @@ pipeline {
                   --keys 'http://www.apache.org/dist/hadoop/common/KEYS' \
                   "${WORKSPACE}/hadoop-${HADOOP3_VERSION}-bin.tar.gz" \
                   "hadoop/common/hadoop-${HADOOP3_VERSION}/hadoop-${HADOOP3_VERSION}.tar.gz"
+              for stale in $(ls -1 "${WORKSPACE}"/hadoop-3*.tar.gz | grep -v ${HADOOP3_VERSION}); do
+                echo "Delete stale hadoop 3 cache ${stale}"
+                rm -rf $stale
+              done
             '''
             stash name: 'hadoop-3', includes: "hadoop-${HADOOP3_VERSION}-bin.tar.gz"
           }