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

Hotkey Liu commented on FLUME-2994:
-----------------------------------

[~fszabo]  [~bessbd] I don't know why you guys put off this fix time to time. 
As [~jkushmaul] figured out FileKey make use of Vol-SN and FileIndex to get a 
unique file id. According to Microsoft docs 
[https://docs.microsoft.com/zh-cn/windows/desktop/api/fileapi/ns-fileapi-_by_handle_file_information]
 , FileIndex can id files. So there is no doubt that the patch can work.

 

It seems [~jkushmaul] does not active anymore, so you guys should assign this 
issue to someone else....

> flume-taildir-source: support for windows
> -----------------------------------------
>
>                 Key: FLUME-2994
>                 URL: https://issues.apache.org/jira/browse/FLUME-2994
>             Project: Flume
>          Issue Type: Improvement
>          Components: Sinks+Sources, Windows
>    Affects Versions: 1.7.0
>            Reporter: Jason Kushmaul
>            Assignee: Jason Kushmaul
>            Priority: Trivial
>             Fix For: 1.10.0
>
>         Attachments: FLUME-2994-3.patch, taildir-mac.conf, taildir-win8.1.conf
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> The current implementation of flume-taildir-source does not support windows.
> The only reason for this from what I can see is a simple call to 
> Files.getAttribute(file.toPath(), "unix:ino");
> I've tested an equivalent for windows (which of course does not work on 
> non-windows).  With an OS switch we should be able to identify a file 
> independent of file name on either system.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to