Hi All, 

I have a route that is supposed to take a file from a directory and marshal it 
through to HDFS via the camel-hdfs component. Everything is working except the 
file never gets renamed from .opened (and it's empty, but I guess this is 
because the stream is open still). I am not specifying a split strategy and 
appending to files is not an issue for what I am doing as I always have the 
whole file in the Exchange. 

I have tried stepping through the code but I can't see where the stream is ever 
closed except when a split strategy is defined, I have tried MESSSAGES:0 but 
this results in an empty seq0 file and a seq1.opened which never closes (at 
least it is never renamed). 

So I  guess my question is how do I just put a file into HDFS?

I am using version 2.8.1 and an example endpoint URL is 
hdfs://10.1.10.159?blockSize=67108864&replication=2

Thanks in advance, 

Dan.

Reply via email to