[ 
https://issues.apache.org/jira/browse/TRAFODION-1098?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suresh Subbiah updated TRAFODION-1098:
--------------------------------------
    Fix Version/s:     (was: 2.2.0)

> LP Bug: 1437314 - NULL value for severity and cpu in some monitor log files
> ---------------------------------------------------------------------------
>
>                 Key: TRAFODION-1098
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-1098
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: foundation
>            Reporter: Gao, Rui-Xian
>            Assignee: Atanu Mishra
>            Priority: Major
>
> severity, component, node_number and cpu is null in some monitor log files, 
> and also got some  '2181' for severity and component.
> System info – centos-mapr1.hpl.hp.com (port num: 37800)
> results --
> 1.       CPU is NULL in some monitor logs.
> SQL>select [first 6] * from udf(event_log_reader('f')) where cpu is NULL;
> LOG_TS                     SEVERITY   COMPONENT                NODE_NUMBER 
> CPU         PIN         PROCESS_NAME SQL_CODE    QUERY_ID                     
>                                                                               
>                       MESSAGE                                                 
>                                                                          
> LOG_FILE_NODE LOG_FILE_NAME                                                   
>                                                                  
> LOG_FILE_LINE PARSE_STATUS
> -------------------------- ---------- ------------------------ ----------- 
> ----------- ----------- ------------ ----------- 
> --------------------------------------------------------------------------------------------------------------------------------
>  
> --------------------------------------------------------------------------------------------------------------------------------
>  ------------- 
> --------------------------------------------------------------------------------------------------------------------------------
>  ------------- ------------
> 2015-03-24 17:36:00.606000 INFO       MON                                3    
>     NULL        5775 $MONITOR            NULL NULL                            
>                                                                               
>                    TID: 5775, Message ID: 101020103, [CMonitor::main], 
> monitor Version 1.0.1 Release 1.1.0 (Build release [1.0.0-237-gf89a122_Bld9], 
> branch f89a122-master, date 20150324_083001), Started! CommType: Sockets      
>        2 mon.20150324.17.35.59.centos-mapr3.5775.log                          
>                                                                         1
> 2015-03-24 17:36:00.607000 INFO       MON                                3    
>     NULL        5775 $MONITOR            NULL NULL                            
>                                                                               
>                    TID: 5775, Message ID: 101010401, [CCluster::CCluster] 
> Validation of node down is enabled                                            
>         2 mon.20150324.17.35.59.centos-mapr3.5775.log                         
>                                                                          2
> 2015-03-24 17:36:40.004000 NULL       NULL                            NULL    
>     NULL        NULL NULL                NULL NULL                            
>                                                                               
>                    :24095(0x7f9cc387fac0):ZOO_INFO@log_env@723: Client 
> environment:os.name=Linux                                                     
>            0 mon.20150324.17.35.59.centos-mapr5.23499.log                     
>                                                                             8 
> E
> 2015-03-24 17:36:40.004000 NULL       NULL                            NULL    
>     NULL        NULL NULL                NULL NULL                            
>                                                                               
>                    :24095(0x7f9cc387fac0):ZOO_INFO@log_env@724: Client 
> environment:os.arch=2.6.32-358.23.2.el6.x86_64                                
>            0 mon.20150324.17.35.59.centos-mapr5.23499.log                     
>                                                                             9 
> E
> 2015-03-24 17:36:40.004000 NULL       NULL                            NULL    
>     NULL        NULL NULL                NULL NULL                            
>                                                                               
>                    :24095(0x7f9cc387fac0):ZOO_INFO@log_env@725: Client 
> environment:os.version=#1 SMP Wed Oct 16 18:37:12 UTC 2013                    
>            0 mon.20150324.17.35.59.centos-mapr5.23499.log                     
>                                                                            10 
> E
> 2015-03-24 17:36:39.982000 NULL       NULL                            NULL    
>     NULL        NULL NULL                NULL NULL                            
>                                                                               
>                    :31682(0x7f99e400bac0):ZOO_INFO@log_env@723: Client 
> environment:os.name=Linux                                                     
>            1 mon.20150324.17.35.59.centos-mapr4.31190.log                     
>                                                                             8 
> E
> 2015-03-24 17:36:39.982000 NULL       NULL                            NULL    
>     NULL        NULL NULL                NULL NULL                            
>                                                                               
>                    :31682(0x7f99e400bac0):ZOO_INFO@log_env@724: Client 
> environment:os.arch=2.6.32-431.el6.x86_64                                     
>            1 mon.20150324.17.35.59.centos-mapr4.31190.log                     
>                                                                             9 
> E
> --- 6 row(s) selected.
> 2. Severity and Component are 2181 in some monitor logs.
> SQL>select * from udf(event_log_reader('f')) where severity='2181';
> LOG_TS                     SEVERITY   COMPONENT                NODE_NUMBER 
> CPU         PIN         PROCESS_NAME SQL_CODE    QUERY_ID                     
>                                                                               
>                       MESSAGE                                                 
>                                                                          
> LOG_FILE_NODE LOG_FILE_NAME                                                   
>                                                                  
> LOG_FILE_LINE PARSE_STATUS
> -------------------------- ---------- ------------------------ ----------- 
> ----------- ----------- ------------ ----------- 
> --------------------------------------------------------------------------------------------------------------------------------
>  
> --------------------------------------------------------------------------------------------------------------------------------
>  ------------- 
> --------------------------------------------------------------------------------------------------------------------------------
>  ------------- ------------
> 2015-03-24 17:36:40.004000 2181       2181                            NULL    
>     NULL        NULL NULL                NULL NULL                            
>                                                                               
>                    centos-mapr3.hpl.hp.com:2181 sessionTimeout=180000 
> watcher=0x4d35e0 sessionId=0 sessionPasswd=<null> context=(nil) flags=0       
>             0 mon.20150324.17.35.59.centos-mapr5.23499.log                    
>                                                                             
> 14 E
> 2015-03-24 17:36:39.795000 2181       2181                            NULL    
>     NULL        NULL NULL                NULL NULL                            
>                                                                               
>                    centos-mapr3.hpl.hp.com:2181 sessionTimeout=180000 
> watcher=0x4d35e0 sessionId=0 sessionPasswd=<null> context=(nil) flags=0       
>             2 mon.20150324.17.35.59.centos-mapr3.5775.log                     
>                                                                             
> 14 E
> 2015-03-24 17:36:39.982000 2181       2181                            NULL    
>     NULL        NULL NULL                NULL NULL                            
>                                                                               
>                    centos-mapr3.hpl.hp.com:2181 sessionTimeout=180000 
> watcher=0x4d35e0 sessionId=0 sessionPasswd=<null> context=(nil) flags=0       
>             1 mon.20150324.17.35.59.centos-mapr4.31190.log                    
>                                                                             
> 14 E
> 2015-03-24 17:36:39.867000 2181       2181                            NULL    
>     NULL        NULL NULL                NULL NULL                            
>                                                                               
>                    centos-mapr3.hpl.hp.com:2181 sessionTimeout=180000 
> watcher=0x4d35e0 sessionId=0 sessionPasswd=<null> context=(nil) flags=0       
>             5 mon.20150324.17.35.59.centos-mapr6.7341.log                     
>                                                                             
> 14 E
> --- 4 row(s) selected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to