[ 
https://issues.apache.org/jira/browse/IGNITE-25282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vyacheslav Koptilin updated IGNITE-25282:
-----------------------------------------
    Labels: ignite-3  (was: ignite)

> An illegal character in the deployment unit name can cause the deployment to 
> fail
> ---------------------------------------------------------------------------------
>
>                 Key: IGNITE-25282
>                 URL: https://issues.apache.org/jira/browse/IGNITE-25282
>             Project: Ignite
>          Issue Type: Bug
>          Components: code deployment ai3
>            Reporter: Andrey Novikov
>            Priority: Major
>              Labels: ignite-3
>
> If nodes are running on Windows, deploying an artifact via DU functionality 
> results in the following errors.
> {noformat}
> Unhandled exception
> java.nio.file.InvalidPathException: Illegal char <:> at index 5: a.a.a:s:1.0.0
>         at 
> java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:204)
>         at 
> java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:175)
>         at 
> java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
>         at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
>         at 
> java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:231)
>         at java.base/java.nio.file.Path.resolve(Path.java:516)
>         at 
> org.apache.ignite.internal.deployunit.FileDeployerService.unitPath(FileDeployerService.java:164)
>         at 
> org.apache.ignite.internal.deployunit.FileDeployerService.lambda$deploy$0(FileDeployerService.java:76)
>         at 
> java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
>         at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
>         at java.base/java.lang.Thread.run(Thread.java:1583){noformat}
> *Expected result:*
> Creation of DU with an unsupported name is not allowed



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to