-
Notifications
You must be signed in to change notification settings - Fork 1.7k
AMBARI-25746: fix the question of dev-support build docker containers #3376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Install mvn before compiling
…-check-certificate'.
|
Still have problem when running on my machine |
|
hi @kevinw66 |
…ns.sh and already exists ambari-rpm-build container
|
update |
kevinw66
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 LGTM, thanks @stdnt-xiao
https://issues.apache.org/jira/browse/AMBARI-25746
What changes were proposed in this pull request?
An error is reported when run ./dev-support/docker/centos7/build-containers.sh
as follows:
No package /root/ambari-agent.rpm available. Error: Nothing to do Setting up mariadb-server Created symlink from /etc/systemd/system/multi-user.target.wants/mariadb.service to /usr/lib/systemd/system/mariadb.service. ERROR at line 1: Failed to open file '/var/lib/ambari-server/resources/Ambari-DDL-MySQL-CREATE.sql', error: 2 Setting up ambari-server bash: ambari-server: command not found bash: ambari-server: command not foundreason:
I am building in a new server environment, the server does not have mvn installed by default
solve:
Install mvn before compiling
How was this patch tested?
Use Docker cluster environment for tests(scripts are under ./dev-support/docker/centos7/build-containers.sh)