Knime Job Pool disable option

Hi Everyone,

I am aware to start job pools the command is to ::
curl -X PUT -u : http:///knime/rest/v4/repository/:properties?com.knime.enterprise.server.jobpool.size=

And to consume from job pools command is this ::
curl -u : http:///knime/rest/v4/repository/:job-pool?p1=v1&p2=v2

But how to disable job pools, once it is set ?

Hi there,

To disable the pool you can set the job-pool size to 0.

Best,

Jon

1 Like

As a side note, I also added that information to our documentation, which will be updated online shortly.

Thanks, i was exploring the metadata REST endpoint for my workflow and found these options::

To get the properties::
“knime:properties”: {
“href”: “http:///knime/rest/v4/repository/:properties{?name}”,
“isHrefTemplate”: true,
“method”: “GET”
},
eg::
http:///knime/rest/v4/repository/:properties?name=com.knime.enterprise.server.jobpool.size

To set the properties::
“knime:set-property”: {
“href”: “http:///knime/rest/v4/repository/:properties{?property-names}”,
“isHrefTemplate”: true,
“method”: “PUT”
},
eg::
http:///knime/rest/v4/repository/:properties?com.knime.enterprise.server.jobpool.size=10

To delete the properties::
“knime:delete-property”: {
“href”: “http:///knime/rest/v4/repository/:properties{?name}”,
“isHrefTemplate”: true,
“method”: “DELETE”
}
http:///knime/rest/v4/repository/:properties?name=com.knime.enterprise.server.jobpool.size

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.