Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover the Trends Shaping AI in 2026: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
dantr98
Contributor
Contributor

Unknown error when trying to export execution plans

I am using metaservlet to export the execution plans from the development environment, to migrate a specific execution plan to another environment.

 

It worked well for a while, but at some point the call to metaservlet started  failing with {"returnCode": 1}, on two from three servers. On production server return code :0, but there there are no execution plans to export

 

The same issue if using curl to post the request, or when using the browser.

Other metaservlet commands are working ok, except export. 

 

Did somebody else hit the same issue ? Any idea how to debug this ?

 

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

The error was caused by a data corruption in the repository, one execution plan lost integrity across the tables that defines it.

After manually cleaning out all information on the corrupted execution plan , everything works fine.

 

As a good practice, before exporting, we make sure the execution plan has no errors and was checked it runs correctly.

 

 

 

 

View solution in original post

5 Replies
Anonymous
Not applicable

Hello,

Could you please clarify in which Talend version/edition you are?

Best regards

Sabrina

dantr98
Contributor
Contributor
Author

Current Version is  6.2.1

 

[someserver]$ bash /opt/talend/Talend-6.2.1/tac/apache-tomcat/webapps/org.talend.administrator/WEB-INF/classes/MetaServletCaller.sh --verbose --format-output --tac-url=http://<someTACserver>:8080/org.talend.administrator/ --json-params='{"actionName":"listExecutionPlans","authPass":"xxx","authUser":"yyyyyyy"}'
-> URL: http://<someTACserver>:8080/org.talend.administrator/
-> Json parameters:
{
"actionName": "listExecutionPlans",
"authPass": "xxx",
"authUser": "yyyyyyy"
}
-> Complete request: http://<someTACserver>:8080/org.talend.administrator//metaServlet?eyJhY3Rpb25OYW1lIjoibGlzdEV4ZWN1dGlvblBsYW5zIiwiYXV0aFBhc3MiOiJEYW4iLCJhdXRoVXNlciI6ImRhbi5sYXphckB2YWx0ZWNoLmNvLnVrIn0=
{"returnCode": 1}
[someserver]$

Anonymous
Not applicable

Hey,
I m trying to export the execution plans too. But I was not successful.
listExecutionPlan is listing all the plans and when I do a importExecutionPlan I got a return code 0, but I don't understand where it is imported to and how the import to other environment is working here.

Can you please help me understand the process???
Anonymous
Not applicable

Rajashekar95 :

 

check this article  :

 

Alternatively you can use curl to post the commands to the metaservlet, or the browser , using as argument base64_coded string 

 

A++

Anonymous
Not applicable

The error was caused by a data corruption in the repository, one execution plan lost integrity across the tables that defines it.

After manually cleaning out all information on the corrupted execution plan , everything works fine.

 

As a good practice, before exporting, we make sure the execution plan has no errors and was checked it runs correctly.