Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Problem with remote execution of a job on carte server

  1. #1
    Join Date
    Oct 2008
    Posts
    25

    Default Problem with remote execution of a job on carte server

    Hi,

    I am using Kettle 4.0.1 and have designed a job which i want to execute remotely on a carte server. I use the option "Pass export to remote server".

    The job starts to run but at some point I keep getting an error like:


    Unable to read file [zip:file:///tmp/export_d2a0cb29-b73f-11df-87fe-03691b99af27.zip!/Insert suppliers.ktr]
    Could not read from "zip:file:///tmp/export_d2a0cb29-b73f-11df-87fe-03691b99af27.zip!/Insert suppliers.ktr" because it is a not a file.

    I checked the uploaded zip and all resources are present and the complaint about the file seems to be random since when I run it again it might complain about another file.

    I have seen posts in JIRA about this issue regarding version 3.x but it has status resolved.

    Am I missing something here?

  2. #2
    Join Date
    Sep 2010
    Posts
    11

    Default

    I'm also having this problem in pdi 4.1.0 and the zip file is ok with all related files... Any alternatives for sending dependencies to carte?

  3. #3
    Join Date
    Sep 2010
    Posts
    11

    Default

    Even when trying so send the export through SlaveServer.sendExport without Job.sendToSlaveServer() gets a similar error:

    org.pentaho.di.core.exception.KettleFileException: Unable to get VFS File object for filename 'zip:file:///C:/Users/JOAONA~1/AppData/Local/Temp/export_a3d83a37-65f3-11e0-ba3e-49a9047cc8d9.zip!testejob.kjb' : Could not open Zip file "C:\Users\JOAONA~1\AppData\Local\Temp\export_a3d83a37-65f3-11e0-ba3e-49a9047cc8d9.zip". org.pentaho.di.core.vfs.KettleVFS.getFileObject(KettleVFS.java:151) org.pentaho.di.core.vfs.KettleVFS.getFileObject(KettleVFS.java:94) org.pentaho.di.core.vfs.KettleVFS.getFileObject(KettleVFS.java:89) org.pentaho.di.http://www.AddExportServlet.doGet(Ad...rvlet.java:121) org.pentaho.di.http://www.BaseHttpServlet.doPut(Bas...ervlet.java:84) javax.servlet.http.HttpServlet.service(HttpServlet.java:730) javax.servlet.http.HttpServlet.service(HttpServlet.java:820) org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) org.mortbay.jetty.Server.handle(Server.java:322) org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536) org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:930) org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747) org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405) org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

  4. #4
    Join Date
    Sep 2010
    Posts
    11

    Default

    I figured out the problem.... If I substitute KettleVFS for the regular apache commons.vfs jar file the problem is fixed... However I don't know if this afects other functions of the PDI package...

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.