hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14823) hadoop-dist build to verify that shell profiles are created
Date Fri, 01 Sep 2017 03:57:00 GMT

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

Allen Wittenauer commented on HADOOP-14823:
-------------------------------------------

The key problem is that they only get processed when -Pdist is activated.  Nothing in the
Hadoop personality keys off of -Pdist.  So there's probably a few things that need to happen:

* Yetus should probably have a generic package test.  In that test, -Pdist would get passed.
* verifying hadoop-dist in the pom.xml should also be tied to the dist profile, otherwise
it's going to false positive all the time

> hadoop-dist build to verify that shell profiles are created
> -----------------------------------------------------------
>
>                 Key: HADOOP-14823
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14823
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 3.0.0-beta1
>            Reporter: Steve Loughran
>            Priority: Minor
>
> HADOOP-14809 shows it's possible to break the shellprofile logic and not pick it up in
our automated tests.
> # It is possible to use an ant task or two in a POM to explicitly look for the expected
files and fail if any are missing.
> # Similarly, it is possible to count the # of shell profiles and fail if a new one arrives:
that forces the providers of new modules to keep test #1 up to date



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message