Remove step upload package to oozie/sharelib

It is not robust to upload a special package in a common method.
However, because of change from Hadoop(2.8.2 and later)side,
we do need the dependency package "commons-httpclient" in
oozie/sharelib to let oozie work.
This patch removes the uploading step in sahara because there is
a patch 2eedcec728b4f93e4cb226c5137159dcb3ddbfa3 which add
"commons-httpclient" as a dependency to oozie/sharelib.
So when we build the oozie binary package, "commons-httpclient"
will be as a part of it.

Change-Id: I4f20a356efc2dcc51aac2f10105be6aa351f87e8
This commit is contained in:
Shu Yingya 2018-01-29 10:49:41 +08:00
parent ddfdb0c925
commit 7553ae8fc8
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 ' \