Error when starting distributed executor.

Hi All,

I am trying to run an onprem executor for our AWS hosted KNIME Server. When I try to start the executor on the local machine, it fails with a slightly cryptic error message listed below. This error only occurs when I try to set the distributed executor options. The same options work fine on another executor on the same aws vpc as the knime server.

Command:
knime -nosplash -consolelog -application com.knime.enterprise.slave.KNIME_REMOTE_APPLICATION

Error: Could not find or load main class http:…:8080.knime.rest.v4.profiles.contents
Dumping CPU usage in old prof format … done.
Knime: Cannot open display:
Knime:
JVM terminated. Exit code=1

Hi Aaron,
Could you share your knime.ini file and the versions of server and executor you are using?
Kind regards,
Alexander

Hi Alexander,

The executor version is 4.3.2, the prebuilt linux build from the knimecom-product-downloads page. This is the same build we are using on our working executor.

Commenting out the lines in bold allow the executor to start.

-startup
plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1100.v20190907-0426
-vm
plugins/org.knime.binary.jre.linux.x86_64_1.8.0.252-b09/jre/bin
-vmargs
-server
-Dsun.java2d.d3d=false
-Dosgi.classloader.lock=classname
-XX:+UnlockDiagnosticVMOptions
-XX:+UnsyncloadClass
-XX:+UseG1GC
-Dsun.net.client.defaultReadTimeout=0
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
-Xmx60g
-profileLocation
http://hostname:8080/knime/rest/v4/profiles/contents
-profileList
remote-executor
-Dcom.knime.enterprise.executor.msgq=amqp://user:password@hostname/knime-server
-Dorg.eclipse.swt.internal.gtk.disablePrinting
-Darrow.enable_unsafe_memory_access=true
-Darrow.memory.debug.allocator=false
-Darrow.enable_null_check_for_get=false
-Dcom.knime.enterprise.executor.reservation=OnPrem

Also, just FYI I can wget the zip file from the profileLocation from the machine without issue

Hi Aaron,
The bold lines need to go before the -vmargs line, then it should work as expected.
Kind regards,
Alexander

1 Like

That was it! Thanks for the quick help!