Camel hdfs2 component retrieves only the last chunk of a file on a Hadoop HDFS filesystem
Issue
A Camel route reads files from a Hadoop cluster that implements an HDFS filesystem. By analogy with other camel components such as file:, the route is structured as follows:
.from("hdfs2://host/path/file")
. to("file:data/out");
On execution, the copied file seems to consist only of the last chunk of the original file (typically 4kB in length).
Environment
- Red Hat JBoss Fuse
- 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
