diff --git a/releasenotes/notes/remove-upload-oozie-sharelib-step-in-vanilla-2.8.2-546b2026e2f5d557.yaml b/releasenotes/notes/remove-upload-oozie-sharelib-step-in-vanilla-2.8.2-546b2026e2f5d557.yaml new file mode 100644 index 0000000000..55ea288e39 --- /dev/null +++ b/releasenotes/notes/remove-upload-oozie-sharelib-step-in-vanilla-2.8.2-546b2026e2f5d557.yaml @@ -0,0 +1,6 @@ +--- +issues: + - | + Remove the step "upload httpclient to oozie/sharelib" in sahara code. + User should use latest vanilla-2.8.2 image which is built on SIE + "Change-ID: I3a25ee8c282849911089adf6c3593b1bb50fd067". diff --git a/sahara/plugins/vanilla/hadoop2/run_scripts.py b/sahara/plugins/vanilla/hadoop2/run_scripts.py index 319850eab0..48e61c563b 100644 --- a/sahara/plugins/vanilla/hadoop2/run_scripts.py +++ b/sahara/plugins/vanilla/hadoop2/run_scripts.py @@ -192,8 +192,6 @@ def _oozie_share_lib(remote): 'hadoop fs -mkdir /user && ' 'hadoop fs -mkdir /user/hadoop && ' 'hadoop fs -put /tmp/oozielib/share /user/hadoop/ && ' - 'hadoop fs -put /opt/oozie/libtools/commons-httpclient-3.1.jar ' - '/user/hadoop/share/lib/oozie/ &&' 'rm -rf /tmp/oozielib" hadoop') LOG.debug("Creating sqlfile for Oozie") diff --git a/sahara/tests/unit/plugins/vanilla/hadoop2/test_run_scripts.py b/sahara/tests/unit/plugins/vanilla/hadoop2/test_run_scripts.py index 583c23fb5d..8ffb4be1a8 100644 --- a/sahara/tests/unit/plugins/vanilla/hadoop2/test_run_scripts.py +++ b/sahara/tests/unit/plugins/vanilla/hadoop2/test_run_scripts.py @@ -189,8 +189,6 @@ class RunScriptsTest(base.SaharaTestCase): 'hadoop fs -mkdir /user && ' \ 'hadoop fs -mkdir /user/hadoop && ' \ 'hadoop fs -put /tmp/oozielib/share /user/hadoop/ && ' \ - 'hadoop fs -put /opt/oozie/libtools/commons-httpclient-3.1.jar ' \ - '/user/hadoop/share/lib/oozie/ &&' \ 'rm -rf /tmp/oozielib" hadoop' cmd_2 = 'sudo su - -c "/opt/oozie/bin/ooziedb.sh ' \ 'create -sqlfile oozie.sql ' \