Hi David, building the RPMs requires building full Metron first. Switch to
the root project directory for Metron and run "mvn clean install" from
there. It will build and test all modules which are then able to be bundled
up with RPM. You might also check out this page for some options on
deployment - https://github.com/apache/metron/tree/master/metron-deployment.
If you're looking just to get a quickstart sense of Metron, I would spin up
our full dev environment in Vagrant. The link I shared has references to
that. If you're looking to do a full-on bare metal installation, then
you're probably already in the right place, though it looks like those docs
are from 0.4.1 which is from some time ago.

Best,
Mike Miklavcic

On Wed, Oct 24, 2018 at 8:10 AM David Auclair <[email protected]> wrote:

> I'm trying to build Metron and encountering some build errors.
>
> Build environment is CentOS7 (minimal install), configured according to
> the following:
>
> https://cwiki.apache.org/confluence/display/METRON/Metron+0.4.1+with+HDP+2.5+bare-metal+install+on+Centos+7+with+MariaDB+for+Metron+REST
>
> And running the build command, according to this:
>
> https://metron.apache.org/current-book/metron-deployment/packaging/docker/rpm-docker/index.html
>
> I've encountered a build failure on the following step:
> [INFO] metron-rpm ......................................... FAILURE [
> 41.832 s]
>
> It looks like it's attempting to package up the components for building in
> Docker, but encountering an issue:
> + tar -xzf /root/SOURCES/metron-common-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> + tar -xzf /root/SOURCES/metron-parsers-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> + tar -xzf /root/SOURCES/metron-elasticsearch-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> + tar -xzf /root/SOURCES/metron-data-management-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> + tar -xzf /root/SOURCES/metron-solr-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> + tar -xzf /root/SOURCES/metron-enrichment-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> + tar -xzf /root/SOURCES/metron-indexing-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> + tar -xzf /root/SOURCES/metron-pcap-backend-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> + tar -xzf /root/SOURCES/metron-profiler-storm-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> + tar -xzf /root/SOURCES/metron-rest-0.6.1-archive.tar.gz -C
> /root/BUILDROOT/metron-0.6.1-root/usr/metron/0.6.1
> tar (child): /root/SOURCES/metron-rest-0.6.1-archive.tar.gz: Cannot open:
> No such file or directory
> tar (child): Error is not recoverable: exiting now
>
> Any advice on how to solve this issue?
>
> Thanks in advance,
> David Auclair
> Information and Technology Services
> University of Toronto
>
> This email and any attachments contain privileged and / or confidential
> information for internal University of Toronto communication only unless
> otherwise indicated.
>
>

Reply via email to