[ 
https://issues.apache.org/jira/browse/METRON-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15569738#comment-15569738
 ] 

Dima Kovalyov commented on METRON-353:
--------------------------------------

+1
I have installed single-node on Amazon EC2 instance with enough memory for it, 
so I doubt that issue is caused by insufficient amount of memory:
{code}
# free -m
             total       used       free     shared    buffers     cached
Mem:         32107      20429      11677          8        221       9441
-/+ buffers/cache:      10766      21340 
Swap:            0          0          0
{code}

metron-deployment/scripts/platform-info.sh:
{code}
Metron 0.2.0BETA
--
* master
--
commit 15d04abecee1fe4e8155ec644a0913d8c0850df4
Author: cstella <ceste...@gmail.com>
Date:   Mon Sep 12 13:47:18 2016 -0400

    METRON-407: We currently do not provide defaults if the Stix Observable 
does not specify a condition closes apache/incubat
--
 metron-deployment/amazon-ec2/ansible.cfg                                       
 |   2 +-
 metron-deployment/amazon-ec2/conf/defaults.yml                                 
 |   5 +-
 metron-deployment/amazon-ec2/playbook.yml                                      
 |   7 +-
 metron-deployment/amazon-ec2/run.sh                                            
 |   8 ++-
 metron-deployment/roles/ambari_config/vars/single_node_vm.yml                  
 |  11 ++--
 metron-deployment/roles/kibana/defaults/main.yml                               
 |   2 +-
 
.../metron-parsers/src/main/java/org/apache/metron/parsers/bolt/ParserBolt.java 
|  17 ++---
 .../src/main/java/org/apache/metron/parsers/bro/BasicBroParser.java            
 |  30 +++------
 .../src/main/java/org/apache/metron/parsers/filters/QueryFilter.java           
 |   7 +-
 .../src/test/java/org/apache/metron/parsers/bro/BasicBroParserTest.java        
 | 130 +++++---------------------------------
 10 files changed, 48 insertions(+), 171 deletions(-)
--
ansible 2.0.0.2
  config file = 
  configured module search path = Default w/o overrides
--
metron-deployment/scripts/platform-info.sh: line 52: vagrant: command not found
--
Python 2.7.5
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T16:41:47+00:00)
Maven home: /opt/apache-maven-3.3.9
Java version: 1.8.0_102, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-327.36.1.el7.x86_64", arch: "amd64", family: 
"unix"
--
Linux ip-172-31-46-71.us-west-2.compute.internal 3.10.0-327.36.1.el7.x86_64 #1 
SMP Sun Sep 18 13:04:29 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
{code}

> Monit unable to start mysqld after successful single node vagrant deployment
> ----------------------------------------------------------------------------
>
>                 Key: METRON-353
>                 URL: https://issues.apache.org/jira/browse/METRON-353
>             Project: Metron
>          Issue Type: Bug
>    Affects Versions: 0.2.1BETA
>         Environment: Quick dev setup installation using vagrant on Macbook 
> Pro.
>            Reporter: Anand Subramanian
>              Labels: metronqe
>             Fix For: 0.2.1BETA
>
>         Attachments: messages, messages-20160725, output-platform-info.rtf
>
>
> This is a single node quick-dev deployment from HEAD using vagrant on a 
> Macbook Pro.  The platform-info output is attached.
> I noticed that monit was not able to start despite trying multiple times and 
> I had to start it manually post-deployment. 
> Note that post-installation, I am able to manually start the mysqld service 
> and it comes up fine.
> Here are the relevant lines from the /var/log/messages on the vagrant node. 
> {code}
> Jul 25 10:30:11 node1 ansible-command: Invoked with warn=True executable=None 
> chdir=None _raw_params=monit start mysql removes=None creates=None 
> _uses_shell=True
> <snip>
> Jul 25 10:30:21 node1 ansible-command: Invoked with warn=True executable=None 
> chdir=None _raw_params=monit start mysql removes=None creates=None 
> _uses_shell=True
> Jul 25 10:30:32 node1 ansible-command: Invoked with warn=True executable=None 
> chdir=None _raw_params=monit start mysql removes=None creates=None 
> _uses_shell=True
> Jul 25 10:30:42 node1 ansible-command: Invoked with warn=True executable=None 
> chdir=None _raw_params=monit start mysql removes=None creates=None 
> _uses_shell=True
> Jul 25 10:30:52 node1 ansible-command: Invoked with warn=True executable=None 
> chdir=None _raw_params=monit start mysql removes=None creates=None 
> _uses_shell=True
> Jul 25 10:31:02 node1 ansible-command: Invoked with warn=True executable=None 
> chdir=None _raw_params=monit start mysql removes=None creates=None 
> _uses_shell=True
> <snip>
> {code}
> From the /var/log/mysqld.log, I could see that there was a shutdown initiated 
> after monit tried restarting bunch of times:
> {code}
> 2016-07-25T10:30:55.152359Z 0 [Note] Giving 0 client threads a chance to die 
> gracefully
> 2016-07-25T10:30:55.152397Z 0 [Note] Shutting down slave threads
> 2016-07-25T10:30:55.152405Z 0 [Note] Forcefully disconnecting 0 remaining 
> clients
> 2016-07-25T10:30:55.152471Z 0 [Note] Event Scheduler: Purging the queue. 0 
> events
> 2016-07-25T10:30:55.153536Z 0 [Note] Binlog end
> 2016-07-25T10:30:55.154549Z 0 [Note] Shutting down plugin 'validate_password'
> 2016-07-25T10:30:55.154573Z 0 [Note] Shutting down plugin 'ngram'
> 2016-07-25T10:30:55.154577Z 0 [Note] Shutting down plugin 'ARCHIVE'
> 2016-07-25T10:30:55.154581Z 0 [Note] Shutting down plugin 'partition'
> 2016-07-25T10:30:55.154584Z 0 [Note] Shutting down plugin 'BLACKHOLE'
> 2016-07-25T10:30:55.154588Z 0 [Note] Shutting down plugin 'CSV'
> 2016-07-25T10:30:55.154601Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
> 2016-07-25T10:30:55.154621Z 0 [Note] Shutting down plugin 'MyISAM'
> 2016-07-25T10:30:55.154631Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
> 2016-07-25T10:30:55.154635Z 0 [Note] Shutting down plugin 
> 'INNODB_SYS_DATAFILES'
> 2016-07-25T10:30:55.154638Z 0 [Note] Shutting down plugin 
> 'INNODB_SYS_TABLESPACES'
> 2016-07-25T10:30:55.154640Z 0 [Note] Shutting down plugin 
> ‘INNODB_SYS_FOREIGN_COLS'
> <snip>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to