hadoop-common-issues mailing list archives

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

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

Steve Loughran commented on HADOOP-14823:

I see, yes, I can make the test a Pdist profile option. FWIW, we could add more tests in ant,
but checking things like execute perms are beyond the scope of the java APIs, hence the tool.
Maybe the real test is to exec target$hadoop/bin/hadoop -version  and, if the native libs
were built, that they load

> 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

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

View raw message