Four Stars

Tsend mail attach File from Hadoop

Hi ,

I want to attach some file from hadoop to send in email attachment I used tsendmail and provided the path of the hadoop using hdfs protocol but it is not working can anyone help me in this.

 

"hdfs://example.com:8020/test/test.txt"

 

this path is I'm using in tsendmail component

1 REPLY
Seven Stars

Re: Tsend mail attach File from Hadoop

I think you'll have to pull down the file to the local filesystem using tHDFSGet then attach it to the email.  I don't think the tSendMail component will recognize a HDFS path.