I've noticed this myself recently on master.  Try running the following
first, which will build and install all of the Metron libs in your local M2
cache (~/.m2/repository/org/apache/metron/).

cd incubator-metron
mvn clean install -DskipTests


Then after that completes, try to deploy with Vagrant.

cd incubator-metron/metron-deployment/vagrant/full-dev-platform
vagrant destroy -f
vagrant up


Hope that works for you.


On Sat, Apr 22, 2017 at 5:38 PM, Mark de Rijk <
[email protected]> wrote:

> Hi,
>
>
>
> Docker is running but got the following error after going through a
> vagrant destroy and vagrant up cycle:
>
>
>
> "[ERROR] Failed to execute goal on project metron-writer: Could not
> resolve dependencies for project org.apache.metron:metron-writer:jar:0.3.1:
>
>
> Failed to collect dependencies at 
> org.apache.storm:storm-hdfs:jar:1.0.1.2.5.0.0-1245
> -> org.apache.hadoop:hadoop-hdfs:jar:2.7.3.2.5.0.0-1245 ->
> org.mortbay.jetty:jetty:jar:6.1.26.hwx:
>
> Failed to read artifact descriptor for org.mortbay.jetty:jetty:jar:6.1.26.hwx:
>
>
> Could not transfer artifact org.mortbay.jetty:jetty:pom:6.1.26.hwx
> from/to repository.jboss.org (http://repository.jboss.org/
> nexus/content/groups/public/): Connection reset -> [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-writer"], "warnings"
>
>
>
> Regards,
>
> Mark de Rijk
>
>
>
> *From: *Nick Allen <[email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Saturday, 22April, 2017 at 21:46
> *To: *"[email protected]" <[email protected]>
> *Subject: *Re: Failure installing Full-Dev Vagrant VM
>
>
>
> Are you sure you have the Docker service running?
>
>
>
> On Sat, Apr 22, 2017 at 4:40 PM, Mark de Rijk <
> [email protected]> wrote:
>
> Hi,
>
>
>
> Docker wasn’t installed and after installing I have the following maven
> error:
>
>
>
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
> (docker-build) on project metron-rpm: Command execution failed. Process
> exited with an error: 1 (Exit value: 1) -> [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/MojoExecutionException";,
> "[ERROR] ", "[ERROR] After correcting the problems, you can resume the
> build with the command", "[ERROR]   mvn <goals> -rf :metron-rpm"],
> "warnings": []}
>
>
>
> Regards,
>
> Mark de Rijk
>
>
>
> *From: *Nick Allen <[email protected]>
> *Reply-To: *"[email protected]" <[email protected]>
> *Date: *Saturday, 22April, 2017 at 21:23
> *To: *"[email protected]" <[email protected]>
> *Subject: *Re: Failure installing Full-Dev Vagrant VM
>
>
>
> Do you have Docker running?  It is a dependency that you need installed on
> your build machine that is not mentioned in the README.  We have a JIRA
> open to get that in the README.
>
>
>
> On Sat, Apr 22, 2017 at 4:02 PM, Mark de Rijk <
> [email protected]> wrote:
>
> Hi,
>
>
>
> I am trying to install the full-dev VM using the instructions on:
>
> https://github.com/apache/incubator-metron/tree/master/
> metron-deployment/vagrant/full-dev-platform
>
>
>
> When I get to the vagrant up it starts running through the ansible
> playbook and it fails on the following error:
>
>
>
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec
> (docker-build) on project metron-rpm: Command execution failed.
>
> Cannot run program \"docker\" (in directory \"/Users/mark/Applications/
> Vagrant/incubator-metron-master/metron-deployment/
> packaging/docker/rpm-docker\"): error=2, No such file or directory ->
> [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/MojoExecutionException";,
> "[ERROR] ", "[ERROR] After correcting the problems, you can resume the
> build with the command", "[ERROR]   mvn <goals> -rf :metron-rpm"],
> "warnings": []}
>
>
>
> I really want to get the environment up and running this weekend so I can
> get familiar as soon as possible so I can start contributing to the project.
>
>
>
> If I made some error please do let me know.
>
>
>
> Regards,
>
> Mark de Rijk
>
>
>
>
>
>
>
>
>

Reply via email to