Skip to content

Commit c188267

Browse files
authored
Merge pull request ceph#61106 from ivancich/wip-fix-hadoop-java
qa/rgw: force Hadoop to run under Java 1.8 Reviewed-by: Casey Bodley <[email protected]>
2 parents 97555e0 + c550318 commit c188267

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qa/tasks/s3a_hadoop.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ def run_s3atest(client, maven_version, testdir, test_options):
213213
run.Raw('&&'),
214214
run.Raw(rm_test),
215215
run.Raw('&&'),
216+
run.Raw('JAVA_HOME=$(alternatives --list | grep jre_1.8.0 | head -n 1 | awk \'{print $3}\')'),
216217
run.Raw(run_test),
217218
run.Raw(test_options)
218219
]

0 commit comments

Comments
 (0)