[
https://issues.apache.org/jira/browse/FLUME-901?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bruno Mahé updated FLUME-901:
-----------------------------
Attachment: FLUME-901.PATCH
Please find attached a patch.
This patch introduces profiles to select which line of Apache Hadoop you wish
to build against. By default, it will build against 0.20.205.0.
Flume will not build yet against Hadoop 0.23 until HADOOP-7937 gets resolved.
But this will not require any change on Flume side. Hadoop 0.23 is still in
development, hence the -SNAPSHOT version
Minor changes:
* HDFSTextFormatter.java has to be updated to work against both Hadoop 0.20.20X
and Hadoop 0.23. Text::getBytes() still returns the raw byte array, but now
Text is also doing some preallocation. So the byte array would be different
from what would be expected
* TestHDFSEventSink.java had at least one of its assert parameters in the wrong
order (got, expected) versus (expected, got)
Don't hesitate to let me know if you would like me to rework any part
> Make Flume NG build and pass tests against Hadoop 0.23 branch
> -------------------------------------------------------------
>
> Key: FLUME-901
> URL: https://issues.apache.org/jira/browse/FLUME-901
> Project: Flume
> Issue Type: Task
> Affects Versions: NG alpha 1
> Reporter: Bruno Mahé
> Assignee: Bruno Mahé
> Labels: bigtop
> Attachments: FLUME-901.PATCH
>
>
> This task is about adding an experimental profile for Hadoop 0.23
--
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