Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: Text File Output Fast Data Dump Error

  1. #1
    Join Date
    Nov 2007
    Posts
    3

    Default Text File Output Fast Data Dump Error

    A couple of my transformations that had a text file output step did not run after I upgraded to 3.0 from 2.5. Turns out that the "Fast Data Dump" option doesn't work in 3.0 anymore. Unchecking the box made the scripts work fine.

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    Make a JIRA request for it at http://jira.pentaho.org/browse/PDI

    Regards,
    Sven

  3. #3
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    The "fast data dump" option should work just fine, please show give the transformation or at least the error message.

    Matt

  4. #4
    Join Date
    Nov 2007
    Posts
    3

    Default

    A transformation containing Generate Rows and Text File Output using default settings and the fast data dump option checked has the following error log. I thought it was just a file permissions problem but removing the fast dump option made it run successfully.

    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : Unexpected error :
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : org.pentaho.di.core.exception.KettleStepException:
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : Error writing line
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) :
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : Error writing field content to file
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.run (TextFileOutput.java:717)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.processRow (TextFileOutput.java:148)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeRowToFile (TextFileOutput.java:190)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeField (TextFileOutput.java:314)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) :
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) :
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeRowToFile(TextFileOutput.java:202)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.processRow(TextFileOutput.java:148)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.run(TextFileOutput.java:717)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : Caused by: org.pentaho.di.core.exception.KettleStepException:
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : Error writing field content to file
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.run (TextFileOutput.java:717)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.processRow (TextFileOutput.java:148)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeRowToFile (TextFileOutput.java:190)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeField (TextFileOutput.java:314)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) :
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeField(TextFileOutput.java:363)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeRowToFile(TextFileOutput.java:190)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : ... 2 more
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : Caused by: java.lang.NullPointerException
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.writeField(TextFileOutput.java:314)
    2007/11/25 13:38:47 - Text file output.0 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : ... 3 more
    2007/11/25 13:38:47 - Transformation 1 - ERROR (version 3.0.0, build 500 from 2007/11/14 14:59:11) : Errors detected!
    2007/11/25 13:38:47 - Transformation 1 - Looking at step: Generate Rows
    2007/11/25 13:38:47 - Transformation 1 - Looking at step: Text file output
    2007/11/25 13:38:47 - Text file output.0 - Finished processing (I=0, O=1, R=1, W=0, U=0, E=1)
    2007/11/25 13:38:47 - Spoon - The transformation has finished!!
    Attached Files Attached Files

  5. #5
    Join Date
    May 2006
    Posts
    4,882

    Default

    That's a good testcase... so now make a JIRA request at http://jira.pentaho.org/browse/PDI

    The problem is in the fact that the value being passed to text output file is null.

    Regards,
    Sven

  6. #6
    Join Date
    May 2006
    Posts
    4,882

    Default

    Made a JIRA for you http://jira.pentaho.org/browse/PDI-512 and also fixed it.

    Regards,
    Sven

  7. #7
    Join Date
    Nov 2007
    Posts
    3

    Default

    That was quick! Thanks.

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.