Hi folks,

I filed a Jira, but I’ll try here also.

When installing Oozie from the Puppet manifests on Ubuntu, it tries to
install the server and client on the same box and files clash :

2018-07-05 15:55:07 DEBUG hadoop-relation-changed Unpacking oozie (4.3.0-1)
...
2018-07-05 15:55:07 DEBUG hadoop-relation-changed dpkg: error processing
archive /var/cache/apt/archives/oozie_4.3.0-1_all.deb (--unpack):
2018-07-05 15:55:07 DEBUG hadoop-relation-changed  trying to overwrite
'/usr/lib/oozie/lib/api-asn1-api-1.0.0-M20.jar', which is also in package
oozie-client 4.3.0-1
2018-07-05 15:55:07 DEBUG hadoop-relation-changed dpkg-deb: error:
subprocess paste was killed by signal (Broken pipe)
2018-07-05 15:55:07 DEBUG hadoop-relation-changed Processing triggers for
man-db (2.7.5-1) ...
2018-07-05 15:55:07 DEBUG hadoop-relation-changed Processing triggers for
systemd (229-4ubuntu21.2) ...
2018-07-05 15:55:07 DEBUG hadoop-relation-changed Processing triggers for
ureadahead (0.100.0-19) ...
2018-07-05 15:55:07 DEBUG hadoop-relation-changed Errors were encountered
while processing:
2018-07-05 15:55:07 DEBUG hadoop-relation-changed
 /var/cache/apt/archives/oozie_4.3.0-1_all.deb
2018-07-05 15:55:07 DEBUG hadoop-relation-changed E: Sub-process
/usr/bin/dpkg returned an error code (1)ESC[0m
2018-07-05 15:55:07 DEBUG hadoop-relation-changed ESC[mNotice:
/Stage[main]/Hadoop_oozie::Server/File[/etc/oozie/conf/oozie-site.xml]:
Dependency Package[oozie] has failures: trueESC[0m
2018-07-05 15:55:07 DEBUG hadoop-relation-changed ESC[1;31mWarning:
/Stage[main]/Hadoop_oozie::Server/File[/etc/oozie/conf/oozie-site.xml]:
Skipping because of failed dependenciesESC[0m

So, without doing anything too drastic, is it possible to get around this?
I’ve tried blocking the install of the client but it’s mandatory it seems,
so is there a semi-clean hack to make it happen?

Tom

--
Spicule Limited is registered in England & Wales. Company Number:
09954122. Registered office: First Floor, Telecom House, 125-135 Preston
Road, Brighton, England, BN1 6AF. VAT No. 251478891.
All engagements
are subject to Spicule Terms and Conditions of Business. This email and its
contents are intended solely for the individual to whom it is addressed and
may contain information that is confidential, privileged or otherwise
protected from disclosure, distributing or copying. Any views or opinions
presented in this email are solely those of the author and do not
necessarily represent those of Spicule Limited. The company accepts no
liability for any damage caused by any virus transmitted by this email. If
you have received this message in error, please notify us immediately by
reply email before deleting it from your system. Service of legal notice
cannot be effected on Spicule Limited by email.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB