[
https://issues.apache.org/jira/browse/FLUME-1285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450001#comment-13450001
]
Christopher Nagy commented on FLUME-1285:
-----------------------------------------
I've made changes to flume-file-channel so that it doesn't depend on Hadoop IO
classes.
Here is a summary:
- Created a new interface called 'FileChannelWritable' that has the same
methods as 'org.apache.hadoop.io.Writable' and replaced all references of
'org.apache.hadoop.io.Writable'
- Inlined the execution path of 'org.apache.hadoop.io.MapWritable' and
'org.apache.hadoop.io.Text' readFields and write methods into FlumeEvent
readFields and write methods
- Created a new utility class 'WritableUtils' that is a copy of readVInt and
writeVInt methods from 'org.apache.hadoop.io.WritableUtils'
> FileChannel has a dependency on Hadoop IO classes
> -------------------------------------------------
>
> Key: FLUME-1285
> URL: https://issues.apache.org/jira/browse/FLUME-1285
> Project: Flume
> Issue Type: Bug
> Affects Versions: v1.2.0
> Reporter: Mike Percy
> Priority: Blocker
> Fix For: v1.3.0
>
>
> The FileChannel has a dependency on Hadoop IO classes. This may not be
> necessary.
--
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