You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@metron.apache.org by Tarik Courdy <ta...@gmail.com> on 2018/01/09 16:12:31 UTC

Installing Metron 0.4.1

Good morning -

I am trying to follow this guide
<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>
to installing Metron 0.4.1 on a Virtual Machine running CentOS 7.

I am able to get to the section titled "Build Metron Code" and then I fail
on this command:

​> ​
mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack


I have attached the stack trace at the point where the error is encountered.

I have also attached the npm-debug.log

I looked at the package.json file in
/home/admin/metron/metron-interface/metron-config/
and noticed that tough-cookie is not listed as a dependency.

I tried npm install tough-cookie in that directory and when I re-run the
mvn command it doesn't fail on the tough-cookie dependency, but it does
fail on another missing dependency.

If there is any insight you could provide to help me get metron set up, it
would be greatly appreciated.

Thank you for your time.

-Tarik

Re: Installing Metron 0.4.1

Posted by Farrukh Naveed Anjum <an...@gmail.com>.
you need to install GCC Development Tools. After that this error will go
off. I spent couple of days figuring this out. Its a bug that occurs if
development tools are not installed.

On Tue, Jan 9, 2018 at 10:09 PM, Otto Fowler <ot...@gmail.com>
wrote:

> Laurens got to it actually.
>
>
> On January 9, 2018 at 11:51:58, Ryan Merriman (merrimanr@gmail.com) wrote:
>
> Thanks Otto you beat me to it.  Was this not added to our documentation?
>
> On Tue, Jan 9, 2018 at 10:50 AM, Otto Fowler <ot...@gmail.com>
> wrote:
>
>> As answered on irc, updating gcc got Tarik by this.  Laurens FTW!
>>
>>
>> On January 9, 2018 at 11:24:47, Tarik Courdy (tarik.courdy@gmail.com)
>> wrote:
>>
>> Here is the output of the platform_info.sh
>>
>> Thank you.
>>
>> -Tarik
>>
>> On Tue, Jan 9, 2018 at 9:12 AM, Tarik Courdy <ta...@gmail.com>
>> wrote:
>>
>>> Good morning -
>>>
>>> I am trying to follow this guide
>>> <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>
>>> to installing Metron 0.4.1 on a Virtual Machine running CentOS 7.
>>>
>>> I am able to get to the section titled "Build Metron Code" and then I
>>> fail on this command:
>>>
>>> ​> ​
>>> mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
>>>
>>>
>>> I have attached the stack trace at the point where the error is
>>> encountered.
>>>
>>> I have also attached the npm-debug.log
>>>
>>> I looked at the package.json file in /home/admin/metron/metron-interface/metron-config/
>>> and noticed that tough-cookie is not listed as a dependency.
>>>
>>> I tried npm install tough-cookie in that directory and when I re-run the
>>> mvn command it doesn't fail on the tough-cookie dependency, but it does
>>> fail on another missing dependency.
>>>
>>> If there is any insight you could provide to help me get metron set up,
>>> it would be greatly appreciated.
>>>
>>> Thank you for your time.
>>>
>>> -Tarik
>>>
>>
>>
>


-- 
With Regards
Farrukh Naveed Anjum

Re: Installing Metron 0.4.1

Posted by Otto Fowler <ot...@gmail.com>.
Laurens got to it actually.


On January 9, 2018 at 11:51:58, Ryan Merriman (merrimanr@gmail.com) wrote:

Thanks Otto you beat me to it.  Was this not added to our documentation?

On Tue, Jan 9, 2018 at 10:50 AM, Otto Fowler <ot...@gmail.com>
wrote:

> As answered on irc, updating gcc got Tarik by this.  Laurens FTW!
>
>
> On January 9, 2018 at 11:24:47, Tarik Courdy (tarik.courdy@gmail.com)
> wrote:
>
> Here is the output of the platform_info.sh
>
> Thank you.
>
> -Tarik
>
> On Tue, Jan 9, 2018 at 9:12 AM, Tarik Courdy <ta...@gmail.com>
> wrote:
>
>> Good morning -
>>
>> I am trying to follow this guide
>> <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>
>> to installing Metron 0.4.1 on a Virtual Machine running CentOS 7.
>>
>> I am able to get to the section titled "Build Metron Code" and then I
>> fail on this command:
>>
>> ​> ​
>> mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
>>
>>
>> I have attached the stack trace at the point where the error is
>> encountered.
>>
>> I have also attached the npm-debug.log
>>
>> I looked at the package.json file in /home/admin/metron/metron-interface/metron-config/
>> and noticed that tough-cookie is not listed as a dependency.
>>
>> I tried npm install tough-cookie in that directory and when I re-run the
>> mvn command it doesn't fail on the tough-cookie dependency, but it does
>> fail on another missing dependency.
>>
>> If there is any insight you could provide to help me get metron set up,
>> it would be greatly appreciated.
>>
>> Thank you for your time.
>>
>> -Tarik
>>
>
>

