[resolved] not able to delete hdfs files using tHDFSDelete

One Star

[resolved] not able to delete hdfs files using tHDFSDelete

Hello,
I am trying to delete hdfs files from a folder using the tHDFSDelete component. But it does not seem to work as it should.
I have job tHDFSList->iterate->THDFSDelete.
But the files are not deleted from the directory.
Thanks,
rhp

Accepted Solutions
One Star

Re: [resolved] not able to delete hdfs files using tHDFSDelete

It works now. I gave the filemask pattern as "*.extension". Thanks for your help.

All Replies
Community Manager

Re: [resolved] not able to delete hdfs files using tHDFSDelete

any error? Which version of Talend Studio? Which Hadoop distribution?
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] not able to delete hdfs files using tHDFSDelete

There is no error. Talend enterprise ver 5.6.1 and hadoop is hortonworks 2.1. If i specify the directory it deletes or if i specify the individual file then it deletes. But not when i used tHDFSList_1.CURRENTFILEPATH.
One Star

Re: [resolved] not able to delete hdfs files using tHDFSDelete

It works now. I gave the filemask pattern as "*.extension". Thanks for your help.