I\'m having trouble to append data to an existing file in HDFS. I want that if the file exists then append a line, if not, create a new file with the name given.
Her
HDFS does not allow append operations. One way to implement the same functionality as appending is: