[
https://issues.apache.org/jira/browse/HADOOP-16191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16795560#comment-16795560
]
Hudson commented on HADOOP-16191:
---------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16241 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/16241/])
HADOOP-16191. AliyunOSS: improvements for copyFile/copyDirectory and (wwei: rev
568d3ab8b65d1348dec9c971feffe200e6cba2ef)
* (edit)
hadoop-tools/hadoop-aliyun/src/test/java/org/apache/hadoop/fs/aliyun/oss/TestAliyunOSSFileSystemContract.java
* (edit)
hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/AliyunOSSFileSystem.java
* (edit)
hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/AliyunOSSFileSystemStore.java
* (edit)
hadoop-tools/hadoop-aliyun/src/main/java/org/apache/hadoop/fs/aliyun/oss/AliyunOSSCopyFileTask.java
> AliyunOSS: improvements for copyFile/copyDirectory and logging
> --------------------------------------------------------------
>
> Key: HADOOP-16191
> URL: https://issues.apache.org/jira/browse/HADOOP-16191
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/oss
> Affects Versions: 2.10.0, 2.9.2, 3.0.3, 3.3.0, 3.1.2
> Reporter: wujinhu
> Assignee: wujinhu
> Priority: Major
> Fix For: 2.10.0, 3.0.4, 3.3.0, 3.2.1, 2.9.3, 3.1.3
>
> Attachments: HADOOP-16191.001.patch
>
>
> Returned status of copyFile and copyDirectory are ignored. It's OK most of
> the time.
> {code:java}
> if (srcStatus.isDirectory()) {
> copyDirectory(srcPath, dstPath);
> } else {
> copyFile(srcPath, srcStatus.getLen(), dstPath);
> }
>
> return srcPath.equals(dstPath) || delete(srcPath, true);{code}
> However, oss fs can not catch errors when rename from one dir to another if
> the src dir is being deleted.
>
> Another improvement is logging optimization. Changing log level to debug.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]