sekikn commented on PR #1197:
URL: https://github.com/apache/bigtop/pull/1197#issuecomment-1769704046
Great work, thank you so much @JiaLiangC. I successfully built the deb
packages with your PR on Ubuntu 20.04 and 22.04 (x86_64).
I have two comments:
* When I tried to install them with the existing Puppet manifest, it failed
with the following error.
```
$ ./docker-hadoop.sh -d -dcp -C config_ubuntu-22.04.yaml -F
docker-compose-cgroupv2.yml -G -L -k hdfs,hbase,ranger -s ranger -c 1
...
Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=--force-confold install postgresql-jdbc' returned 100: Reading
package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package postgresql-jdbc
Error: /Stage[main]/Ranger::Prerequisites/Package[postgresql-jdbc]/ensure:
change from 'purged' to 'latest' failed: Could not update: Execution of
'/usr/bin/apt-get -q -y -o DPkg::Options::=
--force-confold install postgresql-jdbc' returned 100: Reading package
lists...
Building dependency tree...
Reading state information...
E: Unable to locate package postgresql-jdbc
Error: Could not update: Execution of '/usr/bin/apt-get -q -y -o
DPkg::Options::=--force-confold install postgresql-server' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package postgresql-server
Error:
/Stage[main]/Ranger::Prerequisites/Package[postgresql-server]/ensure: change
from 'purged' to 'latest' failed: Could not update: Execution of
'/usr/bin/apt-get -q -y -o DPkg::Options:
:=--force-confold install postgresql-server' returned 100: Reading package
lists...
Building dependency tree...
Reading state information...
E: Unable to locate package postgresql-server
```
The current Puppet manifest is tested only on RPM and assumes RPM package
names for PostgreSQL. But there's no "postgresql-jdbc" and "postgresql-server"
packages on deb-based system.
I suppose adding dependencies on PostgreSQL in Ranger's deb control file
and removing the package declaration for Postgres from the Puppet manifest will
solve the problem, as the Ambari component already did.
Would you fix this problem in this issue? Or you can file it as another
issue and address it separately. Either is fine.
* (minor nit) There are other component names (hbase and hive) in the
copyright and postinst files. Would you fix them?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]