You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Lisheng Sun (Jira)" <ji...@apache.org> on 2019/09/24 11:39:00 UTC

[jira] [Resolved] (HDFS-14871) StagingTestBase uses methods not available in Mockito 1.8.5 in branch-3.1

     [ https://issues.apache.org/jira/browse/HDFS-14871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lisheng Sun resolved HDFS-14871.
--------------------------------
    Resolution: Duplicate

> StagingTestBase uses methods not available in Mockito 1.8.5 in branch-3.1
> -------------------------------------------------------------------------
>
>                 Key: HDFS-14871
>                 URL: https://issues.apache.org/jira/browse/HDFS-14871
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Lisheng Sun
>            Priority: Major
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org