You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Terry Wang (JIRA)" <ji...@apache.org> on 2019/07/30 08:27:00 UTC
[jira] [Comment Edited] (FLINK-13475) Reduce dependency on
third-party maven repositories
[ https://issues.apache.org/jira/browse/FLINK-13475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16895856#comment-16895856 ]
Terry Wang edited comment on FLINK-13475 at 7/30/19 8:26 AM:
-------------------------------------------------------------
[~MartijnVisser] It's a little strange that I couldn't reproduce your compile problem in my local environment. And I check it again that org.apache.calcite:calcite-core:jar:1.10.0 should not be imported and besides org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde can also be found in [https://mvnrepository.com/artifact/org.pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde|https://mvnrepository.com/artifact/org.pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde.]
So have you tried to build the whole flink project first using `mvn clean install -DskipTests -Dscala-2.12`?
I have tested it and everything goes well.
Following is my box environment.
`
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-15T01:29:23+08:00)
Maven home: /usr/local/Cellar/maven@3.2/3.2.5/libexec
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: "mac"
`
was (Author: terry1897):
[~MartijnVisser] It's a little strange that I couldn't reproduce your compile problem in my local environment. And I check it again that org.apache.calcite:calcite-core:jar:1.10.0 should not be imported and besides org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde can also be found in [https://mvnrepository.com/artifact/org.pentaho/pentaho-aggdesigner-algorithm/5.1.5-jhyde.]
So have you tried to build the whole flink project first using `mvn clean install -DskipTests -Dscala-2.12`?
I have tested it and everything goes well.
Following is my box environment.
`
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-15T01:29:23+08:00)
Maven home: /usr/local/Cellar/maven@3.2/3.2.5/libexec
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre
Default locale: zh_CN, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.5", arch: "x86_64", family: "mac"
`
> Reduce dependency on third-party maven repositories
> ---------------------------------------------------
>
> Key: FLINK-13475
> URL: https://issues.apache.org/jira/browse/FLINK-13475
> Project: Flink
> Issue Type: Improvement
> Components: Connectors / Hive
> Affects Versions: 1.9.0
> Reporter: Till Rohrmann
> Priority: Critical
> Fix For: 1.9.0, 1.10.0
>
> Attachments: flink-connector-hive-dependency.txt
>
>
> A user reported that Flink's Hive connectors requires third-party maven repositories which are not everywhere accessible in order to build. Concretely, the hive connector requires access to Conjars for org.pentaho:pentaho-aggdesigner-algorithm and javax.jms:jms:jar:1.1.
> It would be great to reduce the dependency on third-party maven repositories if possible. For future reference, other projects faced similar problems: CALCITE-605, CALCITE-1474
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)