Clarity

 View Only
Expand all | Collapse all

LoadDataWarehouse job fails

  • 1.  LoadDataWarehouse job fails

    Posted Apr 02, 2020 11:31 AM
    Hello!

    We upgraded to 15.7 and were hoping this would solve the ldw-job failing issue.
    But still no go.

    When job is started, after a few minutes it hangs and seems to be doing nothing.

    bg-dwh.log shows this as the last entries:
    INFO 2020-04-02 14:20:09,536 [dwh_jb_pre_execution UUID: c88661f7-8e23-463b-930c-311ed7052d57] dwh.event dwh_jb_pre_execution - Starting entry [ClarityDB - isOracle?]
    INFO 2020-04-02 14:20:09,536 [dwh_jb_pre_execution UUID: c88661f7-8e23-463b-930c-311ed7052d57] dwh.event dwh_jb_pre_execution - Starting entry [dwh_tr_pre_execution_oracle]
    INFO 2020-04-02 14:20:09,536 [dwh_jb_pre_execution UUID: c88661f7-8e23-463b-930c-311ed7052d57] dwh.event dwh_tr_pre_execution_oracle - Loading transformation from XML file [file:///opt/clarity/META-INF/datamart/etl_scripts/dwh_cmn_etl_jobs/dwh_tr_pre_execution.ktr]
    INFO 2020-04-02 14:20:09,545 [dwh_jb_pre_execution UUID: c88661f7-8e23-463b-930c-311ed7052d57] dwh.event dwh_tr_pre_execution - Dispatching started for transformation [dwh_tr_pre_execution]

    After this nothing happens until the 600minutes timeout occurs and job fails.

    Any ideas?


  • 2.  RE: LoadDataWarehouse job fails

    Broadcom Employee
    Posted Apr 02, 2020 11:36 AM
    HI Rainer

    Does this happen on all environments of yours? What is the Oracle version you're using? Is DWH and Clarity on the same server and was it always the same issue even before the upgrade?

    Please provide the full bg-dwh logs

    Please check in the DWH database : select * from DWH_GATHER_METRICS_V 
    This will give us some clues on what is slow.


  • 3.  RE: LoadDataWarehouse job fails
    Best Answer

    Broadcom Employee
    Posted Apr 07, 2020 09:48 AM

    Hi Rainer

     

    thank you for the files, looks like the execution actually stops at DWH_LKP_DOCUMENT_TYPE.

    Could you please try the following:

    1. Find the lookup attribute that uses DOCUMENT_TYPE and uncheck it from Data Warehouse. Make sure you uncheck the lookup attribute and also ensure the lookup fields in DWH_META_COLUMNS are is_deleted =1

    You can use the query such as: select * from dwh_meta_columns where lookup_type ='DWH_LKP_DOCUMENT_TYPE'

    1. Run a Full Load of Data Warehouse

    See if this helps. My guess is something is wrong with the lookup or its data.

     

    Thank you -Nika




  • 4.  RE: LoadDataWarehouse job fails

    Posted Apr 16, 2020 04:51 AM
    Hi!

    Here's what we did, our comments in BOLD:

    1. Find the lookup attribute that uses DOCUMENT_TYPE and uncheck it from Data Warehouse.

    How can I find within the objects the attributes that uses DOCUMENT_TYPE lookup type?

     

    Make sure you uncheck the lookup attribute and also ensure the lookup fields in DWH_META_COLUMNS are is_deleted =1

    I ran the following update:

    update dwh_meta_columns

    set is_deleted = '1'

    where SRC_COLUMN_NAME = 'document_type';

     

    You can use the query such as: select * from dwh_meta_columns where lookup_type ='DWH_LKP_DOCUMENT_TYPE'

    This query returns 0 rows.


    1. Run a Full Load of Data Warehouse

    I got still the same error message as earlier: 'ETL Job did not complete within specified time'.




  • 5.  RE: LoadDataWarehouse job fails

    Posted May 11, 2020 03:03 AM
    Any help with this?


  • 6.  RE: LoadDataWarehouse job fails

    Broadcom Employee
    Posted May 11, 2020 11:35 AM
    Hi Rainer

    Can you please send me the results of select * from DWH_META_COLUMNS from your Clarity database in Excel with headers. Let me see how your attributes look like.

    ------------------------------
    Nika Hadzhikidi
    Sr Principal Support Engineer
    Broadcom
    ------------------------------



  • 7.  RE: LoadDataWarehouse job fails

    Posted May 11, 2020 03:29 PM
      |   view attached
    Hello!

    Heres the file, thsnk you :)

    Best Regards
    Rainer Forslund



    Attachment(s)



  • 8.  RE: LoadDataWarehouse job fails

    Broadcom Employee
    Posted May 11, 2020 07:17 PM

    Hi Rainer

     This results are from DWH not Clarity, can you get me the ones from Clarity please. Sorry for the inconvenience. You do have a couple of lookups I want to see where they are coming from. Thank you!



    ------------------------------
    Nika Hadzhikidi
    Sr Principal Support Engineer
    Broadcom
    ------------------------------



  • 9.  RE: LoadDataWarehouse job fails

    Posted May 12, 2020 02:00 AM
      |   view attached
    Sorry, let's try again with this one :)



    -------- Alkuperäinen viesti --------



    Attachment(s)



  • 10.  RE: LoadDataWarehouse job fails

    Broadcom Employee
    Posted May 12, 2020 06:45 PM

    Thank you Rainer

    I compared your lookups and things look actually alright there. What I would suggest is to drop your DWH schema, restore a blank one from template, recreate the DB link and try again. This will help if you have any weird corruption with the lookup tables.

    If this does not work, I recommend opening a case so we can look into this in greater detail in Support.

    Thank you -Nika



    ------------------------------
    Nika Hadzhikidi
    Sr Principal Support Engineer
    Broadcom
    ------------------------------



  • 11.  RE: LoadDataWarehouse job fails

    Posted Jun 04, 2020 04:46 AM
    Hi Nika,

    These latest instructions seemed to do the trick, Thank You for your help :)

    Kind Regards, Rainer


  • 12.  RE: LoadDataWarehouse job fails

    Broadcom Employee
    Posted Jun 04, 2020 08:26 AM
    Glad to hear this Rainer! Thank you for confirming

    ------------------------------
    Nika Hadzhikidi
    Sr Principal Support Engineer
    Broadcom
    ------------------------------