My question is suppose we have two parquet files on HDFS: file1.parquet, and file2.parquet in different paths, and I want to copy file1.parquet to replace file2.parquet.
I used the command hdfs dfs -cp -f /path1/file1.parquet /path2/file2.parqet, there was not error thrown, but the file2.parquet was not changed at all. I have to delete file2.parquet first and then copy file1.parquet.
Any idea? Thanks