nilesh-kanawade commented on issue #3459: Compilation Failure while executing 
"mvn install package  -DskipTests -Pbuild-shaded-jar"
URL: 
https://github.com/apache/incubator-pinot/issues/3459#issuecomment-437778368
 
 
   Thanks @snleee!!
   
   I have tried with java8 and got below error:
   [ERROR] Failed to execute goal on project pinot-server: Could not resolve 
dependencies for project com.linkedin.pinot:pinot-server:jar:0.016: Failed to 
collect dependencies at com.jcabi:jcabi-log:jar:0.17.1: Failed to read artifact 
descriptor for com.jcabi:jcabi-log:jar:0.17.1: Could not transfer artifact 
com.jcabi:jcabi-log:pom:0.17.1 from/to chibi (http://www.chibi.ubc.ca/maven2/): 
www.chibi.ubc.ca: nodename nor servname provided, or not known: Unknown host 
www.chibi.ubc.ca: nodename nor servname provided, or not known -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <goals> -rf :pinot-server
   
   So, I changed command to "mvn -Pbuild-shaded-jar install package" which 
resolves above issue but eventually failed integration test 
(pinot-integration-test). Here is the output:
   Results :
   Failed tests: 
     OfflineClusterIntegrationTest.setUp:129->ClusterTest.uploadSegments:271 ยป 
Execution
   
   Tests run: 81, Failures: 1, Errors: 0, Skipped: 5
   
   [INFO] 
------------------------------------------------------------------------
   [INFO] Reactor Summary for pinot 0.016:
   [INFO] 
   [INFO] pinot .............................................. SUCCESS [  3.534 
s]
   [INFO] pinot-filesystem ................................... SUCCESS [ 14.043 
s]
   [INFO] pinot-common ....................................... SUCCESS [ 35.859 
s]
   [INFO] pinot-transport .................................... SUCCESS [01:15 
min]
   [INFO] pinot-core ......................................... SUCCESS [13:36 
min]
   [INFO] pinot-server ....................................... SUCCESS [04:08 
min]
   [INFO] pinot-controller ................................... SUCCESS [05:51 
min]
   [INFO] pinot-broker ....................................... SUCCESS [02:36 
min]
   [INFO] pinot-api .......................................... SUCCESS [ 13.576 
s]
   [INFO] pinot-hadoop ....................................... SUCCESS [ 49.484 
s]
   [INFO] pinot-tools ........................................ SUCCESS [01:32 
min]
   [INFO] pinot-minion ....................................... SUCCESS [ 18.665 
s]
   [INFO] pinot-integration-tests ............................ FAILURE [29:34 
min]
   [INFO] pinot-perf ......................................... SKIPPED
   [INFO] pinot-hadoop-filesystem ............................ SKIPPED
   [INFO] pinot-azure-filesystem ............................. SKIPPED
   [INFO] pinot-distribution ................................. SKIPPED
   [INFO] 
------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] 
------------------------------------------------------------------------
   [INFO] Total time:  01:00 h
   [INFO] Finished at: 2018-11-12T14:54:56+08:00
   [INFO] 
------------------------------------------------------------------------
   [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on 
project pinot-integration-tests: There are test failures.
   [ERROR] 
   [ERROR] Please refer to 
/Users/nilesh/Documents/repositories/pinot/incubator-pinot/pinot-integration-tests/target/surefire-reports
 for the individual test results.
   [ERROR] -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please 
read the following articles:
   [ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the 
command
   [ERROR]   mvn <goals> -rf :pinot-integration-tests
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to