Thanks, Figuring out what is wrong, I'll update the documentation on how to
install it on Ubuntu with all the details.
I guess my next step would be Manual installation of Metron on EC2
On Wednesday, November 21, 2018, 11:15:13 AM EST, Nick Allen
<[email protected]> wrote:
On the host where you are trying to build Metron, can you run the following
script and send back the output?
metron/metron-deployment/scripts/platform-info.sh
Other dependencies are documented here. Apologies, I know it is not easy for
first-timers to build Metron, but we will help you through it.
https://github.com/apache/metron/tree/master/metron-deployment/development/centos6#prerequisites
And also please be sure to read this warning about using the automated
deployment scripts to EC2.
https://github.com/apache/metron/tree/master/metron-deployment#how-do-i-deploy-metron-within-aws
On Wed, Nov 21, 2018 at 11:08 AM Babak Abbaschian <[email protected]>
wrote:
Hi, I'm trying to deploy Metron on EC2, and I'm following this link:
https://github.com/apache/metron/tree/master/metron-deployment/amazon-ec2
First I had to guess based on the errors and description for macOS! that we
need Vagrant, node and etc.
So here is the process that I take on Ubuntu 18.1:
export AWS_ACCESS_KEY_ID="XXXXXXXXXXXXX0XXXXXX"
export AWS_SECRET_ACCESS_KEY="xxxXXX0XXXxXXxX0xx0xXX0xXxxXX0xXxxX0XXxx"
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
PATH=$JAVA_HOME/bin:$PATH ssh-keygen
apt install maven //Version 3.3.9
apt install python-pip
pip install ansible==2.4.1
///////////////////////////////////////////////////////////////////////////////
// Ansible versions higher than 2.4.1 will end up with this error:
// **************Task Create Virtual private cloud ***************
// fatal: [localhost]: FAILED! => {"changed": false, "msg": "This module has
been removed. The module documentation may contain
// hints for porting"}
///////////////////////////////////////////////////////////////////////////////
apt install nodejs-legacy //The system is using command node, not nodejs
apt install npm apt install virtualbox //Version 5.5.2
wget https://releases.hashicorp.com/vagrant/2.2.0/vagrant_2.2.0_x86_64.deb
///////////////////////////////////////////////////////////////////////////////
// Vagrant in apt cache is version 1.8 which has a bug installing hostmanager
///////////////////////////////////////////////////////////////////////////////
dpkg -i vagrant_2.2.0_x86_64.deb
vagrant plugin install vagrant-hostmanager
git clone https://github.com/apache/metron.git
cd metron/metron-deployment/amazon-ec2/
./run.sh
And I End up with failed master node with this error:
[ERROR]Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
metron-config:Failed to run task:'npm ci' failed.(error code 1)->[Help1]
org.apache.maven.lifecycle.LifecycleExecutionException:Failed to execute goal
com.github.eirslett:frontend-maven-plugin:1.3:npm (npm ci) on project
metron-config:Failed to run taskat
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
Jira Issue:
https://issues.apache.org/jira/projects/METRON/issues/METRON-1876?filter=allissues
Thanks,Babak.