You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/03/18 08:51:46 UTC

[GitHub] [flink] rmetzger commented on issue #11316: [FLINK-16432] Fix dependencies in Hive Connector build

rmetzger commented on issue #11316: [FLINK-16432] Fix dependencies in Hive Connector build
URL: https://github.com/apache/flink/pull/11316#issuecomment-600498296
 
 
   Running this PR on [my CI test environment](https://dev.azure.com/georgeryan1322/Flink/_build/results?buildId=180&view=logs&j=208eba80-6d47-5681-45f9-cb4798d9b139&t=8d2ce659-6266-59ed-2515-4747449b09fc) fails in the `flink-sql-connector-hive-2.2.0` module:
   ```
   2020-03-18T08:45:21.2114285Z [INFO] ------------------------------------------------------------------------
   2020-03-18T08:45:21.2119799Z [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project flink-sql-connector-hive-2.2.0_2.11: Failed to resolve dependencies for one or more projects in the reactor. Reason: Unable to get dependency information for org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Failed to retrieve POM for org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Failure to transfer org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde from http://www.datanucleus.org/downloads/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of datanucleus has elapsed or updates are forced. Original error: Could not transfer artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde from/to datanucleus (http://www.datanucleus.org/downloads/maven2): Connect to www.datanucleus.org:80 [www.datanucleus.org/80.86.85.8] failed: Connection refused (Connection refused)
   2020-03-18T08:45:21.2122958Z [ERROR] org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde
   2020-03-18T08:45:21.2123288Z [ERROR] 
   2020-03-18T08:45:21.2123531Z [ERROR] from the specified remote repositories:
   2020-03-18T08:45:21.2123972Z [ERROR] apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
   2020-03-18T08:45:21.2124800Z [ERROR] google-maven-central (https://maven-central-eu.storage-download.googleapis.com/maven2/, releases=true, snapshots=false),
   2020-03-18T08:45:21.2125401Z [ERROR] datanucleus (http://www.datanucleus.org/downloads/maven2, releases=true, snapshots=false),
   2020-03-18T08:45:21.2126202Z [ERROR] glassfish-repository (http://maven.glassfish.org/content/groups/glassfish, releases=false, snapshots=false),
   2020-03-18T08:45:21.2127025Z [ERROR] glassfish-repo-archive (http://maven.glassfish.org/content/groups/glassfish, releases=false, snapshots=false),
   2020-03-18T08:45:21.2127852Z [ERROR] sonatype-snapshot (https://oss.sonatype.org/content/repositories/snapshots, releases=false, snapshots=false)
   2020-03-18T08:45:21.2128275Z [ERROR] Path to dependency:
   2020-03-18T08:45:21.2128834Z [ERROR] 1) org.apache.flink:flink-sql-connector-hive-2.2.0_2.11:jar:1.11-SNAPSHOT
   2020-03-18T08:45:21.2129448Z [ERROR] 2) org.apache.hive:hive-exec:jar:2.2.0
   2020-03-18T08:45:21.2129975Z [ERROR] 3) org.apache.calcite:calcite-core:jar:1.10.0
   2020-03-18T08:45:21.2130419Z [ERROR] -> [Help 1]
   2020-03-18T08:45:21.2130610Z [ERROR] 
   2020-03-18T08:45:21.2131114Z [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   2020-03-18T08:45:21.2131879Z [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   2020-03-18T08:45:21.2132183Z [ERROR] 
   2020-03-18T08:45:21.2132538Z [ERROR] For more information about the errors and possible solutions, please read the following articles:
   2020-03-18T08:45:21.2133031Z [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   2020-03-18T08:45:21.2133368Z [ERROR] 
   2020-03-18T08:45:21.2133660Z [ERROR] After correcting the problems, you can resume the build with the command
   2020-03-18T08:45:21.2134272Z [ERROR]   mvn <goals> -rf :flink-sql-connector-hive-2.2.0_2.11
   ```
   
   I suspect it fails on this environment because the dependency is already available in the local .m2 directory (through caching).

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


With regards,
Apache Git Services