org.apache.commons.vfs2.FileSystemException: Could not create folder "file:///C:".

Pentaho BI Platform Tracking | Viktoryia Shalkova | 11 months ago
  1. 0

    When executing TextFileInput, and TextFileOutput steps from a Windows PDI Client on a Linux DIS, the paths for the files are being hard coded in the export bundle to include the Windows paths. e.g.- /home/pentaho/test-out.txt for the TextFileOutput is being bundled and sent to the Linux server as c:/home/pentaho/test-out.txt from the Windows client One work around: Do NOT use the "Pass export to remote server" -- Problem with the work around: When passing a Job, and Transformations together for a Map/Reduce run, you MUST pass them as an export 2016/01/13 06:53:53 - test - Dispatching started for transformation [test] 2016/01/13 06:53:53 - Text file output.0 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Couldn't open file file:///C:/home/pentaho/test-out.txt 2016/01/13 06:53:53 - Text file output.0 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : org.pentaho.di.core.exception.KettleException: 2016/01/13 06:53:53 - Text file output.0 - Error opening new file : org.apache.commons.vfs2.FileSystemException: Could not create folder "file:///C:". 2016/01/13 06:53:53 - Text file output.0 - 2016/01/13 06:53:53 - Text file output.0 - at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.openNewFile(TextFileOutput.java:655) 2016/01/13 06:53:53 - Text file output.0 - at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.init(TextFileOutput.java:755) 2016/01/13 06:53:53 - Text file output.0 - at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69) 2016/01/13 06:53:53 - Text file output.0 - at java.lang.Thread.run(Thread.java:745) 2016/01/13 06:53:53 - Text file output.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1) 2016/01/13 06:53:53 - test - Transformation detected one or more steps with errors. 2016/01/13 06:53:53 - test - Transformation is killing the other steps! 2016/01/13 06:53:53 - test - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Errors detected! 2016/01/13 06:53:53 - test - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Errors detected! To reproduce simple version: 1) Download export-from-windows.ktr 2) Modify to work on the DIS 3) Execute export-from-windows.ktr from a Windows PDI Client remotely on a Linux DI Server (probably even Carte) with the "Pass export to remote server" enabled

    Pentaho BI Platform Tracking | 11 months ago | Viktoryia Shalkova
    org.apache.commons.vfs2.FileSystemException: Could not create folder "file:///C:".
  2. 0

    When executing TextFileInput, and TextFileOutput steps from a Windows PDI Client on a Linux DIS, the paths for the files are being hard coded in the export bundle to include the Windows paths. e.g.- /home/pentaho/test-out.txt for the TextFileOutput is being bundled and sent to the Linux server as c:/home/pentaho/test-out.txt from the Windows client One work around: Do NOT use the "Pass export to remote server" -- Problem with the work around: When passing a Job, and Transformations together for a Map/Reduce run, you MUST pass them as an export 2016/01/13 06:53:53 - test - Dispatching started for transformation [test] 2016/01/13 06:53:53 - Text file output.0 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Couldn't open file file:///C:/home/pentaho/test-out.txt 2016/01/13 06:53:53 - Text file output.0 - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : org.pentaho.di.core.exception.KettleException: 2016/01/13 06:53:53 - Text file output.0 - Error opening new file : org.apache.commons.vfs2.FileSystemException: Could not create folder "file:///C:". 2016/01/13 06:53:53 - Text file output.0 - 2016/01/13 06:53:53 - Text file output.0 - at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.openNewFile(TextFileOutput.java:655) 2016/01/13 06:53:53 - Text file output.0 - at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.init(TextFileOutput.java:755) 2016/01/13 06:53:53 - Text file output.0 - at org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69) 2016/01/13 06:53:53 - Text file output.0 - at java.lang.Thread.run(Thread.java:745) 2016/01/13 06:53:53 - Text file output.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=1) 2016/01/13 06:53:53 - test - Transformation detected one or more steps with errors. 2016/01/13 06:53:53 - test - Transformation is killing the other steps! 2016/01/13 06:53:53 - test - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Errors detected! 2016/01/13 06:53:53 - test - ERROR (version 6.0.0.0-353, build 1 from 2015-10-07 13.27.43 by buildguy) : Errors detected! To reproduce simple version: 1) Download export-from-windows.ktr 2) Modify to work on the DIS 3) Execute export-from-windows.ktr from a Windows PDI Client remotely on a Linux DI Server (probably even Carte) with the "Pass export to remote server" enabled

    Pentaho BI Platform Tracking | 11 months ago | Viktoryia Shalkova
    org.apache.commons.vfs2.FileSystemException: Could not create folder "file:///C:".
  3. 0

    File upload to SFTP fails (Apache VFS)

    Stack Overflow | 3 years ago | Darkpara
    java.lang.RuntimeException: org.apache.commons.vfs2.FileSystemException: Could not copy "file:///D:/Test/test.txt" to "sftp://user:***@host/.../alis/test.txt".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [vfs] Interpreting "~" in VFS and minimum set of JARs

    commons-user | 4 years ago | Mark Fortner
    org.apache.commons.vfs2.FileSystemException: Could not create a file system manager of class "org.apache.commons.vfs2.impl.StandardFileSystemManager".
  6. 0

    org.apache.commons.vfs2.FileSystemException: Could not create file

    Stack Overflow | 4 months ago | Varun Goyal
    org.apache.commons.vfs2.FileSystemException: Could not create file "file:////172.50.33.115/D$/testfile.txt".

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.commons.vfs2.FileSystemException

      Could not create folder "file:///C:".

      at org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.openNewFile()
    2. org.pentaho.di
      StepInitThread.run
      1. org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.openNewFile(TextFileOutput.java:655)
      2. org.pentaho.di.trans.steps.textfileoutput.TextFileOutput.init(TextFileOutput.java:755)
      3. org.pentaho.di.trans.step.StepInitThread.run(StepInitThread.java:69)
      3 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame