我正在尝试根据Dev VM install on CentOS
安装和部署Metron当我无所事事时,我在“任务[metron-builder:Clean Metron]期间遇到障碍。
(我尝试粘贴整个错误代码,但是超出了字符数限制。我尝试将其粘贴到pastebin中并在此处链接,但它表示对于任何pastebin链接,仍必须在此处包含该代码)。因此,我尝试查明出现故障的部分。
TASK [metron-builder : Clean Metron]*******************************************
changed: [node1 -> localhost] => (item=mvn clean -P HDP-2.5.0.0)
changed: [node1 -> localhost] => (item=mvn clean -P mpack)
failed: [node1 -> localhost] (item=mvn clean -P build-rpms) => {"changed":true, "cmd": "mvn clean -P build-rpms", "delta": "0:00:03.392621", "end": "2018-10-10 15:20:01.002724", "item": "mvn clean -P build-rpms","msg": "non-zero return code", "rc": 1, "start": "2018-10-1015:19:57.610103", "stderr": "", "stderr_lines": [], "stdout":"[INFO] Scanning for projects...\n[INFO]------------------------------------------------------------------------\n
这:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.0.0:clean (default-clean) on project metron-rpm: Failed to clean project: Failed to delete /home/<user>/metron/metron-deployment/packaging/docker/rpm-docker/.npm/_locks ->
问题是,虽然我可以在我的Metron文件夹中正常运行mvn clean -Dmaven.clean.skip=true
且没有错误,但不要紧,因为在运行无业游民的时候它仍然可以执行该过程。我在Metron文件夹中找不到任何Maven设置(因此我所做的任何更改仅与Metron部署有关。)
除此之外,还有一些背景知识:
我想念什么吗?