You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Puspendu Banerjee (JIRA)" <ji...@apache.org> on 2017/03/07 06:37:32 UTC

[jira] [Created] (NIFI-3562) Nifi on Docker fails due to use of NIO Files.getFileStore on OverlayFS

Puspendu Banerjee created NIFI-3562:
---------------------------------------

             Summary: 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


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* and possibly AuFS.
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 complained :D



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