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

Mohammad Arshad commented on AMBARI-26034:
------------------------------------------

# When tried to build ambari-logsearch, it failed with following error
{code:java}
mvn -B clean install rpm:rpm -DskipTests -Dpython.ver="python >= 2.6" -rf 
:ambari-logsearch
{code}
{code:java}
package:
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ambari-logsearch 2.7.8.0.0:
[INFO] 
[INFO] ambari-logsearch ................................... SUCCESS [  0.805 s]
[INFO] Ambari Logsearch Appender .......................... FAILURE [  1.029 s]
[INFO] Ambari Logsearch Config Api ........................ SKIPPED
[INFO] Ambari Logsearch Config JSON ....................... SKIPPED
[INFO] Ambari Logsearch Config Solr ....................... SKIPPED
[INFO] Ambari Logsearch Config Zookeeper .................. SKIPPED
[INFO] Ambari Logsearch Config Local ...................... SKIPPED
[INFO] Ambari Logsearch Log Feeder Plugin Api ............. SKIPPED
[INFO] Ambari Logsearch Log Feeder Container Registry ..... SKIPPED
[INFO] Ambari Logsearch Log Feeder ........................ SKIPPED
[INFO] Ambari Logsearch Web ............................... SKIPPED
[INFO] Ambari Logsearch Server ............................ SKIPPED
[INFO] Ambari Logsearch Assembly .......................... SKIPPED
[INFO] Ambari Logsearch Integration Test .................. SKIPPED
[INFO] ambari-infra ....................................... SKIPPED
[INFO] Ambari Infra Solr Client ........................... SKIPPED
[INFO] Ambari Infra Solr Plugin ........................... SKIPPED
[INFO] Ambari Infra Manager ............................... SKIPPED
[INFO] Ambari Infra Assembly .............................. SKIPPED
[INFO] Ambari Infra Manager Integration Tests ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.231 s
[INFO] Finished at: 2024-01-12T09:56:53Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (default) on project 
ambari-logsearch-appender: An Ant BuildException has occured: The following 
error occurred while executing this line:
[ERROR] /ws/ambari-2.7/ambari-logsearch/ambari-logsearch-appender/build.xml:35: 
/ws/ambari-2.7/ambari-logsearch/ambari-logsearch-appender/target/package does 
not exist.
[ERROR] around Ant part ...<ant antfile="build.xml">... @ 4:28 in 
/ws/ambari-2.7/ambari-logsearch/ambari-logsearch-appender/target/antrun/build-main.xml
[ERROR] -> [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-logsearch-appender
[user@id ambari-2.7]# 
{code}
# When I tried to build ambari-infra, it failed with following error
{noformat}
mvn -B clean install rpm:rpm -DskipTests -Dpython.ver="python >= 2.6" -rf 
:ambari-infra
{noformat}
{code:java}
[INFO] ambari-infra ....................................... SUCCESS [  0.751 s]
[INFO] Ambari Infra Solr Client ........................... SUCCESS [  5.505 s]
[INFO] Ambari Infra Solr Plugin ........................... FAILURE [  1.064 s]
[INFO] Ambari Infra Manager ............................... SKIPPED
[INFO] Ambari Infra Assembly .............................. SKIPPED
[INFO] Ambari Infra Manager Integration Tests ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.810 s
[INFO] Finished at: 2024-01-12T09:58:15Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ambari-infra-solr-plugin: Could not 
resolve dependencies for project 
org.apache.ambari:ambari-infra-solr-plugin:jar:2.7.8.0.0: Failed to collect 
dependencies at org.apache.solr:solr-core:jar:7.7.3 -> 
org.restlet.jee:org.restlet:jar:2.3.0: Failed to read artifact descriptor for 
org.restlet.jee:org.restlet:jar:2.3.0: The following artifacts could not be 
resolved: org.restlet.jee:org.restlet:pom:2.3.0 (absent): Could not transfer 
artifact org.restlet.jee:org.restlet:pom:2.3.0 from/to maven-restlet 
(https://maven.restlet.com): PKIX path validation failed: 
java.security.cert.CertPathValidatorException: validity check failed: NotAfter: 
Sun Nov 13 17:05:56 UTC 2022 -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :ambari-infra-solr-plugin
[user@id ambari-2.7]# 
{code}
# Same error is there in ambari release 2.7.7 also
# I have not checked exact root cause of the build failure, but irrespective of 
root cause of failure, these errors indicate that the interest in these 
sub-projects is very limited  otherwise these basic build errors would have 
been fixed. Also, as i mentioned in this jira description, these sub projects 
are already moved to separate repository. If there is some interest, next 
release should happen those new repository. 
# At this point in time, we should not remove the these sub project code from 
branch-2.7, instead just skip building by default. let the code be there as it 
was in release 2.7.7.
# Seeing the clean build gives confidence in the build. 



> Remove ambari-logsearch and ambari-infra from default build profiles
> --------------------------------------------------------------------
>
>                 Key: AMBARI-26034
>                 URL: https://issues.apache.org/jira/browse/AMBARI-26034
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Mohammad Arshad
>            Assignee: Mohammad Arshad
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> ambari-logsearch and ambari-infra are not maintained from long time.
> Also these projects are moved to following sub projects and have separate git 
> repository.
> https://github.com/apache/ambari-logsearch
> https://github.com/apache/ambari-infra
> Can not remove these codes from branch-2.7 at this point in time and I think 
> it is ok to not build these projects by default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to