I want to play with the Sandbox for docker. I'm using an Ubuntu 16.04 VM and the latest version of Docker.
I run sh start-sandbox-hdp.sh but ambari-agent doesn't work.
can help me please
If ambari agent is not starting then it must be logging something.
So can you please check and share the following log?
# ls -l /var/log/ambari-agent/ambari-agent.log
If needed then please try starting the ambari agent in DEBUG mode by making the "loglevel=DEBUG" change in the "/etc/ambari-agent/conf/ambari-agent.ini" file to get more detailed logging:
[agent] logdir=/var/log/ambari-agent piddir=/var/run/ambari-agent prefix=/var/lib/ambari-agent/data ;loglevel=(DEBUG/INFO) loglevel=DEBUG
Then restart the ambari agent to see DEBUG logging.
# ambari-agent restart
I don't have the ambari-agent folder and the command ambari-agent not exist
This is likely a duplicate of my issue that occurs for Docker versions > 17.09 (reproduced with versions 17.11 and 17.12, the latter being the latest stable version for Ubuntu 16.04)
I followed the suggestion and produced debug log files after restart of the ambari-agent (note that the ambari-agent hasn't been started by the start script).
As the log files are too large for upload, should I look for any specific entries that could help to identify the root cause?
Please disable ambari-agent DEBUG logging and then try to restart the agent to see if normal agent log shows any error/unexpected behavior? Non Debug log of agent should be fairly small.
for those running ubuntu 16.04 the shell script to start the HDP sandbox 2.6.3 Docker image will hang using Docker CE version 17.11 or 17.12. The problem does not occure with version 17.09