[
https://issues.apache.org/jira/browse/FLUME-1210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nishchay updated FLUME-1210:
----------------------------
Labels: patch (was: )
Affects Version/s: v1.2.0
Release Note: Moved all the configurations to enum so that these can
be easily changed
Status: Patch Available (was: Open)
Moved all the configurations to enum so that these can be easily changed
> HDFS sink: replace hard-coded configuration names with constants.
> -----------------------------------------------------------------
>
> Key: FLUME-1210
> URL: https://issues.apache.org/jira/browse/FLUME-1210
> Project: Flume
> Issue Type: Improvement
> Components: Sinks+Sources
> Affects Versions: v1.1.0, v1.2.0
> Reporter: Mingjie Lai
> Priority: Minor
> Labels: patch
> Attachments: diff.patch
>
>
> Minor issue -- there are tons of hard-coded configuration names in hdfs sink.
> they should be replaced by constants.
> {code}
> context.put("hdfs.path", newPath);
> context.put("hdfs.filePrefix", fileName);
> context.put("hdfs.txnEventMax", String.valueOf(txnMax));
> context.put("hdfs.rollCount", String.valueOf(rollCount));
> {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