[
https://issues.apache.org/jira/browse/HBASE-8838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709403#comment-13709403
]
Hudson commented on HBASE-8838:
-------------------------------
SUCCESS: Integrated in hbase-0.95 #328 (See
[https://builds.apache.org/job/hbase-0.95/328/])
HBASE-8838 [WINDOWS] FileLink assumptions are broken under NTFS (enis: rev
1503507)
*
/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
*
/hbase/branches/0.95/hbase-server/src/test/java/org/apache/hadoop/hbase/io/TestFileLink.java
> [WINDOWS] FileLink assumptions are broken under NTFS
> ----------------------------------------------------
>
> Key: HBASE-8838
> URL: https://issues.apache.org/jira/browse/HBASE-8838
> Project: HBase
> Issue Type: Sub-task
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Fix For: 0.98.0, 0.95.2
>
> Attachments: hbase-8838_v1.patch
>
>
> FileLink assumes that underlying files can be moved while there are open
> readers. Windows does not allow the file which has active readers to be moved
> unless the file is opened in shared mode. JDK6 and 7 open the file in
> exclusive mode by default, so moving the file while there are readers is not
> possible.
> Hadoop-on-windows copies the file, if it cannot perform the rename. This will
> cause duplication, and the original file not being deleted.
> This affects the unit test TestFileLink. On local mode over NTFS, reading
> from snapshot files and replication might cause issues, but I don't think it
> has any other implications on hbase+hdfs on windows.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira