0 votes
in Big Data | Hadoop by

What happens if one Hadoop client renames a file or a directory containing this file while another client is still writing into it?

1 Answer

0 votes
by

A file will appear in the name space as soon as it is created. If a writer is writing to a file and another client renames either the file itself or any of its path components, then the original writer will get an IOException either when it finishes writing to the current block or when it closes the file.

Related questions

0 votes
asked Feb 23, 2020 in Big Data | Hadoop by rahuljain1
0 votes
asked Apr 1, 2020 in Big Data | Hadoop by AdilsonLima
...