You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by ka...@apache.org on 2021/06/20 09:26:30 UTC

[submarine] branch master updated: SUBMARINE-838. Failed to find pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde

This is an automated email from the ASF dual-hosted git repository.

kaihsun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git


The following commit(s) were added to refs/heads/master by this push:
     new f24e25b  SUBMARINE-838. Failed to find pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde
f24e25b is described below

commit f24e25b9218b1ecf935d059b657197d6105563c8
Author: Kai-Hsun Chen <b0...@ntu.edu.tw>
AuthorDate: Sun Jun 20 00:50:48 2021 +0800

    SUBMARINE-838. Failed to find pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde
    
    ### What is this PR for?
    As KUAN-HSUN-LI said in the issue [SUBMARINE-838](https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-838?filter=allopenissues), if we remove our local maven cache (`~/.m2/`), maven will report as follows.
    
    ![image-2021-05-27-11-37-20-931](https://user-images.githubusercontent.com/20109646/122660236-8626b680-d1b2-11eb-84d8-e9e74d5eb5d9.png)
    
    The root cause of the error is that the artifact `pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde`, one of the dependency jar files of Hive, is not accessible from the central maven repository anymore.
    
    At first, I tried to add new repositories, including **Spring Plugins Repository, Spring Lib M Repository, and Conjars Repository**, but all of these three repositories are being deprecated. Hence, **this artifact is accessible from none of the repositories anymore.**
    
    Because the method mentioned above does not work, jojochuang recommends excluding this missing artifact and making sure the exclusion will not break our Travis tests.
    
    Reference:
    (1) https://github.com/apache/hudi/issues/160
    (2) https://github.com/apache/hudi/pull/2481
    (3) https://github.com/apache/hudi/commit/d02c0e5387481a4ac4bdc60163001b2a365150d9
    
    ### What type of PR is it?
    [Bug Fix]
    
    ### Todos
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/projects/SUBMARINE/issues/SUBMARINE-838?filter=allopenissues
    
    ### How should this be tested?
    * Step1: Local build
    ```
    rm -r ~/.m2/
    mvn clean install -DskipTests
    ```
    
    * Step2: Travis
      * https://travis-ci.com/github/kevin85421/hadoop-submarine
    
    * Step3: Github action "Deploy submarine docker images"
       * When a new commit is merged to the master branch, this action will be triggered.
    
    ### Screenshots (if appropriate)
    * Step1: Local build
    <img width="865" alt="ζˆͺεœ– 2021-06-20 上午10 51 22" src="https://user-images.githubusercontent.com/20109646/122660626-81173680-d1b5-11eb-94fb-fbcf7bfd0739.png">
    
    * Step2: Travis
      * Pass all tests on travis-ci.com
      * https://travis-ci.com/github/kevin85421/hadoop-submarine
    
    ### Questions:
    * Do the license files need updating? No
    * Are there breaking changes for older versions? No
    * Does this need new documentation? No
    
    Author: Kai-Hsun Chen <b0...@ntu.edu.tw>
    
    Signed-off-by: Kai-Hsun Chen <ka...@apache.org>
    
    Closes #608 from kevin85421/SUBMARINE-838 and squashes the following commits:
    
    b7df29b4 [Kai-Hsun Chen] SUBMARINE-838. Failed to find org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde
---
 submarine-commons/commons-metastore/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/submarine-commons/commons-metastore/pom.xml b/submarine-commons/commons-metastore/pom.xml
index c83e474..8e1b60d 100644
--- a/submarine-commons/commons-metastore/pom.xml
+++ b/submarine-commons/commons-metastore/pom.xml
@@ -138,6 +138,10 @@
           <groupId>com.google.code.gson</groupId>
           <artifactId>gson</artifactId>
         </exclusion>
+        <exclusion>
+          <groupId>org.pentaho</groupId>
+          <artifactId>*</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
 
@@ -250,6 +254,10 @@
           <artifactId>jdk.tools</artifactId>
           <groupId>jdk.tools</groupId>
         </exclusion>
+        <exclusion>
+          <groupId>org.pentaho</groupId>
+          <artifactId>*</artifactId>
+        </exclusion>
       </exclusions>
     </dependency>
 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org