Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Heap Error but job status still 'SUCCESS'. How to capture the error

  1. #1

    Question Heap Error but job status still 'SUCCESS'. How to capture the error

    Hi All,

    We have scheduled our kettle jobs using hudson where we get email notification if final exist state of the job is 'FAILURE'
    Yesterday I see that job had a java heap size error in between but at the end it still says 'Job Completed successfully' ( and no error email was sent)

    If we try to capture anytime a step in the job gives 'ERROR', we get so many email.

    So if a job or ktr has a failure somewhere during execution but still the completion status is 'SUCCESS', what might be the best way to capture this ?
    One option that I can think is scanning the execution log file after job is complete. If anywhere there is a ERROR word in the log, then send an email for error notification

    Thanks

  2. #2
    Join Date
    Aug 2015
    Posts
    313

    Default

    Have you checked what is the size of java option in spoon. please post here. we try to help.

    and Please try with ABORT step (connect to your transformation or job where ever you are getting success notification) and try again

    if [ -z "$PENTAHO_DI_JAVA_OPTIONS" ]; then
    PENTAHO_DI_JAVA_OPTIONS="-Xms1024m -Xmx2048m -XX:MaxPermSize=256m"
    fi
    Last edited by santhi; 12-16-2015 at 08:54 AM.

  3. #3
    Join Date
    Oct 2014
    Posts
    26

    Default

    Are you using Hudson on Linux?
    See http://jira.pentaho.com/browse/PDI-14658 for a bug related.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.