kevin85421 opened a new pull request #608:
URL: https://github.com/apache/submarine/pull/608


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


-- 
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:
[email protected]


Reply via email to