Closed mooreniemi closed 6 months ago
I tried to downgrade to mvn
3.6.3, I then hit:
[ERROR] Failed to execute goal on project hive2-shims: Could not resolve dependencies for project com.amazon.emr:hive2-shims:jar:5.2.0-SNAPSHOT: Failed to collect dependencies at org.apache.hive:hive-exec:jar:2.3.0 -> org.apache.calcite:calcite-core:jar:1.10.0 -> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Failed to read artifact descriptor for org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Could not transfer artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde from/to conjars (http://conjars.org/repo): Transfer failed for http://conjars.org/repo/org/pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde/pentaho-aggdesigner-algorithm-5.1.5-jhyde.pom: Connect to conjars.org:80 [conjars.org/54.235.127.59] failed: Connection timed out (Connection timed out) -> [Help 1]
Connect to conjars.org:80 [conjars.org/54.235.127.59] failed
Note: I've given up on this and will try using the glue connector instead.
It appears that repo is no longer around. I was able to get this to build with the following change to shims/hive2-shims/pom.xml
:
<dependencies>
<dependency>
<groupId>org.apache.hive</groupId>
<artifactId>hive-exec</artifactId>
<version>${hive2.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.pentaho</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>com.amazon.emr</groupId>
<artifactId>shims-common</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependencies>
On Java 8, cloned down the repo and then did
mvn install
, fails: