You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/02/21 21:35:11 UTC

[jira] [Commented] (FLINK-1596) FileIOChannel introduces space in temp file name

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

ASF GitHub Bot commented on FLINK-1596:
---------------------------------------

GitHub user jkirsch opened a pull request:

    https://github.com/apache/flink/pull/431

    [FLINK-1596] remove space in filename

    Simple fix seems to cause issues on Windows

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

    $ git pull https://github.com/jkirsch/incubator-flink tempname

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

    https://github.com/apache/flink/pull/431.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 #431
    
----
commit 065e0bc5f979067cd938766ae659c2732fb2ab53
Author: Johannes <jk...@gmail.com>
Date:   2015-02-21T20:32:34Z

    [FLINK-1596] remove space in filename

----


> FileIOChannel introduces space in temp file name
> ------------------------------------------------
>
>                 Key: FLINK-1596
>                 URL: https://issues.apache.org/jira/browse/FLINK-1596
>             Project: Flink
>          Issue Type: Bug
>          Components: Local Runtime
>    Affects Versions: 0.9
>            Reporter: Johannes
>            Assignee: Johannes
>            Priority: Minor
>              Labels: easyfix
>
> FLINK-1483 introduced separate directories for all threads.
> Unfortunately this seems to not work on windows, due to spaces in the filename
> Stacktrace
> {code}
> Caused by: java.io.IOException: Channel to path '....\AppData\Local\Temp\flink-io-366dee63-092c-415c-b119-a138506dec86\ fa44b17b98c3b1b1e30185fd92be5d01.000002.channel' could not be opened.
> 	at org.apache.flink.runtime.io.disk.iomanager.AbstractFileIOChannel.<init>(AbstractFileIOChannel.java:61)
> 	at org.apache.flink.runtime.io.disk.iomanager.AsynchronousFileIOChannel.<init>(AsynchronousFileIOChannel.java:77)
> 	at org.apache.flink.runtime.io.disk.iomanager.AsynchronousBulkBlockReader.<init>(AsynchronousBulkBlockReader.java:46)
> 	at org.apache.flink.runtime.io.disk.iomanager.AsynchronousBulkBlockReader.<init>(AsynchronousBulkBlockReader.java:39)
> 	at org.apache.flink.runtime.io.disk.iomanager.IOManagerAsync.createBulkBlockChannelReader(IOManagerAsync.java:236)
> 	at org.apache.flink.runtime.operators.hash.MutableHashTable.buildTableFromSpilledPartition(MutableHashTable.java:747)
> 	at org.apache.flink.runtime.operators.hash.MutableHashTable.prepareNextPartition(MutableHashTable.java:508)
> 	at org.apache.flink.runtime.operators.hash.ReOpenableMutableHashTable.prepareNextPartition(ReOpenableMutableHashTable.java:167)
> 	at org.apache.flink.runtime.operators.hash.MutableHashTable.nextRecord(MutableHashTable.java:541)
> 	at org.apache.flink.runtime.operators.hash.NonReusingBuildFirstHashMatchIterator.callWithNextKey(NonReusingBuildFirstHashMatchIterator.java:104)
> 	at org.apache.flink.runtime.operators.AbstractCachedBuildSideMatchDriver.run(AbstractCachedBuildSideMatchDriver.java:155)
> 	at org.apache.flink.runtime.operators.RegularPactTask.run(RegularPactTask.java:496)
> 	at org.apache.flink.runtime.iterative.task.AbstractIterativePactTask.run(AbstractIterativePactTask.java:139)
> 	at org.apache.flink.runtime.iterative.task.IterationIntermediatePactTask.run(IterationIntermediatePactTask.java:92)
> 	at org.apache.flink.runtime.operators.RegularPactTask.invoke(RegularPactTask.java:362)
> 	at org.apache.flink.runtime.execution.RuntimeEnvironment.run(RuntimeEnvironment.java:204)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.FileNotFoundException: ....AppData\Local\Temp\flink-io-366dee63-092c-415c-b119-a138506dec86\ fa44b17b98c3b1b1e30185fd92be5d01.000002.channel (Das System kann die angegebene Datei nicht finden)
> 	at java.io.RandomAccessFile.open(Native Method)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:241)
> 	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:122)
> 	at org.apache.flink.runtime.io.disk.iomanager.AbstractFileIOChannel.<init>(AbstractFileIOChannel.java:57)
> 	... 16 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)