CMS Extension SDK - Performance issue

Description

While running a snapshot Run Extensions takes long time and never finish, as shown in the screen shot attached below:

Observed in CAST AIP

ReleaseYes/No
8.3.x

Observed on RDBMS

RDBMSYes/No
CSS

Step by Step Scenario

Below is the step-by-step scenario leading to the problem:

  1. Package the source code and deliver it using DMT.
  2. Accept the sources in CMS and set it as current version and run the snapshot.
  3. While running the Run Extensions takes long time to finish or some times never finish.

Impact of the Problem

The impact of the problem on the analysis or the dashboard is:  The snapshot will not end and you will not see any objects on the dashboard.

Action Plan

To fix the problem, proceed as follows:

  1. Open the log of Run Extensions, to see the log location please check this page
  2. Check the last line of the log, if the last line of the log says “Updating cast system views …” and the time taken is huge then you can do the below,
  3. Find attached a script file to install instead of the existing one.
    1. Rename <INSTALL_FOLDER>\Third-Party\Python34\Lib\site-packages\cast\application\internal\run_plugins.py into run_plugins.old.
    2. Put the attached file into   <INSTALL_FOLDER>\Third-Party\Python34\Lib\site-packages\cast\application\internal
  4. Relaunch analysis + snapshot

Installing the attached script will skip the Update cast system view step while running the Run Extensions step, but at last the Run CSV will run post snapshot.

The Run CSV was put in the script just in case if the script use CAST System View.

Impact of the Solution

Impact of the solution on the analysis or the dashboard is: There is no impact.

Notes/comments

Ticket #7401

Related Pages