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 77e59694e5
commit b5cb1860dc
2 changed files with 0 additions and 4 deletions

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