Re: Installing Metron 0.4.1

Posted by Ryan Merriman <me...@gmail.com>.
Thanks Otto you beat me to it.  Was this not added to our documentation?

On Tue, Jan 9, 2018 at 10:50 AM, Otto Fowler <ot...@gmail.com>
wrote:

> As answered on irc, updating gcc got Tarik by this.  Laurens FTW!
>
>
> On January 9, 2018 at 11:24:47, Tarik Courdy (tarik.courdy@gmail.com)
> wrote:
>
> Here is the output of the platform_info.sh
>
> Thank you.
>
> -Tarik
>
> On Tue, Jan 9, 2018 at 9:12 AM, Tarik Courdy <ta...@gmail.com>
> wrote:
>
>> Good morning -
>>
>> I am trying to follow this guide
>> <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>
>> to installing Metron 0.4.1 on a Virtual Machine running CentOS 7.
>>
>> I am able to get to the section titled "Build Metron Code" and then I
>> fail on this command:
>>
>> ​> ​
>> mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
>>
>>
>> I have attached the stack trace at the point where the error is
>> encountered.
>>
>> I have also attached the npm-debug.log
>>
>> I looked at the package.json file in /home/admin/metron/metron-interface/metron-config/
>> and noticed that tough-cookie is not listed as a dependency.
>>
>> I tried npm install tough-cookie in that directory and when I re-run the
>> mvn command it doesn't fail on the tough-cookie dependency, but it does
>> fail on another missing dependency.
>>
>> If there is any insight you could provide to help me get metron set up,
>> it would be greatly appreciated.
>>
>> Thank you for your time.
>>
>> -Tarik
>>
>
>

Re: Installing Metron 0.4.1

Posted by Otto Fowler <ot...@gmail.com>.
As answered on irc, updating gcc got Tarik by this.  Laurens FTW!


On January 9, 2018 at 11:24:47, Tarik Courdy (tarik.courdy@gmail.com) wrote:

Here is the output of the platform_info.sh

Thank you.

-Tarik

On Tue, Jan 9, 2018 at 9:12 AM, Tarik Courdy <ta...@gmail.com> wrote:

> Good morning -
>
> I am trying to follow this guide
> <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>
> to installing Metron 0.4.1 on a Virtual Machine running CentOS 7.
>
> I am able to get to the section titled "Build Metron Code" and then I fail
> on this command:
>
> ​> ​
> mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
>
>
> I have attached the stack trace at the point where the error is
> encountered.
>
> I have also attached the npm-debug.log
>
> I looked at the package.json file in /home/admin/metron/metron-interface/metron-config/
> and noticed that tough-cookie is not listed as a dependency.
>
> I tried npm install tough-cookie in that directory and when I re-run the
> mvn command it doesn't fail on the tough-cookie dependency, but it does
> fail on another missing dependency.
>
> If there is any insight you could provide to help me get metron set up, it
> would be greatly appreciated.
>
> Thank you for your time.
>
> -Tarik
>

Re: Installing Metron 0.4.1

Posted by Tarik Courdy <ta...@gmail.com>.
Here is the output of the platform_info.sh

Thank you.

-Tarik

On Tue, Jan 9, 2018 at 9:12 AM, Tarik Courdy <ta...@gmail.com> wrote:

> Good morning -
>
> I am trying to follow this guide
> <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>
> to installing Metron 0.4.1 on a Virtual Machine running CentOS 7.
>
> I am able to get to the section titled "Build Metron Code" and then I fail
> on this command:
>
> ​> ​
> mvn clean package -DskipTests -T 2C -P HDP-2.5.0.0,mpack
>
>
> I have attached the stack trace at the point where the error is
> encountered.
>
> I have also attached the npm-debug.log
>
> I looked at the package.json file in /home/admin/metron/metron-interface/metron-config/
> and noticed that tough-cookie is not listed as a dependency.
>
> I tried npm install tough-cookie in that directory and when I re-run the
> mvn command it doesn't fail on the tough-cookie dependency, but it does
> fail on another missing dependency.
>
> If there is any insight you could provide to help me get metron set up, it
> would be greatly appreciated.
>
> Thank you for your time.
>
> -Tarik
>