Mubarak Seyed created FLUME-1373:
------------------------------------
Summary: Remove hardcoded file separator in HDFSEventSink
Key: FLUME-1373
URL: https://issues.apache.org/jira/browse/FLUME-1373
Project: Flume
Issue Type: Bug
Components: Sinks+Sources
Reporter: Mubarak Seyed
Priority: Trivial
configure() in HDFSEventSink hardcodes the file separator
{code}
// FIXME: Not portable to Windows
this.path = dirpath + "/" + fileName;
{code}
Fix is very simple, just to use
{code}
this.path = dirpath + System.getProperty("file.separator") + fileName;
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira