Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Restrict number of copies for step plug in

  1. #1
    Join Date
    Mar 2011

    Default Restrict number of copies for step plug in

    I'm curious if there is a means to restrict the number of copies of a plugin step i am writing. I need to step to execute in a single thread.

  2. #2
    Join Date
    Jun 2007


    Perhaps you need to rethink your plugin.

    PDI will process each row in single thread. It does not process rows one-by-one. Therefore, if the step before your plugin returns more than one row, your plugin step will be running as many times (in separate threads) as the number of rows received.

    You may need to look at merged hops if you want to achieve synchronisation.

  3. #3
    Join Date
    Nov 1999


    You could throw an exception if getStepMeta().getCopies()>1.

Tags for this Thread

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.