Thanks a lot, it has fixed the problem. I also found that the ignite-control-utility jar file didn't exist in the version of 2.8.1 and was introduced in version 2.10.0. So, If anyone wants to use the control script and their Ignite version is 2.10.0+, then they have to add the ignite-control-utility jar file into the libs folder.
Thanks again for your help. On Tue, May 24, 2022 at 10:35 PM Николай Ижиков <nizhi...@apache.org> wrote: > As far as I can see ignite-control-utility jar placed in libs folder in > ignite binary distribution. > Please, Noah, adjust your deployment scripts accordingly. > > 24 мая 2022 г., в 13:28, Stephen Darlington < > stephen.darling...@gridgain.com> написал(а): > > You also need ignite-control-utility-2.13.0.jar > > On 24 May 2022, at 09:40, Noah Song <noah_s...@trimble.com> wrote: > > Hi all, > > I've recently upgraded the Ignite version from 2.8.1 to 2.13.0 and found > an error while executing the following control script. > > *kubectl exec -n $RELEASE_ENV $PSN_POD_NAME -- /trex/bin/control.sh > --state --host 127.0.0.1 --port $PSN_PORT* > > As you can see the below error messages, it complains that it cannot find > org.apache.ignite.internal.commandline.CommandHandler. > > 2022-05-24T07:10:58.4499713Z Error: Could not find or load main class > org.apache.ignite.internal.commandline.CommandHandler > > 2022-05-24T07:10:58.4500845Z Caused by: java.lang.ClassNotFoundException: > org.apache.ignite.internal.commandline.CommandHandler > > The following files exist in /trex/bin folder > README.txt > control.bat > control.sh > ignite-cdc.sh > ignite.bat > ignite.sh > igniterouter.bat > igniterouter.sh > ignitevisorcmd.bat > ignitevisorcmd.sh > include > index-reader.bat > index-reader.sh > setup-hadoop.bat > setup-hadoop.sh > sqlline.bat > sqlline.sh > > and these are the files in libs folder: > cache-api-1.0.0.jar > commons-codec-1.13.jar > commons-logging-1.1.1.jar > h2-1.4.197.jar > ignite-core-2.13.0.jar > ignite-indexing-2.13.0.jar > ignite-kubernetes-2.13.0.jar > ignite-spring-2.13.0.jar > jackson-annotations-2.12.4.jar > jackson-core-2.12.4.jar > jackson-databind-2.12.4.jar > jmx_prometheus_javaagent-0.12.0.jar > lucene-analyzers-common-7.4.0.jar > lucene-core-7.4.0.jar > lucene-queryparser-7.4.0.jar > spring-aop-5.2.21.RELEASE.jar > spring-beans-5.2.21.RELEASE.jar > spring-context-5.2.21.RELEASE.jar > spring-core-5.2.21.RELEASE.jar > spring-expression-5.2.21.RELEASE.jar > spring-jcl-5.2.21.RELEASE.jar > > That command line used to work well without any issue, but after I > upgraded the ignite version, it stopped working. > > Anyone know about this issue or can help me solve it? > Any help will be appreciated. > > Kind regards, > > > > >