udf- event_log_reader: tm.log_0_xxxx.log is not processed by the udf

Bug #1412642 reported by gaoruixian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Released
Critical
Hans Zeller

Bug Description

Since all tm.log_0_xxxx.log are empty on my testing system(centos-mapr1), I copied tm.log to tm.log_0_7476.log. It has content so should be processed by the udf.

I created tm.log_0_7476.log on both node0(centos-mapr1) and node2(centos-mapr3) because logs on node0 won’t show up.
But there is no record of tm.log_0_7476.log returned by the udf.

tm.log will be processed, but not tm.log_0_xxxx.log

Tried on both workstation and cluster –

SQL>select count(*) from udf(event_log_reader('f')) where log_file_name like 'tm.log_%';

(EXPR)
--------------------
                   0

--- 1 row(s) selected.

Changed in trafodion:
importance: Undecided → High
milestone: none → r1.1
assignee: nobody → Adriana Fuentes (adriana-fuentes)
Revision history for this message
Suresh Subbiah (suresh-subbiah) wrote :

Likely a bug in the UDF. I can work on it if Adriana does not mind.

Changed in trafodion:
assignee: Adriana Fuentes (adriana-fuentes) → Suresh Subbiah (suresh-subbiah)
Changed in trafodion:
importance: High → Critical
Revision history for this message
Hans Zeller (hans-zeller) wrote :

There was a bug in the file name test. When the file name contained the string ".log" internally, not just at the end, we failed the test that was supposed to check that the file name ends in ".log".

Changed in trafodion:
assignee: Suresh Subbiah (suresh-subbiah) → Hans Zeller (hans-zeller)
status: New → In Progress
Revision history for this message
Hans Zeller (hans-zeller) wrote :
Changed in trafodion:
status: In Progress → Fix Committed
Revision history for this message
gaoruixian (ruixian-gao) wrote :

The fix has been verified on traf_0122 build on centos-mapr1.

Changed in trafodion:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.