Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-17632

TextFileOutput has major typo causing a performance issue - flushInterval setting ignored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Urgent
    • Resolution: Fixed
    • Affects Version/s: 8.1.0 GA, Master
    • Fix Version/s: 8.2.0 GA
    • Component/s: Step
    • Labels:
    • Story Points:
      0
    • PDI Sub-component:
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Sprint Team:
      Tatooine (Maint)
    • Steps to Reproduce:
      Hide
      1. Have pentaho server installed
      2. Go to C:\Pentaho\design-tools\data-integration\lib
      3. Open kettle-engine-pentaho_version.jar
      4. Go to org\pentaho\di\trans\steps\textfileoutput\ and open TextFileOutput.class
      5. Go to method getFlushInterval() and check that it says flushInterval = Integer.parseInt( var );
      Show
      Have pentaho server installed Go to C:\Pentaho\design-tools\data-integration\lib Open kettle-engine-pentaho_version.jar Go to org\pentaho\di\trans\steps\textfileoutput\ and open TextFileOutput.class Go to method getFlushInterval() and check that it says flushInterval = Integer.parseInt( var );

      Description

      https://github.com/pentaho/pentaho-kettle/blob/master/engine/src/main/java/org/pentaho/di/trans/steps/textfileoutput/TextFileOutput.java#L287

      The line says Integer.parseInt( var ); and should say flushInterval = Integer.parseInt( var ); - so, the flush interval is ignored and isn't working. Thus, there is a major part of the performance "fix" that is hobbled / broken.

        Attachments

          Activity

            People

            Assignee:
            scosta Sandra Costa
            Reporter:
            mbatchelor Marc Batchelor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: