I've been struggling to deploy HDP 2.6.5 via docker.
I downloaded and ran the deploy script but kept receiving this error for this line of command:
+ docker exec -t sandbox-hdp sh -c rm -rf /var/run/postgresql/*; systemctl restart postgresql;
Failed to get D-Bus connection: No such file or directory
Calling systemctl thru the container CLI gives the same error. I used this script to replace the container's /bin/systemctl but was unable to start postgresql ( systemctl start -v postgresql yields
WARNING:systemctl:No PIDFile for forking '/usr/lib/systemd/system/postgresql.service'
WARNING:systemctl:forking start not active
which resulted in unsuccessful start of ambari-server and localhost:1080 kept giving 502 bad gateway. Any idea how to solve this? Thanks!