[ https://issues.apache.org/jira/browse/HADOOP-16600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938606#comment-16938606 ]
Duo Zhang commented on HADOOP-16600: ------------------------------------ Tried to reset to this commit commit de8b6ca5ef8614de6d6277b7617e27c788b0555c Author: Steve Loughran <ste...@apache.org> Date: Wed Nov 22 15:28:12 2017 +0000 HADOOP-13786 Add S3A committer for zero-rename commits to S3 endpoints. Contributed by Steve Loughran and Ryan Blue. But I still can not compile the code, this time it is due to an unresolved dependency. And I tried 'mvn dependency:tree', th mockito-all dependency is still 1.8.5. Strange. Why we do not find this compile error in the past? > StagingTestBase uses methods not available in Mockito 1.8.5 in branch-3.1 > ------------------------------------------------------------------------- > > Key: HADOOP-16600 > URL: https://issues.apache.org/jira/browse/HADOOP-16600 > Project: Hadoop Common > Issue Type: Bug > Affects Versions: 3.1.0, 3.1.1, 3.1.2 > Reporter: Lisheng Sun > Assignee: Lisheng Sun > Priority: Major > Attachments: HADOOP-16600.branch-3.1.v1.patch > > > details see HADOOP-15398 > Problem: hadoop trunk compilation is failing > Root Cause: > compilation error is coming from > org.apache.hadoop.fs.s3a.commit.staging.StagingTestBase. Compilation error is > "The method getArgumentAt(int, Class<UploadPartRequest>) is undefined for the > type InvocationOnMock". > StagingTestBase is using getArgumentAt(int, Class<UploadPartRequest>) method > which is not available in mockito-all 1.8.5 version. getArgumentAt(int, > Class<UploadPartRequest>) method is available only from version 2.0.0-beta > as follow code: > {code:java} > InitiateMultipartUploadRequest req = invocation.getArgumentAt( > 0, InitiateMultipartUploadRequest.class); > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org