org.apache.commons.vfs2.FileSystemException: Could not create file "file:////172.50.33.115/D$/testfile.txt".

Stack Overflow | Varun Goyal | 4 months ago
  1. 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".
  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

    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:".
  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

    gz:ftp dails to download correctly when using cat.

    GitHub | 12 months ago | ysb33r
    org.apache.commons.vfs2.FileSystemException: Could not resolve file "gz:file:///guest:***@nullnull!/".

    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 file "file:////172.50.33.115/D$/testfile.txt".

      at org.apache.commons.vfs2.provider.AbstractFileObject.createFile()
    2. Commons VFS Core
      AbstractFileObject.createFile
      1. org.apache.commons.vfs2.provider.AbstractFileObject.createFile(AbstractFileObject.java:382)
      1 frame
    3. controller
      InputController.doPost
      1. controller.InputController.doPost(InputController.java:92)
      1 frame
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      2 frames