tHDFSInput Could not obtain block

Five Stars

tHDFSInput Could not obtain block

Hi all,

I couldn't load the data from hdfs files in sandbox to the talend big data . The heading of the files are coming but the data is not listing in the output.

 

The error what i get is:

 java.io.IOException: Cannot obtain block length for LocatedBlock{BP-267552868-172.16.137.143-1457691099567:blk_1073742418_1618; getBlockSize()=0; corrupt=false; offset=0; locs=[DatanodeInfoWithStorage[192.168.230.128:50010,DS-9267f0a7-e4cf-40e2-b113-c12e16fc4aa7,DISK]]}

I use hortonworks 2.4 and talend BD 7.0.1  and i dont have problem with connectivity.

eroor.PNG

Employee

Re: tHDFSInput Could not obtain block

Hello,

 

It looks like the 'File Name' component property in tHDFSInput, is configured with a corrupted file.

Could you verify by configuring another file?

 

You may also put a valid text or csv file using tHDFSPut and then try to debug this issue with tHDFSInput - by configuring your file.

 

Hope this helps.

 

Kind regards,

vpatil