Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks Plug-in for Big Data | 6.3.1 and above |
The HDFS file write activity provides options for append and overwrite in the general tab.
Case 1 - When Both append and Overwrite is not selected, file is not present in the HDFS -> Success, new file is created
Case 2 - Append is not selected and Overwrite is selected, file is not present in the HDFS -> Success, new file is created.
Case 3 - Append is selected and Overwrite is not selected(Overwrite checkbox is hidden), file is not present in the HDFS -> Failed, FileNotFound Exception.
The reason why case 3 is failed is that the webhdfs API expects file to be present for append operation. The webhdfs REST URL includes File path while submitting the append request.