Skip to content

Commit

Permalink
Merge pull request ceph#26100 from ceph/wip-s3a-hadoop-ver
Browse files Browse the repository at this point in the history
qa/tests: update s3a hadoop versions used for test

Reviewed-by: Casey Bodley <[email protected]>
  • Loading branch information
cbodley authored Mar 25, 2019
2 parents 1fdd8ed + 22222e2 commit 9fdcaae
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 8 deletions.
1 change: 1 addition & 0 deletions qa/suites/rgw/hadoop-s3a/hadoop/default.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

3 changes: 3 additions & 0 deletions qa/suites/rgw/hadoop-s3a/hadoop/trunk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
overrides:
s3a-hadoop:
hadoop-version: 'trunk'
3 changes: 0 additions & 3 deletions qa/suites/rgw/hadoop-s3a/hadoop/v27.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion qa/suites/rgw/hadoop-s3a/hadoop/v28.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
overrides:
s3a-hadoop:
hadoop-version: '2.8.0'
hadoop-version: '2.8.5'
3 changes: 3 additions & 0 deletions qa/suites/rgw/hadoop-s3a/hadoop/v32.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
overrides:
s3a-hadoop:
hadoop-version: '3.2.0'
1 change: 1 addition & 0 deletions qa/suites/rgw/hadoop-s3a/supported-distros/.qa
1 change: 0 additions & 1 deletion qa/suites/rgw/hadoop-s3a/supported-random-distro$

This file was deleted.

9 changes: 6 additions & 3 deletions qa/tasks/s3a_hadoop.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def task(ctx, config):
rgw_node = rgws.remotes.keys()[0]
# get versions
maven_major = config.get('maven-major', 'maven-3')
maven_version = config.get('maven-version', '3.3.9')
hadoop_ver = config.get('hadoop-version', '2.7.3')
maven_version = config.get('maven-version', '3.6.0')
hadoop_ver = config.get('hadoop-version', '2.9.2')
bucket_name = config.get('bucket-name', 's3atest')
access_key = config.get('access-key', 'EGAQRD2ULOIFKFSKCT4F')
dnsmasq_name = config.get('dnsmasq-name', 's3.ceph.com')
Expand All @@ -48,10 +48,13 @@ def task(ctx, config):
# set versions for cloning the repo
apache_maven = 'apache-maven-{maven_version}-bin.tar.gz'.format(
maven_version=maven_version)
maven_link = 'http://apache.mirrors.lucidnetworks.net/maven/' + \
maven_link = 'http://www-us.apache.org/dist/maven/' + \
'{maven_major}/{maven_version}/binaries/'.format(maven_major=maven_major, maven_version=maven_version) + apache_maven
hadoop_git = 'https://github.com/apache/hadoop'
hadoop_rel = 'hadoop-{ver} rel/release-{ver}'.format(ver=hadoop_ver)
if hadoop_ver == 'trunk':
# just checkout a new branch out of trunk
hadoop_rel = 'hadoop-ceph-trunk'
install_prereq(rgw_node)
rgw_node.run(
args=[
Expand Down

0 comments on commit 9fdcaae

Please sign in to comment.