You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Jon Zeolla (JIRA)" <ji...@apache.org> on 2017/04/17 17:09:42 UTC
[jira] [Commented] (METRON-856) Ansible rpm build wipes out prior
binary build
[ https://issues.apache.org/jira/browse/METRON-856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15971346#comment-15971346 ]
Jon Zeolla commented on METRON-856:
-----------------------------------
I didn't have a ton of time to look into this one, but I did attempt the fix above and it errored twice back to back (due to what looks like a separate issue). When I did this in Vagrant I saw:
> TASK [metron-builder : Build Metron RPMs] **************************************
fatal: [node1 -> localhost]: FAILED! => {"changed": true, "cmd": "cd /Users/somebody/dev/testing/incubator-metron/metron-deployment/playbooks/../../metron-deployment && mvn clean package -DskipTests -P build-rpms", "delta": "0:00:02.799851", "end": "2017-04-17 12:40:17.297584", "failed": true, "rc": 1, "start": "2017-04-17 12:40:14.497733", "stderr": "", "stdout": "[INFO] Scanning for projects...
<snip>
"[ERROR] Failed to execute goal on project metron-rpm: Could not resolve dependencies for project org.apache.metron:metron-rpm:pom:0.4.0: The following artifacts could not be resolved: org.apache.metron:metron-platform:pom:0.4.0, org.apache.metron:metron-analytics:pom:0.4.0: Failure to find org.apache.metron:metron-platform:pom:0.4.0 in http://clojars.org/repo was cached in the local repository, resolution will not be reattempted until the update interval of clojars.org has elapsed or updates are forced -> [Help 1]", "[ERROR] ", "[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.", "[ERROR] Re-run Maven using the -X switch to enable full debug logging.", "[ERROR] ", "[ERROR] For more information about the errors and possible solutions, please read the following articles:", "[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException", "[ERROR] ", "[ERROR] After correcting the problems, you can resume the build with the command", "[ERROR] mvn <goals> -rf :metron-rpm"], "warnings": []}
When I tried to run that command locally I saw:
> [WARNING] The POM for org.apache.metron:metron-analytics:pom:0.4.0 is missing, no dependency information available
...
> [WARNING] The POM for org.apache.metron:metron-platform:pom:0.4.0 is missing, no dependency information available
...
> [ERROR] Failed to execute goal on project metron-rpm: Could not resolve dependencies for project org.apache.metron:metron-rpm:pom:0.4.0: The following artifacts could not be resolved: org.apache.metron:metron-platform:pom:0.4.0, org.apache.metron:metron-analytics:pom:0.4.0: Failure to find org.apache.metron:metron-platform:pom:0.4.0 in http://clojars.org/repo was cached in the local repository, resolution will not be reattempted until the update interval of clojars.org has elapsed or updates are forced -> [Help 1]
Like I said, the above looks like it may be a separate issue; I still have yet to search JIRA to see if this is a known issue, but I wanted to put this out there.
> Ansible rpm build wipes out prior binary build
> ----------------------------------------------
>
> Key: METRON-856
> URL: https://issues.apache.org/jira/browse/METRON-856
> Project: Metron
> Issue Type: Bug
> Reporter: David M. Lyle
> Priority: Blocker
> Labels: newbie
> Fix For: 0.4
>
>
> The Ansible build currently does a second clean which undoes the build that was performed with the HDP-2.5.0.0 profile. The 2nd build task in the metron-builder role should look more like:
> bq.{{local_action: shell cd {{ metron_build_dir }}/metron-deployment && mvn clean package -DskipTests -P build-rpms}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)