You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/09/02 09:01:00 UTC

[jira] [Resolved] (CAMEL-8542) hdfs & hdfs2 components are merging data locally instead of streaming it

     [ https://issues.apache.org/jira/browse/CAMEL-8542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-8542.
--------------------------------
    Resolution: Abandoned

> 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
>            Priority: Major
>
> 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
(v8.20.10#820010)