Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all articles
Browse latest Browse all 2893

Executing Transformation From Another Repositroy

$
0
0
Hi Folks,

I am a 2 weeks old baby on this Technology. I am trying to execute transformation, which is available in another Repository.Since I am working on Exisiting repository in the organization. I believe, whatever the configuration ( Carte) needs to be setup in my working repository and server that has been done. ( I am not sure how do I validate/check those are working fine. If any validations needs to be done, please share those commands or any process needs to be followed.

Problem: When I execute my MASTER Job, which internally execute the Sub-transformation using the HTTP Step with URL: <IP:PORT>/kettle/executeTrans and we are passing the Input variables as Repository Name, Fully qualified location of the Sub-transformation and the level = Minimal with that it throwing below error

<result>ERROR</result>
<message>Unexpected error executing the transformation&#x3a; &#xa;org.pentaho.di.core.exception.KettleXMLException&#x3a; &#xa;Unable to read file
&#x5b;file&#x3a;&#x2f;&#x2f;&#x2f;srv&#x2f;pentaho&#x2f;pdi-ce&#x2f;data-integration&#x2f;C&#x3a;&#x2f;srv&#x2f;pentaho&#x2f;ti-etl&#x2f;
pentaho-repository&#x2f;Sub_Trans_Job.ktr&#x5d;&#xa;Could not read from &#x22;file&#x3a;&#x2f;&#x2f;&#x2f;srv&#x2f;pentaho&#x2f;pdi-ce&#x2f;
data-integration&#x2f;C&#x3a;&#x2f;srv&#x2f;pentaho&#x2f;ti-etl&#x2f;pentaho-repository&#x2f;Sub_Trans_Job.ktr&#x22;
because it is a not a file.&#xa;&#xa; at org.pentaho.di.core.xml.XMLHandler.loadXMLFile&#x28;XMLHandler.java&#x3a;559&#x29;&#xa;
at org.pentaho.di.core.xml.XMLHandler.loadXMLFile&#x28;XMLHandler.java&#x3a;538&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2660&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2628&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2605&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2585&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2550&#x29;&#xa;
at org.pentaho.di.trans.TransMeta.&#x3c;init&#x3e;&#x28;TransMeta.java&#x3a;2513&#x29;&#xa;
at org.pentaho.di.http://www.ExecuteTransServlet.loadT...188&#x29;&#xa;
at org.pentaho.di.http://www.ExecuteTransServlet.doGet...104&#x29;&#xa;
at javax.servlet.http.HttpServlet.service&#x28;HttpServlet.java&#x3a;707&#x29;&#xa;
at javax.servlet.http.HttpServlet.service&#x28;HttpServlet.java&#x3a;820&#x29;&#xa;
at org.mortbay.jetty.servlet.ServletHolder.handle&#x28;ServletHolder.java&#x3a;511&#x29;&#xa;
at org.mortbay.jetty.servlet.ServletHandler.handle&#x28;ServletHandler.java&#x3a;390&#x29;&#xa;
at org.mortbay.jetty.servlet.SessionHandler.handle&#x28;SessionHandler.java&#x3a;182&#x29;&#xa;
at org.mortbay.jetty.handler.ContextHandler.handle&#x28;ContextHandler.java&#x3a;765&#x29;&#xa;
at org.mortbay.jetty.handler.ContextHandlerCollection.handle&#x28;ContextHandlerCollection.java&#x3a;230&#x29;&#xa;
at org.mortbay.jetty.handler.HandlerCollection.handle&#x28;HandlerCollection.java&#x3a;114&#x29;&#xa;
at org.mortbay.jetty.handler.HandlerWrapper.handle&#x28;HandlerWrapper.java&#x3a;152&#x29;&#xa;
at org.mortbay.jetty.Server.handle&#x28;Server.java&#x3a;326&#x29;&#xa;
at org.mortbay.jetty.HttpConnection.handleRequest&#x28;HttpConnection.java&#x3a;536&#x29;&#xa;
at org.mortbay.jetty.HttpConnection&#x24;RequestHandler.headerComplete&#x28;HttpConnection.java&#x3a;915&#x29;&#xa;
at org.mortbay.jetty.HttpParser.parseNext&#x28;HttpParser.java&#x3a;539&#x29;&#xa;
at org.mortbay.jetty.HttpParser.parseAvailable&#x28;HttpParser.java&#x3a;212&#x29;&#xa;
at org.mortbay.jetty.HttpConnection.handle&#x28;HttpConnection.java&#x3a;405&#x29;&#xa;
at org.mortbay.jetty.bio.SocketConnector&#x24;Connection.run&#x28;SocketConnector.java&#x3a;228&#x29;&#xa;
at org.mortbay.thread.QueuedThreadPool&#x24;PoolThread.run&#x28;QueuedThreadPool.java&#x3a;582&#x29;&#xa;Caused by&#x3a; org.apache.commons.vfs.FileNotFoundException&#x3a; Could not read from &#x22;file&#x3a;&#x2f;&#x2f;&#x2f;srv&#x2f;pentaho&#x2f;pdi-ce&#x2f;data-integration&#x2f;C&#x3a;&#x2f;srv&#x2f;pentaho&#x2f;ti-etl&#x2f;pentaho-repository&#x2f;Sub_Trans_Job.ktr&#x22; because it is a not a file.&#xa; at org.apache.commons.vfs.provider.AbstractFileObject.getInputStream&#x28;Unknown Source&#x29;&#xa; at org.apache.commons.vfs.provider.DefaultFileContent.getInputStream&#x28;Unknown Source&#x29;&#xa; at org.pentaho.di.core.vfs.KettleVFS.getInputStream&#x28;KettleVFS.java&#x3a;247&#x29;&#xa;
at org.pentaho.di.core.xml.XMLHandler.loadXMLFile&#x28;XMLHandler.java&#x3a;557&#x29;&#xa; ... 26 more&#xa;Caused by&#x3a; java.io.FileNotFoundException&#x3a; &#x2f;srv&#x2f;pentaho&#x2f;pdi-ce&#x2f;data-integration&#x2f;C&#x3a;&#x2f;srv&#x2f;pentaho&#x2f;ti-etl&#x2f;pentaho-repository&#x2f;Sub_Trans_Job.ktr &#x28;No such file or directory&#x29;&#xa; at java.io.FileInputStream.open&#x28;Native Method&#x29;&#xa; at java.io.FileInputStream.&#x3c;init&#x3e;&#x28;FileInputStream.java&#x3a;146&#x29;&#xa; at org.apache.commons.vfs.provider.local.LocalFile.doGetInputStream&#x28;Unknown Source&#x29;&#xa; ... 30 more&#xa;</message>


<id/>
</webresult>


Appreciate your time and solution in resolving this issue

Viewing all articles
Browse latest Browse all 2893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>