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

Puspendu Banerjee commented on NIFI-3562:
-----------------------------------------

just tested on AuFS and so far it looks good

> Nifi on Docker fails due to use of NIO Files.getFileStore on OverlayFS
> ----------------------------------------------------------------------
>
>                 Key: NIFI-3562
>                 URL: https://issues.apache.org/jira/browse/NIFI-3562
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework, Extensions, Tools and Build
>    Affects Versions: 1.2.0
>         Environment: CentOS 7 on Docker 17.03.0-ce-win1 (10296) with 
> overlayfs.
> Java build 1.8.0_121-b13, Oracle
>            Reporter: Puspendu Banerjee
>              Labels: docker, overlayfs
>
> Whenever a component, build or test is running having Files.getFileStore, 
> java is throwing exception and the process fails. PFB:
> {code:java}
> java> import java.nio.file.*;
> Imported java.nio.file.*
> java> Path p= 
> FileSystems.getDefault().getPath("/home/puspendu/src/nifi","LICENSE")
> java.nio.file.Path p = /home/puspendu/src/nifi/LICENSE
> java> Files.getFileStore(p);
> java.io.IOException: Mount point not found
> {code}
> An active bug is there on JDK side 
> https://bugs.openjdk.java.net/browse/JDK-8165852.
> The same issue is present with  *btrfs* .
> For Nifi, either 
> - we should halt support for Docker container unless that issue is getting 
> fixed or 
> - need to modify our code and use *java.io.File* wherever needed or
> - we can just ignore assuming none else is using overlayfs2 :D or
> - we can explicitly state it as a known issue in corresponding nifi user 
> manual.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to