adoroszlai commented on PR #4992:
URL: https://github.com/apache/ozone/pull/4992#issuecomment-1628407735
@aryangupta1998 @sadanand48 I have reverted this from `master` because
compilation is failing:
```
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile
(default-testCompile) on project ozone-manager: Compilation failure
[ERROR]
/home/runner/work/ozone/ozone/hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om/request/s3/multipart/TestS3MultipartRequest.java:[89,45]
no suitable method found for
thenReturn(org.apache.hadoop.ozone.om.OmMetadataReader)
[ERROR] method
org.mockito.stubbing.OngoingStubbing.thenReturn(org.apache.hadoop.ozone.om.snapshot.ReferenceCounted<org.apache.hadoop.ozone.om.IOmMetadataReader,org.apache.hadoop.ozone.om.snapshot.SnapshotCache>)
is not applicable
[ERROR] (argument mismatch;
org.apache.hadoop.ozone.om.OmMetadataReader cannot be converted to
org.apache.hadoop.ozone.om.snapshot.ReferenceCounted<org.apache.hadoop.ozone.om.IOmMetadataReader,org.apache.hadoop.ozone.om.snapshot.SnapshotCache>)
[ERROR] method
org.mockito.stubbing.OngoingStubbing.thenReturn(org.apache.hadoop.ozone.om.snapshot.ReferenceCounted<org.apache.hadoop.ozone.om.IOmMetadataReader,org.apache.hadoop.ozone.om.snapshot.SnapshotCache>,org.apache.hadoop.ozone.om.snapshot.ReferenceCounted<org.apache.hadoop.ozone.om.IOmMetadataReader,org.apache.hadoop.ozone.om.snapshot.SnapshotCache>...)
is not applicable
[ERROR] (argument mismatch;
org.apache.hadoop.ozone.om.OmMetadataReader cannot be converted to
org.apache.hadoop.ozone.om.snapshot.ReferenceCounted<org.apache.hadoop.ozone.om.IOmMetadataReader,org.apache.hadoop.ozone.om.snapshot.SnapshotCache>)
```
#4567 changed `OzoneManager`:
```diff
- public OmMetadataReader getOmMetadataReader() {
- return omMetadataReader;
+ public ReferenceCounted<
+ IOmMetadataReader, SnapshotCache> getOmMetadataReader() {
+ return rcOmMetadataReader;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]