[
https://issues.apache.org/jira/browse/YARN-7530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Badger reopened YARN-7530:
-------------------------------
This change breaks branch-3.1 compilation if the .m2 directory is cleaned.
{noformat}
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' of POM
org.apache.hadoop:hadoop-yarn-services-api:[unknown-version]
(/Users/ebadger/apachehadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api/pom.xml)
points at org.apache.hadoop:hadoop-yarn-services instead of
org.apache.hadoop:hadoop-yarn-applications, please verify your project
structure @ line 19, column 11
[FATAL] Non-resolvable parent POM for
org.apache.hadoop:hadoop-yarn-services-api:[unknown-version]: Could not find
artifact org.apache.hadoop:hadoop-yarn-applications:pom:3.1.1-SNAPSHOT and
'parent.relativePath' points at wrong local POM @ line 19, column 11
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-gpg-plugin is missing. @ line 133, column 15
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project
org.apache.hadoop:hadoop-yarn-services-api:[unknown-version]
(/Users/ebadger/apachehadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api/pom.xml)
has 1 error
[ERROR] Non-resolvable parent POM for
org.apache.hadoop:hadoop-yarn-services-api:[unknown-version]: Could not find
artifact org.apache.hadoop:hadoop-yarn-applications:pom:3.1.1-SNAPSHOT and
'parent.relativePath' points at wrong local POM @ line 19, column 11 -> [Help 2]
[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/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
{noformat}
Here's the difference between branch-3.1 and trunk. The artifactId was updated
correctly in trunk, but not branch-3.1
{noformat}
diff --git
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api/pom.xml
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api/pom.xml
index 45168a9fbc4..d45da093102 100644
---
a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api/pom.xml
+++
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-api/pom.xml
@@ -18,8 +18,8 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.hadoop</groupId>
- <artifactId>hadoop-yarn-services</artifactId>
- <version>3.2.0-SNAPSHOT</version>
+ <artifactId>hadoop-yarn-applications</artifactId>
+ <version>3.1.1-SNAPSHOT</version>
</parent>
<artifactId>hadoop-yarn-services-api</artifactId>
<name>Apache Hadoop YARN Services API</name>
{noformat}
> hadoop-yarn-services-api should be part of hadoop-yarn-services
> ---------------------------------------------------------------
>
> Key: YARN-7530
> URL: https://issues.apache.org/jira/browse/YARN-7530
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: yarn-native-services
> Affects Versions: 3.1.0
> Reporter: Eric Yang
> Assignee: Chandni Singh
> Priority: Trivial
> Fix For: 3.2.0, 3.1.1
>
> Attachments: YARN-7530.001.patch, YARN-7530.002.patch
>
>
> Hadoop-yarn-services-api is currently a parallel project to
> hadoop-yarn-services project. It would be better if hadoop-yarn-services-api
> is part of hadoop-yarn-services for correctness.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]