Hi,
Please properly subscribe to the mailing list so that the community can
receive email notifications for your messages. To subscribe, send empty
email to user-subscr...@ignite.apache.org and follow simple instructions in
the reply.
xjg125 wrote
> I test the DeploymentSpi ,
> refer to the page for information about GAR files and task deployment. at
> "https://apacheignite.readme.io/docs/deployment-spi; ..
>
> but have Exception like this:
>
> Exception in thread "main" class
> org.apache.ignite.IgniteDeploymentException: Unknown task name or failed
> to auto-deploy task (was task (re|un)deployed?):
> MapExampleCharacterCountTask
> at
> org.apache.ignite.internal.util.IgniteUtils$8.apply(IgniteUtils.java:794)
> at
> org.apache.ignite.internal.util.IgniteUtils$8.apply(IgniteUtils.java:792)
> at
> org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:913)
> at
> org.apache.ignite.internal.IgniteComputeImpl.execute(IgniteComputeImpl.java:270)
> at deploytest.Test1.main(Test1.java:33)
> Caused by: class
> org.apache.ignite.internal.IgniteDeploymentCheckedException: Unknown task
> name or failed to auto-deploy task (was task (re|un)deployed?):
> MapExampleCharacterCountTask
> at
> org.apache.ignite.internal.processors.task.GridTaskProcessor.startTask(GridTaskProcessor.java:515)
> at
> org.apache.ignite.internal.processors.task.GridTaskProcessor.execute(GridTaskProcessor.java:447)
> at
> org.apache.ignite.internal.IgniteComputeImpl.execute(IgniteComputeImpl.java:267)
> ... 1 more
>
>
> i use http protocol :
> deploymentSpi.setUriList(Arrays.asList("http://freq=5000@127.0.0.1/deptest/deployment.html;));
>
> i check the user/xxx/AppData\Local\Temp\gg.uri.deployment.tmp directory ,
> Has downloaded the gar file and extract。。
>
> in logfile i find :
>
> [14:36:40,943][INFO][grid-uri-scanner-#2%null%][UriDeploymentSpi] Found
> new or updated GAR units
> [uri=http://freq=5000@127.0.0.1/deptest/deployment.html/test2.gar,
> file=C:\Users\XieJG\AppData\Local\Temp\gg.uri.deployment.tmp\06747073-8f10-41d4-998e-45cab8030a69\test23190349051081653991.gar,
> tstamp=1480567856000]
> [14:36:40,972][WARNING][grid-uri-scanner-#2%null%][UriDeploymentSpi]
> Processing deployment without descriptor file (it will cause full
> classpath scan) [path=META-INF/ignite.xml,
> gar=C:\Users\XieJG\AppData\Local\Temp\gg.uri.deployment.tmp\06747073-8f10-41d4-998e-45cab8030a69\dirzip_test23190349051081653991.gar]
>
> ---
>
> I can't find the format of META-INF/ignite.xml。Can you give me an example?
> Including META-INF/ignite.xml and task class
>
> thanks
What is the class name of your task? How do you execute it?
-Val
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/about-GAR-files-and-task-deployment-tp9322p9346.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.