Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 162989

Summary: Provide indication that first time log analysis is slow
Product: z_Archived Reporter: Malcom Zung <zung>
Component: TPTP.monitoringAssignee: Alex Nan <apnan>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P1 CC: apnan, labadie, ruthdaly, smith
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 162562    
Bug Blocks:    

Description Malcom Zung CLA 2006-10-31 16:01:45 EST
The first time XPath analysis is done, the Symptom catalog is compiled and this takes a long time.  Would it be possible to provide some indication to the user that the lengthy process happens only on the first time, and subsequent analysis runs faster?



This request is from an IBM customer.

Here is the info from the customer:

The first time the LTA is using the symptom catalogs/databases there is an unusual delay in response and there is no feedback to the user that this is a one time event and the next time this is done it would take less time to do, maybe a pop up is in order?
Comment 1 Malcom Zung CLA 2006-10-31 16:02:24 EST
The customer team is requesting this fix for the TPTP 4.2.1.1 fix pack.
Comment 2 Dave Smith CLA 2006-11-13 10:43:25 EST
This did not make the cut for inclusion in 4.2.1.1.  Because this is not a critical issue and because the fix is not available in 4.3, it cannot be contained in the 4.2.1.1 fix release.  Also, because 4.2 stream was translated, any new message or change to the UI needs to be translated which adds additional effort to this fix.  Targetting it for 4.4 to develop a fix.
Comment 3 Navid Mehregani CLA 2007-01-12 11:05:16 EST
I'll take care of this Eugene
Comment 4 Dave Smith CLA 2007-01-29 14:38:41 EST
This problem depends on the outcome of https://bugs.eclipse.org/bugs/show_bug.cgi?id=162562.  If the compiling function of the Fast XPATH implementation is removed from TPTP due to internal JDK API usage, and a builder is used to compile the XPath rules offline then there will not be a delay the first time symptom analysis is done.
Comment 5 Navid Mehregani CLA 2007-01-29 15:07:37 EST
hm, I already started working on this bug.  I guess I'll wait until bug 162562 is addressed first.  In the meanwhile, I'll target this bug to future.

As a note to myself, the classes that are responsible for the XPath compilation are located in:
org.eclipse.tptp.platform.provisional.fastxpath.compiler* in the models plugin.
Comment 6 Eric Labadie CLA 2007-08-09 16:24:14 EDT
This is required from AC perspective.  
Comment 7 Alex Nan CLA 2007-09-13 22:55:19 EDT
Although  bug 162562 has been fixed there are still cases in which the catalog won't be compiled so a task label in the analysis job would need to provide a clue to the user that first the rules are compiled when running analysis.
Comment 8 Navid Mehregani CLA 2007-09-18 09:50:46 EDT
Reassigning defect to monitoring lead.
Comment 9 Alex Nan CLA 2008-06-24 18:04:43 EDT
No support will be provided for the Log and Trace Analyzer post 4.5.
Comment 10 Alex Nan CLA 2008-06-24 18:17:48 EDT
Closing.