Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dynamometer-infra/src/main/bash/upload-fsimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ if ! hdfs dfs -mkdir -p "$remote_dir"; then
fi
for file in ${image_file} ${image_file_xml} ${image_file_md5} ${version_file}; do
echo "Uploading ${file}..."
if ! hdfs dfs -copyFromLocal "$file" "${remote_dir}"; then
if ! hdfs dfs -copyFromLocal -f "$file" "${remote_dir}"; then
echo "Error while uploading ${file}; exiting"
rm -rf "${tmp_dir}"
exit 1
Expand Down