You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Lukas Majercak (JIRA)" <ji...@apache.org> on 2018/05/17 21:05:00 UTC

[jira] [Created] (HDFS-13586) Fsync fails on directories on Windows

Lukas Majercak created HDFS-13586:
-------------------------------------

             Summary: Fsync fails on directories on Windows
                 Key: HDFS-13586
                 URL: https://issues.apache.org/jira/browse/HDFS-13586
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: datanode, hdfs
            Reporter: Lukas Majercak
            Assignee: Lukas Majercak


HDFS-11915 added a fsync call on DataNode's rbw directory on the first hsync() call. IOUtils.fsync first tries to get a FileChannel on the directory using FileChannel.open(READ). This call fails on Windows for any directory and throws an AccessDeniedException, see discussion here: [http://mail.openjdk.java.net/pipermail/nio-dev/2015-May/003140.html]. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org