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

Strange... simple tHDFSDelete not deleting file(s)

Tried several things to delete files from my home folder in HDFS using tHDFSDelete. Created a simple job and hardcoded values as my approach to troubleshooting but cannot seem to make this work.
The job finishes with the tHDFSDelete component finishing ok but the file is still in HDFS.
Any thoughts on what this could be?
See attached photos: 


Note, I tried with and without context variables in the hadoop connection. I used same context variables when placing the file in my home folder.
My HDFS local folder with the file name highlighted.
Labels (2)
1 Reply
Anonymous
Not applicable
Author

For some reason, my attached screenshots were not included in my post.
All I have is tHDFSDelete and hardcoded the exact path and filename, enclosed in quotes.
I used context variables for the HDFS Connection, I tried without and it did not help.
tHDFSDelete --> 
OnSubJobError --> points to tJava with a message "unsuccessful"
OnSubJobOK --> points to tJava with a message "successful"
When I run this, I get a message of successful but file is not deleted.