camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8542) hdfs & hdfs2 components are merging data locally instead of streaming it
Date Thu, 09 Jul 2015 10:35:05 GMT

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

Claus Ibsen commented on CAMEL-8542:
------------------------------------

You are welcome to work on a patch for this. Not sure how easy it is when in streaming mode.

> hdfs & hdfs2 components are merging data locally instead of streaming it
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-8542
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8542
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-hdfs
>    Affects Versions: 2.15.0
>            Reporter: Sergey Zhemzhitsky
>
> Here is the [conversation|http://camel.465427.n5.nabble.com/HDFS2-Component-and-NORMAL-FILE-type-td5764655.html]
> CAMEL-4555 introduced an ability to merge files from within a single directory.
> The merge operation is done locally, i.e. by means of creating the whole file on the
local file system (that may be space and time consuming in case of multi -gigabyte, -terabyte
files). 
> # It will be more efficient to stream these files directly from hdfs, for example by
wrapping them into [SequenceInputStream|http://docs.oracle.com/javase/7/docs/api/java/io/SequenceInputStream.html]
or something like this [MapReducePartInputStreamEnumeration|https://github.com/yahoo/Glimmer/blob/master/src/main/java/com/yahoo/glimmer/util/MapReducePartInputStreamEnumeration.java]
> # It will be really great if there will be an ability to switch merging on and off by
means of an option or parameter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message