You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by GitBox <gi...@apache.org> on 2022/09/21 08:43:58 UTC

[GitHub] [ambari] timyuer opened a new pull request, #3369: AMBARI-25735: Fix build failure on Ambari Agent due to maven-shade-plugin version

timyuer opened a new pull request, #3369:
URL: https://github.com/apache/ambari/pull/3369

   AMBARI-25735: Fix build failure on Ambari Agent due to maven-shade-plugin version
   
   ## What changes were proposed in this pull request?
   
   (Please fill in changes proposed in this fix)
   
   ## How was this patch tested?
   ![微信图片_20220921164324](https://user-images.githubusercontent.com/16263438/191458466-be057917-0754-4397-9e91-ad2f34984f66.jpg)
   
   (Please explain how this patch was tested. Ex: unit tests, manual tests)
   (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
   
   Please review [Ambari Contributing Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) before opening a pull request.


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

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [ambari] timyuer commented on pull request #3369: AMBARI-25735: Fix build failure on Ambari Agent due to maven-shade-plugin version

Posted by GitBox <gi...@apache.org>.
timyuer commented on PR #3369:
URL: https://github.com/apache/ambari/pull/3369#issuecomment-1253404042

   ![ambari_20220921165316](https://user-images.githubusercontent.com/16263438/191460689-c6c89ac2-8d5d-4e96-b2e5-411ef6b5f264.png)
   


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

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [ambari] kevinw66 commented on pull request #3369: AMBARI-25735: Fix build failure on Ambari Agent due to maven-shade-plugin version

Posted by GitBox <gi...@apache.org>.
kevinw66 commented on PR #3369:
URL: https://github.com/apache/ambari/pull/3369#issuecomment-1253428339

   Before applying the patch:
   ```
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary:
   [INFO] 
   [INFO] Ambari Main 3.0.0.0-SNAPSHOT ....................... SUCCESS [  4.048 s]
   [INFO] Apache Ambari Project POM 3.0.0.0-SNAPSHOT ......... SUCCESS [  0.208 s]
   [INFO] Ambari Web 3.0.0.0-SNAPSHOT ........................ SUCCESS [01:05 min]
   [INFO] Ambari Views 3.0.0.0-SNAPSHOT ...................... SUCCESS [  1.407 s]
   [INFO] Ambari Admin View 3.0.0.0-SNAPSHOT ................. SUCCESS [  9.686 s]
   [INFO] ambari-utility 3.0.0.0-SNAPSHOT .................... SUCCESS [  2.118 s]
   [INFO] Ambari Server SPI 3.0.0.0-SNAPSHOT ................. SUCCESS [  0.890 s]
   [INFO] Ambari Service Advisor 1.0.0.0-SNAPSHOT ............ SUCCESS [  0.483 s]
   [INFO] Ambari Server 3.0.0.0-SNAPSHOT ..................... SUCCESS [05:08 min]
   [INFO] Ambari Functional Tests 3.0.0.0-SNAPSHOT ........... SUCCESS [  1.776 s]
   [INFO] Ambari Agent 3.0.0.0-SNAPSHOT ...................... FAILURE [  1.883 s]
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  06:36 min
   [INFO] Finished at: 2022-09-21T17:03:19+08:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.3:shade (shade-zkmigrator) on project ambari-agent: Error creating shaded jar: null: IllegalArgumentException -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
   [ERROR] 
   [ERROR] After correcting the problems, you can resume the build with the command
   [ERROR]   mvn <args> -rf :ambari-agent
   ```
   
   After applying the patch:
   ```
   [INFO] ------------------------------------------------------------------------
   [INFO] Reactor Summary:
   [INFO] 
   [INFO] Ambari Main 3.0.0.0-SNAPSHOT ....................... SUCCESS [  4.111 s]
   [INFO] Apache Ambari Project POM 3.0.0.0-SNAPSHOT ......... SUCCESS [  0.045 s]
   [INFO] Ambari Web 3.0.0.0-SNAPSHOT ........................ SUCCESS [01:06 min]
   [INFO] Ambari Views 3.0.0.0-SNAPSHOT ...................... SUCCESS [  1.227 s]
   [INFO] Ambari Admin View 3.0.0.0-SNAPSHOT ................. SUCCESS [ 10.230 s]
   [INFO] ambari-utility 3.0.0.0-SNAPSHOT .................... SUCCESS [  2.178 s]
   [INFO] Ambari Server SPI 3.0.0.0-SNAPSHOT ................. SUCCESS [  0.821 s]
   [INFO] Ambari Service Advisor 1.0.0.0-SNAPSHOT ............ SUCCESS [  0.422 s]
   [INFO] Ambari Server 3.0.0.0-SNAPSHOT ..................... SUCCESS [03:46 min]
   [INFO] Ambari Functional Tests 3.0.0.0-SNAPSHOT ........... SUCCESS [  1.480 s]
   [INFO] Ambari Agent 3.0.0.0-SNAPSHOT ...................... SUCCESS [ 15.564 s]
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD SUCCESS
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  05:29 min
   [INFO] Finished at: 2022-09-21T17:09:28+08:00
   [INFO] ------------------------------------------------------------------------
   ```


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

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [ambari] kevinw66 commented on pull request #3369: AMBARI-25735: Fix build failure on Ambari Agent due to maven-shade-plugin version

Posted by GitBox <gi...@apache.org>.
kevinw66 commented on PR #3369:
URL: https://github.com/apache/ambari/pull/3369#issuecomment-1253429374

   CI also looks good.
   +1 LGTM, thanks @timyuer 


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

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [ambari] kevinw66 merged pull request #3369: AMBARI-25735: Fix build failure on Ambari Agent due to maven-shade-plugin version

Posted by GitBox <gi...@apache.org>.
kevinw66 merged PR #3369:
URL: https://github.com/apache/ambari/pull/3369


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

To unsubscribe, e-mail: dev-unsubscribe@ambari.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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