This is an automated email from the ASF dual-hosted git repository. jenniferdai pushed a commit to branch adlFix in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
commit 87488bf52bf65f365a17c9ad446f9f2644854060 Author: Jennifer Dai <[email protected]> AuthorDate: Tue Nov 27 14:05:23 2018 -0800 Fixing AzurePinotFS move api --- .../src/main/java/com/linkedin/pinot/filesystem/AzurePinotFS.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pinot-azure-filesystem/src/main/java/com/linkedin/pinot/filesystem/AzurePinotFS.java b/pinot-azure-filesystem/src/main/java/com/linkedin/pinot/filesystem/AzurePinotFS.java index 796d4a0..0a7e84b 100644 --- a/pinot-azure-filesystem/src/main/java/com/linkedin/pinot/filesystem/AzurePinotFS.java +++ b/pinot-azure-filesystem/src/main/java/com/linkedin/pinot/filesystem/AzurePinotFS.java @@ -99,8 +99,7 @@ public class AzurePinotFS extends PinotFS { if (exists(dstUri) && !overwrite) { return false; } - //rename the file - return _adlStoreClient.rename(srcUri.getPath(), dstUri.getPath()); + return copy(srcUri, dstUri) && delete(srcUri, true); } @Override --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
