[ 
https://issues.apache.org/jira/browse/FLINK-27640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538236#comment-17538236
 ] 

Chesnay Schepler commented on FLINK-27640:
------------------------------------------

FYI this is because you are using a newer maven version than recommended, which 
blocks http repositories.

The conjars repo is defined in the hive poms. We could override those, but it's 
not really ideal because this is only required for hive 2.X, and not 3.X that 
we also support.



> Flink not compiling, flink-connector-hive_2.12 is missing jhyde 
> pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde 
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-27640
>                 URL: https://issues.apache.org/jira/browse/FLINK-27640
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System, Connectors / Hive
>    Affects Versions: 1.16.0
>            Reporter: Piotr Nowojski
>            Assignee: Chesnay Schepler
>            Priority: Critical
>
> When clean installing whole project after cleaning local {{.m2}} directory I 
> encountered the following error when compiling flink-connector-hive_2.12:
> {noformat}
> [ERROR] Failed to execute goal on project flink-connector-hive_2.12: Could 
> not resolve dependencies for project 
> org.apache.flink:flink-connector-hive_2.12:jar:1.16-SNAPSHOT: Failed to 
> collect dependencies at org.apache.hive:hive-exec:jar:2.3.9 -> 
> 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 
> maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for 
> repositories: [conjars (http://conjars.org/repo, default, 
> releases+snapshots), apache.snapshots 
> (http://repository.apache.org/snapshots, default, snapshots)] -> [Help 1]
> {noformat}
> I've solved this by adding 
> {noformat}
>         <repository>
>             <id>spring-repo-plugins</id>
>             <url>https://repo.spring.io/ui/native/plugins-release/</url>
>         </repository>
> {noformat}
> to ~/.m2/settings.xml file. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to