Hitachi Vantara Pentaho Community Forums
Results 1 to 7 of 7

Thread: how to use carte

  1. #1
    Join Date
    Jan 2007
    Posts
    29

    Unhappy how to use carte

    Dear all,

    Please tell me how to use carte. It's all in documentation how to use carte, but i just don't understand how to use it so please tell this junior member step by step how to use carte. Thanks.
    Sorry if my English is bad

    Regs,

    Taufik

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

    Default

    Dear Taufik,

    Carte is a small web server.
    This web server is used to communicate with either a simple web-browser, with Spoon or with a job entry (Transformation or Job).
    It allows you in fact to execute transformations or jobs remotely.
    It also allows you to run transformations in a cluster. A cluster is a group of slave servers (carte instances).

    You can test this very easily by starting "carte 127.0.0.1 8181".
    If you then define a slave server for this address (user cluster/cluster) and click right on the slave server in Spoon, you can choose Monitor.
    From there you can see the things that are running on the slave server.
    You can also execute the transformation in which you defined the slave server on said slave server. (carte instance).

    HTH,

    Matt

  3. #3
    Join Date
    Jan 2007
    Posts
    29

    Default carte

    Dear Matt,

    Thanks for your answer.
    I already try to run carter just like you said, and its running well.
    I have some questions:
    1. Where does carte get transformation listed in browser? I see there's no transformation from my repository
    2. The idea of carte is to run transformation remotely. After running carte (command: carte 127.0.0.1 8181), I access it using browser by typing 127.0.0.1 in address bar. It works well on my computer, I can start and stop transformation, but it doesn't work when I do the same thing in another computer with my IP address in address bar.
      Then I try to run carte with different command (carte 10.1.80.109 8181) and access it from browser in another computer with my IP address in address bar, but all I got is error message.
      Am I do the right thing?

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

    Default

    If you run it on a network, you need to use a non-local address. (external IP address)
    Type "ifconfig -a" (Linux) or "ipconfig /all" (Windows) to know you external IP address.
    Use that address to start carte instead.

    HTH,

    Matt

  5. #5
    Join Date
    Nov 2007
    Posts
    2

    Default getting following error messages when runjing my transformation.

    org.pentaho.di.core.exception.KettleException:
    org.pentaho.di.core.exception.KettleException:
    There was an error preparing the transformation for excution on the remote server:
    Unexpected error during transformation execution preparation:
    java.lang.NullPointerException
    at be.ibridge.kettle.core.KettleVariables.setVariables(KettleVariables.java:187)
    at be.ibridge.kettle.http://www.PrepareExecutionTransServ...ervlet.java:79)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:498)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:715)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    at org.mortbay.jetty.Server.handle(Server.java:285)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:458)
    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:776)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:358)
    at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)



    There was an error preparing the transformation for excution on the remote server:
    Unexpected error during transformation execution preparation:
    java.lang.NullPointerException
    at be.ibridge.kettle.core.KettleVariables.setVariables(KettleVariables.java:187)
    at be.ibridge.kettle.http://www.PrepareExecutionTransServ...ervlet.java:79)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:498)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:715)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    at org.mortbay.jetty.Server.handle(Server.java:285)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:458)
    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:776)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:358)
    at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)



    at org.pentaho.di.trans.Trans.sendXMLToSlaveServer(Trans.java:2172)
    at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:984)
    at org.pentaho.di.ui.spoon.Spoon.executeTransformation(Spoon.java:5973)
    at org.pentaho.di.ui.spoon.Spoon.executeFile(Spoon.java:5962)
    at org.pentaho.di.ui.spoon.Spoon.runFile(Spoon.java:5943)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.xul.EventHandler.handleMenuEvent(EventHandler.java:30)
    at org.pentaho.xul.swt.toolbar.Toolbar.handleMenuEvent(Toolbar.java:80)
    at org.pentaho.xul.swt.toolbar.ToolbarButton.widgetSelected(ToolbarButton.java:41)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:809)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5433)
    at org.pentaho.di.ui.spoon.Spoon.run(Spoon.java:5512)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:360)
    Caused by: org.pentaho.di.core.exception.KettleException:
    There was an error preparing the transformation for excution on the remote server:
    Unexpected error during transformation execution preparation:
    java.lang.NullPointerException
    at be.ibridge.kettle.core.KettleVariables.setVariables(KettleVariables.java:187)
    at be.ibridge.kettle.http://www.PrepareExecutionTransServ...ervlet.java:79)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:498)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:367)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:715)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    at org.mortbay.jetty.Server.handle(Server.java:285)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:458)
    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:776)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:500)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:358)
    at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:217)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)


    at org.pentaho.di.trans.Trans.sendXMLToSlaveServer(Trans.java:2159)
    ... 20 more

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

    Default

    Don't hijack threads "akkas".
    Also, it's not very friendly of you not to let us know the version you're running with and the transformation you're using.
    Finally, if you have all that information, you should file a bug report over here: http://jira.pentaho.org/browse/PDI

    Thanks in advance!

    Matt

  7. #7
    Join Date
    Nov 2007
    Posts
    2

    Default Sorry

    I think I must be doing something wrong somewhere. Thanks.
    Ali

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.