Merge "Remove step upload package to oozie/sharelib"

This commit is contained in:
Zuul 2018-04-12 18:24:39 +00:00 committed by Gerrit Code Review
commit b3ed720dd6
3 changed files with 6 additions and 4 deletions

View File

@ -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".

View File

@ -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")

View File

@ -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 ' \