You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2016/12/09 03:30:58 UTC
[jira] [Comment Edited] (HADOOP-13852) hadoop build to allow hadoop
version property to be explicitly set
[ https://issues.apache.org/jira/browse/HADOOP-13852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15734158#comment-15734158 ]
Akira Ajisaka edited comment on HADOOP-13852 at 12/9/16 3:30 AM:
-----------------------------------------------------------------
{quote}
Hi, I think this commit broke the TestRMWebServicesNodes.
Any ideas what caused the problem and how we can fix it?
{quote}
{code:title=hadoop-common-project/hadoop-common/pom.xml}
<!-- the version of Hadoop declared in the version resources; can be overridden
so that Hadoop 3.x can declare itself a 2.x artifact. -->
<declared.hadoop.version>${pom.version}</declared.hadoop.version>
{code}
The setting is in hadoop-common module, but I think the setting should be in hadoop-project module. hadoop-common module is not a parent of hadoop-yarn module, so the test cannot use the above setting.
was (Author: ajisakaa):
{quote}
Hi, I think this commit broke the TestRMWebServicesNodes.
Any ideas what caused the problem and how we can fix it?
{quote}
{code:hadoop-common-project/hadoop-common/pom.xml}
<!-- the version of Hadoop declared in the version resources; can be overridden
so that Hadoop 3.x can declare itself a 2.x artifact. -->
<declared.hadoop.version>${pom.version}</declared.hadoop.version>
{code}
The setting is in hadoop-common module, but I think the setting should be in hadoop-project module. hadoop-common module is not a parent of hadoop-yarn module, so the test cannot use the above setting.
> hadoop build to allow hadoop version property to be explicitly set
> ------------------------------------------------------------------
>
> Key: HADOOP-13852
> URL: https://issues.apache.org/jira/browse/HADOOP-13852
> Project: Hadoop Common
> Issue Type: New Feature
> Components: build
> Affects Versions: 3.0.0-alpha1, 3.0.0-alpha2
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Minor
> Fix For: 3.0.0-alpha2
>
> Attachments: HADOOP-13852-001.patch, HADOOP-13852-002.patch
>
>
> Hive (and transitively) Spark, won't start on Hadoop 3.x as the shim layer rejects Hadoop v3. As a workaround pending a Hive fix, allow the build to have the Hadoop version (currently set to pom.version) to be overridden manually.
> This will not affect version names of artifacts, merely the declared Hadoop version visible in {{VersionInfo.getVersion()}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org