Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tHDFSPut: Empty File

I'm doing a simple file transformation. I take an input file, map it to an output file, make a field uppercase, and put on disk. Then I use tHDFSPut to put into HDFS.
The file gets uploaded to HDFS, but it's empty. The corresponding file on my local file system is fine.
I get a red "Error!" above the tHDFSPut task (see picture), but there are no compile errors.
The log has no error information in it.
How can I find out what the heck is going on?
0683p000009MGUY.jpg

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,
The tHDFSOutput component runs standalone and does not generate input or output flow for the other components.
It is often connected to the Job using OnSubjobOk or OnComponentOk link, depending on the context.
Could you please re-design your work flow:tfileinputxx-->tMap-->tfileoutput-->onsubjobok-->tHDFSPut to see if it works?
Best regards
Sabrina

View solution in original post

3 Replies
Anonymous
Not applicable
Author

Hi,
The tHDFSOutput component runs standalone and does not generate input or output flow for the other components.
It is often connected to the Job using OnSubjobOk or OnComponentOk link, depending on the context.
Could you please re-design your work flow:tfileinputxx-->tMap-->tfileoutput-->onsubjobok-->tHDFSPut to see if it works?
Best regards
Sabrina
Anonymous
Not applicable
Author

Thanks, I figured that out and got it working.
Gary
Anonymous
Not applicable
Author

Hi,
Thanks for marking this topic as resolved.
Best regards
Sabrina