If you go to https://github.com/ottobackwards/Metron-and-Nifi-Scripts,
 check the readme for support type scripts at the bottom.

try running real-clean-metron and install-build-all-metron from the support
dir.

If you run it as here, then you can send us the log output file if it
doesn’t work.
[Note, I don’t know what OS you are using, the script does NOT make sure
docker is running]

> export METRON_HOME=/SOMEWHERECOOL/src/apache/forks/incubator-metron
> support/real-clean-metron | tee what_happened.log &&
support/install-build-all-metron | tee what_happened.log



On April 23, 2017 at 09:09:25, Otto Fowler ([email protected]) wrote:

Good morning Mark,

I’m going to read through your mails again.  Maybe you can jump on irc?


On April 23, 2017 at 09:02:03, Mark de Rijk (
[email protected]) wrote:

Hi,



As the target directory and file is not there what can I do to make the
installation progress?

Is there are separation installation switch I have to supply? I read
something on the Dev list about switching out Maven but how would I go
about doing that?



Regards,

Mark de Rijk



*From: *Nick Allen <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Sunday, 23April, 2017 at 13:56
*To: *"[email protected]" <[email protected]>
*Subject: *Re: Failure installing Full-Dev Vagrant VM



The 'target' directory must have been removed at some point.  Continue your
progress.  Any problems?



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

Hi,



I was already searching for the target directory but it doesn’t seem to
exist:

/Users/mark/Applications/Vagrant/incubator-metron-master/metron-deployment

metron-deployment mark$ ls

README.md        ansible.cfg            inventory
playbooks              roles                       vagrant

amazon-ec2         extra_modules    packaging
pom.xml                                scripts



Regards,

Mark de Rijk





*From: *Ryan Merriman <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Sunday, 23April, 2017 at 00:43

*To: *"[email protected]" <[email protected]>
*Subject: *Re: Failure installing Full-Dev Vagrant VM



Mark,



We have a maven plugin that checks all the files in incubator-metron for a
license header.  You need to remove the offending file (will be listed
in 
/Users/mark/Applications/Vagrant/incubator-metron-master/metron-deployment/target/rat.txt)
before you can proceed.



Ryan


On Apr 22, 2017, at 6:03 PM, Mark de Rijk <
[email protected]> wrote:

Hi,



When I was running the mvn clean install –DskipTests command

I got the following error and metron-deployment was marked as failed:



Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check
(default) on project metron-deployment: Too many files with unapproved
license: 1 See RAT report in:
/Users/mark/Applications/Vagrant/incubator-metron-master/metron-deployment/target/rat.txt
-> [Help 1]



Then when I went through:

vagrant destroy –f

vagrant up

I got the following 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": []}



It looks to me it is trying to retrieve something from:
http://repository.jboss.org/nexus/content/groups/public



Regards,

Mark de Rijk



*From: *Nick Allen <[email protected]>
*Reply-To: *"[email protected]" <[email protected]>
*Date: *Saturday, 22April, 2017 at 23:39
*To: *"[email protected]" <[email protected]>
*Subject: *Re: Failure installing Full-Dev Vagrant VM





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