pinot-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-pinot] siddharthteotia opened a new issue #5044: mvn test fails
Date Mon, 03 Feb 2020 21:11:50 GMT
siddharthteotia opened a new issue #5044: mvn test fails
   While rebasing on latest master, our release jobs failed 
   ` file://some/path/pinot/pinot-integration-tests/target/pinot-integration-tests-0.3.0-SNAPSHOT-tests.jar!/On_Time_On_Time_Performance_2014_100k_subset_nonulls.schema
(No such file or directory)
   51460         at Method)
   51461         at
   51462         at<init>(
   51463         at com.fasterxml.jackson.core.JsonFactory.createParser(
   51464         at com.fasterxml.jackson.databind.ObjectReader.readValue(
   51465         at org.apache.pinot.spi.utils.JsonUtils.fileToObject(
   51466         at
   51467         at org.apache.pinot.integration.tests.HadoopSegmentBuildPushOfflineClusterIntegrationTest.setUp(`
   This can also be reproduced locally by doing mvn test. 
   It looks like getClassLoader().getResource(getSchemaFileName()) works as long as the resource
is a physical file. In this case, the resource is a schema file in the test-jar produced when
pinot-integration-tests module was built -- this is why there is an exclamation mark in the
path at the end of jar file name. 
   This link seems to suggest that we should be doing getResourceAsStream() in such cases
when the resource file is inside a bundled jar.
   One another way is to probably copy this schema file in src/test/resources folder for 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:

With regards,
Apache Git Services

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message