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

Fabian Hueske edited comment on FLINK-2198 at 6/11/15 10:02 AM:
----------------------------------------------------------------

Windows file systems do not support to set write permissions on directories.#
The BlobManager tests rely on this and assert that the call 
{{File.setWritable()}} returns true, which does not work for directories on 
Windows.

Consequently the BlobManager tests fail on windows.

Would be good to fix these tests such that Flink can be developed on Windows 
systems.


was (Author: fhueske):
The problem seems to be caused by the {{File.setExecutable()}}, 
{{File.setReadable()}}, and {{File.setWritable()}} calls which might return 
{{false}} on Windows file systems (NTFS, FAT).

> BlobManager tests fail on Windows
> ---------------------------------
>
>                 Key: FLINK-2198
>                 URL: https://issues.apache.org/jira/browse/FLINK-2198
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System, Tests
>    Affects Versions: 0.9
>         Environment: Windows 8.1, Java 7, Maven 3.3.3
>            Reporter: Fabian Hueske
>
> Building Flink on Windows using {{mvn clean install}} fails with the 
> following error:
> {code}
> BlobUtilsTest.before:45 null
>   BlobUtilsTest.before:45 null
>   BlobServerDeleteTest.testDeleteFails:291 null
>   BlobLibraryCacheManagerTest.testRegisterAndDownload:196 Could not
> remove write permissions from cache directory
>   BlobServerPutTest.testPutBufferFails:224 null
>   BlobServerPutTest.testPutNamedBufferFails:286 null
>   JobManagerStartupTest.before:55 null
>   JobManagerStartupTest.before:55 null
>   DataSinkTaskTest.testFailingDataSinkTask:317 Temp output file has
> not been removed
>   DataSinkTaskTest.testFailingSortingDataSinkTask:358 Temp output file
> has not been removed
>   TaskManagerTest.testSubmitAndExecuteTask**:123 assertion failed:
> timeout (19998080696 nanoseconds) during expectMsgClass waiting for
> class 
> org.apache.flink.runtime.messages.RegistrationMessages$RegisterTaskManager
>   TaskManagerProcessReapingTest.testReapProcessOnFailure:133
> TaskManager process did not launch the TaskManager properly. Failed to
> look up akka.tcp://flink@127.0.0.1:50673/user/taskmanager
> {code}



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

Reply via email to