Clarity

  • 1.  Running a pentaho job (.kjb) through a Clarity job

    Posted Feb 16, 2016 06:02 AM

    Hi.  I'm trying to create a job in Clarity that will run a Pentaho ETL.  I have developed my integration and tested it directly in Pentaho with no issues.  When I try running it as a Clarity job, it gives me an error:

     

    java.lang.NoClassDefFoundError: org/apache/commons/httpclient/Credentials

    at org.pentaho.di.trans.steps.httppost.HTTPPOSTMeta.getStep(HTTPPOSTMeta.java:637)

    at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:834)

    at org.pentaho.di.trans.Trans.execute(Trans.java:578)....

     

    Pretty much I narrowed the error down to the HTTP Post step in my transformation.  Not so much an error in the step, but It looks like when running the transformation through Clarity it can't find the HTTPClient jar.  Any idea how I can fix this? 



  • 2.  Re: Running a pentaho job (.kjb) through a Clarity job

    Broadcom Employee
    Posted Mar 01, 2016 01:43 PM

    HTTPClient jar file should be placed under the lib folder of CA PPM directory, ex C:\App\Clarity\lib.

     

    Do you see the file there?

     

    Regards

    Suman Pramanik



  • 3.  Re: Running a pentaho job (.kjb) through a Clarity job

    Posted Jul 20, 2016 04:53 PM

    Hi Suman

     

    I created a pentaho ETL to add/remove users from JasperSoft Custom Groups.

    It is working in the  Pentaho tool. When I deploy the file to CA PPM below error appears Delete step where the response is 204

     

    Executing ETL Job.

    Error 7/20/16 4:24 PM DELETE - Because of an error, this step can't continue:
    Can not result from [http://sv-clrty14-d3:8080/reportservice/rest_v2/organizations/CareFirst/users/aaa0090]
    Client response status: 204


    Error 7/20/16 4:24 PM DELETE - org.pentaho.di.core.exception.KettleException:
    Can not result from [http://sv-clrty14-d3:8080/reportservice/rest_v2/organizations/CareFirst/users/aaa0090]
    Client response status: 204

    at org.pentaho.di.trans.steps.rest.Rest.callRest(Rest.java:201)
    at org.pentaho.di.trans.steps.rest.Rest.processRow(Rest.java:397)
    at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: com.sun.jersey.api.client.UniformInterfaceException: Client response status: 204
    at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:540)
    at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:517)
    at org.pentaho.di.trans.steps.rest.Rest.callRest(Rest.java:180)
    ... 3 more

    Error 7/20/16 4:24 PM Delete JasperUsers - Errors detected!
    Error 7/20/16 4:24 PM Delete JasperUsers - Errors detected!

     

    Please let me know if you can throw some info based on the error message

     

    Thanks