ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-10429) ML: TensorFlowLocalInferenceExample fails on Windows
Date Tue, 27 Nov 2018 16:04:00 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-10429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700625#comment-16700625
] 

ASF GitHub Bot commented on IGNITE-10429:
-----------------------------------------

GitHub user dmitrievanthony opened a pull request:

    https://github.com/apache/ignite/pull/5514

    IGNITE-10429: Wrap Scanner in DirectorySerializerTest into try-with-resources.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-10429

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/5514.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5514
    
----
commit 82e5e487744cc5b56232b304eb90f040619272ea
Author: dmitrievanthony <dmitrievanthony@...>
Date:   2018-11-27T16:01:27Z

    IGNITE-10429: Wrap Scanner in DirectorySerializerTest into
    try-with-resources.

----


> ML: TensorFlowLocalInferenceExample fails on Windows
> ----------------------------------------------------
>
>                 Key: IGNITE-10429
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10429
>             Project: Ignite
>          Issue Type: Bug
>          Components: ml
>    Affects Versions: 2.8
>            Reporter: Anton Dmitriev
>            Assignee: Anton Dmitriev
>            Priority: Major
>             Fix For: 2.8
>
>
> failure message says file is in use by another process
> {noformat}
> java.lang.RuntimeException: java.nio.file.FileSystemException: C:\Users\Gridgain\AppData\Local\Temp\directory_serializer_test_dst8891183962982271102\a\b\test.txt:
Процесс не может получить доступ к файлу, так как
этот файл занят другим процессом.
> at org.apache.ignite.ml.inference.util.DirectorySerializer.deleteDirectory(DirectorySerializer.java:107)
> at org.apache.ignite.ml.inference.util.DirectorySerializer.deleteDirectory(DirectorySerializer.java:99)
> at org.apache.ignite.ml.inference.util.DirectorySerializer.deleteDirectory(DirectorySerializer.java:99)
> at org.apache.ignite.ml.inference.util.DirectorySerializer.deleteDirectory(DirectorySerializer.java:99)
> at org.apache.ignite.ml.inference.util.DirectorySerializerTest.testSerializeDeserializeWithDirectory(DirectorySerializerTest.java:122)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
> at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
> at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
> at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
> at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
> Caused by: java.nio.file.FileSystemException: C:\Users\Gridgain\AppData\Local\Temp\directory_serializer_test_dst8891183962982271102\a\b\test.txt:
Процесс не может получить доступ к файлу, так как
этот файл занят другим процессом.
> at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
> at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
> at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
> at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
> at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
> at java.nio.file.Files.delete(Files.java:1126)
> at org.apache.ignite.ml.inference.util.DirectorySerializer.deleteDirectory(DirectorySerializer.java:104)
> ... 26 more
> {noformat}
> Fix is to wrap Scanner usage in try-with-resources



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message