You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/06/03 12:29:30 UTC

[GitHub] [incubator-pinot] daniellavoie opened a new issue #7015: PinotOutputFormatTest.testPinotOutputFormat fails with java.lang.NoSuchMethodError

daniellavoie opened a new issue #7015:
URL: https://github.com/apache/incubator-pinot/issues/7015


   Our internal CI picked up a consistent regression with the `PinotOutputFormatTest` from pinot-hadoop.
   
   The build is running using docker image `3.6.3-adoptopenjdk-8` and running the with `mvn verify -Pbin-dist`.
   
   ```
   [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 6.512 s <<< FAILURE! - in org.apache.pinot.hadoop.io.PinotOutputFormatTest
   [ERROR] org.apache.pinot.hadoop.io.PinotOutputFormatTest.testPinotOutputFormat  Time elapsed: 5.95 s  <<< FAILURE!
   java.lang.NoSuchMethodError: org.reflections.util.ConfigurationBuilder.filterInputsBy(Lcom/google/common/base/Predicate;)Lorg/reflections/util/ConfigurationBuilder;
   	at org.apache.pinot.segment.spi.loader.SegmentDirectoryLoaderRegistry.<clinit>(SegmentDirectoryLoaderRegistry.java:49)
   	at org.apache.pinot.segment.local.segment.index.converter.SegmentV1V2ToV3FormatConverter.copyIndexData(SegmentV1V2ToV3FormatConverter.java:143)
   	at org.apache.pinot.segment.local.segment.index.converter.SegmentV1V2ToV3FormatConverter.convert(SegmentV1V2ToV3FormatConverter.java:89)
   	at org.apache.pinot.segment.local.segment.creator.impl.SegmentIndexCreationDriverImpl.convertFormatIfNecessary(SegmentIndexCreationDriverImpl.java:371)
   	at org.apache.pinot.segment.local.segment.creator.impl.SegmentIndexCreationDriverImpl.handlePostCreation(SegmentIndexCreationDriverImpl.java:304)
   	at org.apache.pinot.segment.local.segment.creator.impl.SegmentIndexCreationDriverImpl.build(SegmentIndexCreationDriverImpl.java:257)
   	at org.apache.pinot.hadoop.io.PinotRecordWriter.createSegment(PinotRecordWriter.java:106)
   	at org.apache.pinot.hadoop.io.PinotRecordWriter.close(PinotRecordWriter.java:92)
   	at org.apache.pinot.hadoop.io.PinotOutputFormatTest.testPinotOutputFormat(PinotOutputFormatTest.java:90)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   ```


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [incubator-pinot] timsants commented on issue #7015: PinotOutputFormatTest.testPinotOutputFormat fails with java.lang.NoSuchMethodError

Posted by GitBox <gi...@apache.org>.
timsants commented on issue #7015:
URL: https://github.com/apache/incubator-pinot/issues/7015#issuecomment-856426701


   @xiangfu0's PR with the fix: https://github.com/apache/incubator-pinot/pull/7030. 
   
   TLDR: Test was depending on a shaded version of `pinot-common` which shaded com.google.guava. So the shading on `pinot-common ` was removed and transferred over to the jar of `pinot-hadoop`.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [incubator-pinot] timsants commented on issue #7015: PinotOutputFormatTest.testPinotOutputFormat fails with java.lang.NoSuchMethodError

Posted by GitBox <gi...@apache.org>.
timsants commented on issue #7015:
URL: https://github.com/apache/incubator-pinot/issues/7015#issuecomment-854891478


   I suspect we are getting a conflict with the `org.reflections` library. The latest version does not depend on the `com.google.common.base.Predicate` predicate anymore and now depends on `java.util.function.Predicate`
   
   https://github.com/ronmamo/reflections/blob/master/src/main/java/org/reflections/util/ConfigurationBuilder.java#L26


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org