Wed Jun 23, 2021 8:26 pm
Login Register Lost Password? Contact Us

Workunit in Unknown status

Questions and comments related to the Pentaho Kettle and Spoon plugins

Mon Dec 07, 2015 5:05 pm Change Time Zone

Hi Everyone,

I created a pdi job, which successfully submitted the workunit to HPCC.
However, the workunit always remains in a "unknown" status and gets stuck.

When I manually set my workunit to "failed" and abort the job from ECL-Watch, this is the error I receive on pdi console:

2015/12/07 11:51:07 - Execute - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Server Failed to compile code please refer to ECLWatch and verify your settings

I am using the following HPCC version: internal_5.4.6-rc1
And Kettle Spoon Stable Release - 4.4.0

Let me know if you want me to share any specific details from my workunit.

Posts: 15
Joined: Thu Mar 15, 2012 5:57 am

Wed Dec 09, 2015 5:57 pm Change Time Zone

Ok, I was able to identify the issue.
"Cluster" in the global variables was incorrect.

Had to go through the plugin code to debug the issue and found that this error was never reported because in "java-ecl-api" ( the return code after submitting the workunit was not evaluated (although it was acknowledged in the comment, see below :) )

Code: Select all
public void submitSoapCall(String wuid){
        String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+
               "<soapenv:Envelope xmlns:soapenv=\"\" xmlns:xsd=\"\" xmlns:xsi=\"\">"+
                     "<WUSubmit xmlns=\"urn:hpccsystems:ws:wsworkunits\">"+
                        "<Wuid>" + wuid + "</Wuid>"+
                        //"<MaxRunTime>" + maxRunTime + "<MaxRunTime>" +
                        "<Cluster>" + this.cluster + "</Cluster>"+
String path = "/WsWorkunits/WUSubmit";
        InputStream is2 = this.doSoap(xml, path);
        //need to check for errors here

Will report this issue in JIRA.

Posts: 15
Joined: Thu Mar 15, 2012 5:57 am

Return to Pentaho Kettle

Who is online

Users browsing this forum: No registered users and 1 guest